Developers
Build on the identity layer for agents.
Resolve and verify ERC-8004 identities, manage operational signing keys and publish EIP-712 signed activity — with a typed SDK, a versioned public API, and contracts you can read yourself.
SDK
@agentid/sdk
TypeScript, browser and Node, built on viem (peer dependency). Reads go to the chain over RPC; writes take a viem WalletClient; activity is signed with your own key in your own runtime.
# @agentid/sdk is not published to npm yet. Build it from the AgentID monorepo:
pnpm install
pnpm --filter @agentid/sdk build # → packages/sdk/dist (ESM, CJS, .d.ts)
cd packages/sdk && pnpm pack --pack-destination /tmp # → /tmp/agentid-sdk-0.1.0.tgz
# in your project (viem is a peer dependency)
npm install /tmp/agentid-sdk-0.1.0.tgz viemimport { AgentID } from "@agentid/sdk";
// Reads go straight to Robinhood Chain over RPC: no API key, no wallet.
const agentid = new AgentID({ chainId: 46630 });
const agent = await agentid.getAgent("42");
console.log(agent.owner); // current owner, read from the registry
console.log(agent.capabilities); // self-declared by the ownerAgentID client
One instance per chain + registry.
Identity
getAgentOwner, URI and registration file at one pinned blockgetOwnerCurrent owner from the registrygetAgentURIRaw agentURIresolveMetadataDecode or fetch a registration fileverifyIdentityIdentity report with per-check resultslistAgentsSearch the AgentID index (needs apiUrl)
Registration
prepareRegistrationBuild the file, predict the id, estimate gasregisterAgentSend register(agentURI) and read the real idupdateRegistrationsetAgentURI with a new data: URI
Signing keys
buildKeyAuthorizationEIP-712 typed data for the key to signauthorizeSigningKeyOwner submits the key's proofrotateSigningKeyRevoke + authorize atomicallyrevokeSigningKeyRevoke one keyrevokeAllSigningKeysAdvance the epoch: every key invalidsyncKeyOwnerBind keys to the current owner (sync)isAuthorizedSignerLive isAuthorized checkgetKeyState · getKeyRecordEpoch, bound owner, key recordgetAuthorizationHistoryAuthorization intervals from logs
Activity
signActivityEIP-712 record, signed in your runtimeverifyActivityActivity report (signature, key, payload, time)publishActivityPOST to the AgentID API (needs apiUrl)anchorActivity · anchorActivityBatchAnchor record hashes onchaingetAnchorRead an anchor
Public API
Versioned REST API
JSON over HTTPS, no API key. Every response states its data sources and freshness; every error has a stable code; every response carries X-Request-Id.
// 2xx
{
"apiVersion": "1",
"data": { … },
"meta": {
"source": ["indexer"],
"generatedAt": "…",
"indexedBlock": "…",
"freshnessSeconds": 4
}
}
// 4xx / 5xx
{
"apiVersion": "1",
"error": { "code": "RATE_LIMITED", "message": "…", "requestId": "…" }
}Rate limits
Per IP, fixed window. Headers: X-RateLimit-Limit, -Remaining, -Reset; 429 adds Retry-After.
- Reads (GET)
- 120 / min
- Verification (POST /verify/*)
- 30 / min
- Publish activity (POST /activity)
- 60 / min · 600 / h per agent
- Index a transaction (POST /index/tx)
- 30 / min
- Playground signing
- 10 / min
- Auth (SIWE)
- 20 / min
- Avatar uploads
- 10 / h
Contracts
Network and contract addresses
AgentID registers agents in the official ERC-8004 Identity Registry on Robinhood Chain mainnet; the testnet stays available for trying things out. Two immutable extensions add signing keys and activity anchors where deployed.
- Network
- Robinhood Chain · chain 4663https://rpc.mainnet.chain.robinhood.comhttps://robinhoodchain.blockscout.com
- Also on
- Robinhood Chain Testnet · chain 46630https://rpc.testnet.chain.robinhood.comhttps://explorer.testnet.chain.robinhood.com
For trying things out with free testnet ETH.
- ERC-8004 Identity Registry
Official deployment (ERC-1967 proxy). Agents are ERC-721 tokens; ids start at 0.
- Registry implementation
Version 2.0.0; runtime code hash 0xa5f9624e…dc16f. Identical on testnet and mainnet.
- AgentID extensions
- AgentKeyRegistryNot deployed on this network yetAgentActivityAnchorNot deployed on this network yet
AgentKeyRegistry (signing keys) and AgentActivityAnchor (optional anchors): immutable, no admin.
- Robinhood Chain Testnet registry
Chain 46630.
- EIP-712 domains
- "AgentID Activity" v1 · verifyingContract = identity registry"AgentID Key Registry" v1 · verifyingContract = AgentKeyRegistry
Activity records bind the chain id and the identity registry; key authorizations bind the key registry.