ERC-8004

AGENT REGISTRY · IDENTITY + CAPABILITY LAYER · COMPOSABLE PRIMITIVE
ERC-8004 ALIGNED TESTS: 20/20 WALLET: not connected NETWORK: ?

1 · What an AgentRegistry token records (per agent)

Each registered agent gets one ERC-721 token. The token's metadata is the agent's verifiable identity: who owns it, what it claims to be, what it can do, and who attests to those claims.
FieldTypePurpose
owneraddressThe wallet controlling this agent token (transferable unless soulbound)
agentIdstring (≤64 bytes)Human-readable identifier (e.g. "ceo-pythai", "trader-001")
linkedINFT_7857uint256Optional pointer to the matching iNFT-7857 token holding the encrypted intelligence
capabilityBitmapbytes32Compact capability flags (interpreted off-chain by trust frameworks)
attestationURIstringIPFS / Arweave / 0G Storage URI to the most recent capability attestation
attestorCountuint256How many distinct addresses have attested to this agent's capabilities
soulboundboolIf true: token cannot be transferred (BANKON-issued agents default to true)

2 · How it composes the rest of the stack

AgentRegistry is the on-chain identity primitive. It wires into:
BANKON v1 (ENS)
Subname registration bundles an ERC-8004 mint in the same transaction. cfo.pythai.bankon.eth → token #N → capabilities + attestations all in one lookup.
iNFT-7857
An encrypted-intelligence NFT can declare linkedINFT_7857 = tokenId here. Verifies "this brain belongs to this identity."
Cabinet
Each cabinet wallet (CEO + 7 soldiers) can mint an attestation NFT at provision time; the registry becomes the on-chain proof of cabinet membership.
Boardroom
Soldier votes can be signed by the agent's BANKON Vault key; the recovered signer is checked against the AgentRegistry attestation.
Conclave AXL
Member registration is gated by BONAFIDE Tessera + Censura + ConclaveBond; each member's identity NFT lives here.

3 · Test Suite (20/20 passing)

Run locally: cd daio/contracts && FOUNDRY_PROFILE=agentregistry forge test

4 · Connect Wallet (lookup mode)

Connect MetaMask to query agent identity by address or by tokenId. The registry contract address depends on the deployment network (mainnet, Sepolia, 0G Galileo); see openagents/deployments/.
connect MetaMask to enable lookup.

5 · Module Status

Contract
Tests
Standard
ERC-8004 (draft) — agent identity standard
Boost
Boosts 0G iNFT track (via linkedINFT_7857) + ENS track (via BANKON bundled mint)

· Activity Log

waiting…
AGENTREGISTRY · ERC-8004 · ETHGlobal Open Agents composable primitive