project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

MOSAIC

We are building a modular framework to help AI agents evolve over time.

Project Description

Mosaic is a modular framework that enables AI agents to evolve over time through tokenized ownership and programmable execution. We are using the ERC6551 token-bound accounts standard for our agents. Each agent exists as a unique NFT with its own on-chain account that can own assets, execute transactions, and maintain persistent state.

Our framework enables agents to:

  • Maintain persistent identity and state across interactions
  • Own and manage digital assets independently
  • Execute transactions based on evolving intelligence models
  • Transfer ownership while preserving agent history and capabilities (modules are held by agent, not owner)
  • Interact with other on-chain and off-chain entities through standard interfaces

Each agent can then be updated and upgraded with additional "modules". Modules are standard ERC721 NFTs that can be held in an agent's wallet. Each module is mapped to a certain trait or ability: emotions, data feeds, speedups, just to name a few. New modules may be created, minted, and attached to our agents at any time in the future. Our open standard makes it completely future proof and infinitely scalable.

We understand that regular users may be turned off by the idea of connecting directly with the on-chain contracts. As such, we have also built a platform around this as well. Our platform allows anyone to mint new agents, and well as attach modules to them. We also provide inference in the form of web UI and APIs. Even with zero programming experience, our users can build powerful agents that have theoretically limitless capabilities.

How it's Made

We constructed Mosaic using a layered architecture approach, building from core token standards to a complete platform: Blockchain Layer Implemented the ERC6551 token-bound accounts standard in Solidity, allowing NFTs to own their own on-chain accounts Created the MosaicAccount contract, which extends ERC6551 with custom execution logic for agent actions Developed the MosaicAI contract as an ERC721 collection that represents our AI agents Designed a factory pattern (MosaicFactory) to streamline agent creation and account deployment Module System Established a composable framework where each capability is represented as an ERC721 token Created a module registry and resolver system to map module tokens to specific functions Implemented secure execution patterns that verify module ownership before allowing capability access Platform Layer Built a web application using React that connects to our smart contracts via ethers.js Integrated AI inference capabilities via backend services that interact with tokenized agents Developed a user-friendly interface for minting and managing agents without blockchain expertise Created API endpoints that expose agent capabilities to external applications Development Process Used Foundry for smart contract development, testing, and deployment Implemented comprehensive test suites for each contract component Deployed to EVM-compatible networks with a focus on gas optimization Structured the codebase for upgradability using proxy patterns where appropriate This composable, standards-based approach allows Mosaic to serve as an extensible foundation for AI agent evolution that's secure, interoperable, and future-proof.

background image mobile

Join the mailing list

Get the latest news and updates