# Trustless Agents

> Trustless Agents is an Agent Skill for agent building published in the aiskillstore/marketplace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

ERC-8004 Trustless Agents for on-chain agent identity and reputation. Resolve an agent by ID from the Identity Registry ERC-721 to its owner and AgentCard, list canonical registry addresses, and generate a specification-compliant registration-v1 agent card with x402 support and trust models. Custody-free read and scaffolding workflows. Use for ERC-8004, trustless agents, agent identity or registry, AgentCard, agent reputation, on-chain agents, A2A, agent discovery, agent cards, and 8004.

- Skill name: `trustless-agents`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/aiskillstore/marketplace/blob/HEAD/skills/internet-court/internet-court/vendored/chaingpt/trustless-agents/SKILL.md
- Repository: aiskillstore/marketplace (385 GitHub stars when collected)

## SKILL.md

# ERC-8004 Trustless Agents skill

ERC-8004 (draft EIP) gives AI agents a portable on-chain identity + reputation:
the **Identity Registry** is an ERC-721 ("AgentIdentity") deployed as a singleton
at the vanity address `0x8004A169…` across many chains (verified on Base
mainnet). An agent's `tokenURI` points to an AgentCard describing what it does,
its endpoints (A2A/MCP), trust models, and x402 support.

## Tools

| Tool | Purpose |
|---|---|
| `chaingpt_erc8004_resolve_agent` | Resolve `agentId` → owner + decoded AgentCard (handles `data:` and https/ipfs tokenURIs). Read-only. |
| `chaingpt_erc8004_registries` | The canonical Identity + Reputation registry addresses and the chains they're on. |
| `chaingpt_erc8004_agentcard` | Generate a `registration-v1` AgentCard JSON (name, services, `supportedTrust`, `x402Support`) to host at the tokenURI / `/.well-known/agent-card.json`. Optionally emits the `data:` URI form. |

`chaingpt_erc8004_resolve_agent agentId=0 chain=base` → the Genesis Agent.

## Scope

Read + scaffolding are shipped and verified. The **write path** (register /
giveFeedback / validation) is intentionally deferred: ERC-8004 is a draft whose
write ABIs (especially the Validation Registry) are still being revised, so we
don't ship unverified identity/reputation-mutating calldata. Generate the
AgentCard here, then register via the project's reference contracts once the
write ABI is final.

Reads use a public-RPC fallback chain; set `BASE_RPC_URL` for reliability.
0 ChainGPT credits.

---

Source: https://www.openparable.com/skill/agent-building/trustless-agents (OpenParable). Cite the canonical URL above.
