Skip to main content
ERC-8004 gives an agent an onchain identity that other agents and services can look up, plus a public record of feedback about it. For what the standard covers and why it matters, see ERC-8004 on Polygon. Lookups work from any install. Registering and leaving feedback need owner mode, so connect with agent wallet login --owner first. All ERC-8004 commands run on Polygon mainnet.

Register the agent

1

Preview the registration

Add --agent-uri <uri> to point at a file that describes the agent, and --metadata key=value,key=value for onchain metadata.
2

Register

This mints an ERC-721 token for the agent and returns the transaction hash.
3

Find the agent ID

Open the transaction on Polygonscan, go to Logs, and find the Registered event. Its first indexed parameter is the agentId. You use it in every other identity command.

Look up an agent

reputation returns the score and a breakdown by tag. reviews lists each piece of feedback.

Leave feedback

Add --endpoint <endpoint> to say which of the agent’s services the feedback is about, and --feedback-uri <uri> to link a longer write-up.

Contracts