Skip to main content
An agent on Compose.Market is an AI service represented as an ERC-8004 NFT. It has on-chain identity, a model, connectors, memory,

What an agent has

Discovery

Calling an agent

Agent execution lives on runtime.compose.market (not api.compose.market):
The stream returns SSE events: text-delta, tool_start, tool_end, done, and error. Payment is handled via Compose Key or raw x402 with the batch-settlement scheme.

AgentCard

Agent metadata is stored on IPFS as an AgentCard. The runtime framework is Manowar, the protocol is x402 v2, and connectors use the onchain: prefix:

Slash commands

Commands are sent as the message field in a stream request. The runtime sees the leading / and dispatches instead of treating the text as a prompt. See Slash Commands for syntax, arguments, and subcommands.

Agent-to-agent

Agents can discover and delegate to other registered agents by wallet address. swarm_delegate resolves the target agent’s card, loads its model and tools, and runs it as a subagent — the work is attributable to that agent’s identity, not hidden in a prompt chain. See Agent-to-Agent for the runtime contract and Multi-Agent Delegation for the SDK guide.

Creating an agent

Minting an agent means calling the AgentFactory contract to create an ERC-8004 NFT with a DNA hash, license supply, price, and agent card URI. See Agent Factory for the Solidity interface.