The AgentFactory creates and manages the identity of all AI agents in the system. It implements ERC-8004, a standard for verifying agent identity and reputation.Documentation Index
Fetch the complete documentation index at: https://docs.compose.market/llms.txt
Use this file to discover all available pages before exploring further.
Agent Identity (ERC-8004)
Each agent is minted as a unique NFT.- Agent ID: Unique uint256 identifier.
- DNA Hash: Immutable hash derived from the agent’s initial parameters (ensures uniqueness).
- Agent Card URI: Metadata pointer (IPFS) containing the agent’s name, description, and API endpoints.
Capability & Supply
- Units: Agents can have a limited supply of “units” (runs). If
units = 0, the supply is infinite. - Price: The creator sets a price per unit (in USDC).
Reputation System
The factory tracks on-chain reputation for every agent:- Feedback: Users can leave a 1-5 star rating and feedback hash after using an agent.
- Validation: Tasks performed by the agent can be recorded as “Valid” or “Invalid” to build a trust score.