Skip to content

Trust Actions

Agents that pay other agents need a reason to trust them. These actions wrap the ERC-8004 identity and reputation stack so the agent itself can establish identity, vet a counterparty, and record how an interaction went.

Registration and feedback are gas-sponsored — the agent pays nothing.

Mint the agent’s on-chain ERC-8004 identity (an NFT bound to its wallet). Idempotent: if the agent already has one, returns the existing token.

ArgumentTypeDescription
chainstringOptional. Chain to register on (defaults to the agent’s configured chain).

Before paying another agent, look it up.

ArgumentTypeDescription
targetAgentIdstringThe agent to check.

Returns a composite score (0–100), a confidence level, and the basis (how much on-chain feedback backs the score) — enough for the LLM to decide “pay, negotiate, or walk away.”

After an interaction, record the outcome on-chain.

ArgumentTypeDescription
targetAgentIdstringThe agent being rated.
valuenumber+100 positive or -100 negative.
tagsstring[]Optional. Short labels, e.g. ["fast", "accurate"].

Feedback is what makes check_agent_reputation meaningful for the next payer — close the loop.