---
name: Trustless Agents
slug: trustless-agents
category: AI Engineering
description: Trustless Agents resolves an ERC-8004 agent by ID to its owner and AgentCard, lists canonical identity and reputation registry addresses, and scaffolds a spec-compliant registration-v1 AgentCard with x402 support and trust models. Use it when building or discovering on-chain agent identity, reputation, or discovery flows.
github: "https://github.com/internet-court/internet-court-skill/tree/main/vendored/chaingpt/trustless-agents"
language: TypeScript
stars: 2970
forks: 68
install: "npx degit https://github.com/internet-court/internet-court-skill/tree/main/vendored/chaingpt/trustless-agents ~/.claude/skills/trustless-agents"
installs_to: ~/.claude/skills/trustless-agents
source_path: vendored/chaingpt/trustless-agents/SKILL.md
collection_size: 25
category_size: 2451
collection_url: "https://dirskills.com/collections/internet-court/internet-court-skill"
added: 2026-08-17T07:09:53.139Z
last_synced: 2026-08-17T07:09:53.139Z
canonical_url: "https://dirskills.com/skills/trustless-agents"
---

# Trustless Agents

Trustless Agents resolves an ERC-8004 agent by ID to its owner and AgentCard, lists canonical identity and reputation registry addresses, and scaffolds a spec-compliant registration-v1 AgentCard with x402 support and trust models. Use it when building or discovering on-chain agent identity, reputation, or discovery flows.

**Install:**

```bash
npx degit https://github.com/internet-court/internet-court-skill/tree/main/vendored/chaingpt/trustless-agents ~/.claude/skills/trustless-agents
```

## README

# 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.
