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.
register_identity
Section titled “register_identity”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.
| Argument | Type | Description |
|---|---|---|
chain | string | Optional. Chain to register on (defaults to the agent’s configured chain). |
check_agent_reputation
Section titled “check_agent_reputation”Before paying another agent, look it up.
| Argument | Type | Description |
|---|---|---|
targetAgentId | string | The 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.”
give_agent_feedback
Section titled “give_agent_feedback”After an interaction, record the outcome on-chain.
| Argument | Type | Description |
|---|---|---|
targetAgentId | string | The agent being rated. |
value | number | +100 positive or -100 negative. |
tags | string[] | Optional. Short labels, e.g. ["fast", "accurate"]. |
Feedback is what makes check_agent_reputation meaningful for the next payer
— close the loop.