ERC-8434 Agent Identity standard (AID) (Agent Identity (AID))
Draft · Accounts & wallets · created 2026-09-30
A standard that uses the blockchain address an autonomous agent uses as the anchor point for its identity, allowing anyone to re-verify on-chain whether the agent is alive and to check its reputation and behavioral record.
Why it is needed
ERC-8004 provides a registration file and reputation channel for an agent, but it does not define whether that agent is still alive and active, or how the registration content actually connects to the address generating its transactions. It also provides no way to combine trust signals of different natures, such as feedback, credit scores, audit results, on-chain financial behavior, and work history, into a single verifiable picture with a defined time window. Partial solutions exist, such as verification frameworks, wallet policies, or discovery records, but the identity object they would all need to rely on in common is missing. As a result, there is no standard way to determine whether an agent has stopped, whether its owner has changed, or whether an old credit score can still be trusted, nor is there any baseline for deciding whether to disclose sensitive financial behavior data.
What to implement
event Bound(address indexed anchor, address indexed registry, uint256 indexed agentId);: Notifies that an anchor has been bound to an agentId in a specific ERC-8004 registry.event Unbound(address indexed anchor, address indexed registry, uint256 indexed agentId);: Notifies that the binding between an anchor and an agentId has been removed.event Heartbeat(address indexed anchor, uint64 at);: Notifies that an anchor has sent a liveness signal and that lastSeen has been updated.event LivenessWindowSet(address indexed anchor, uint64 window);: Notifies that an anchor's liveness window value has been set.event DocumentURISet(address indexed anchor, string uri, bytes32 digest);: Notifies that an anchor's AID document URI and digest have been set.event FacetSet(address indexed anchor, bytes32 indexed facetType, bytes32 digest, uint64 validFrom, uint64 validUntil, uint8 access, string uri);: Notifies that a trust signal (digest, expiration, access mode, URI) for a specific facetType has been registered.event FacetCleared(address indexed anchor, bytes32 indexed facetType);: Notifies that the trust signal for a specific facetType has been deleted.event Retired(address indexed anchor, address successor);: Notifies that an anchor has retired, along with its designated successor address if one is recorded.function bind(address registry, uint256 agentId) external;: Binds the caller (the anchor) to the agentId of the specified ERC-8004 registry.function bindWithSig(address anchor, address registry, uint256 agentId, uint256 deadline, bytes calldata sig) external;: Uses an EIP-712 signature to let another party execute the binding on the anchor's behalf.function unbind() external;: Removes the current anchor's binding.function heartbeat() external;: Refreshes the anchor's liveness signal.function setLivenessWindow(uint64 window) external;: Sets the length of the anchor's liveness window (0 resets it to the default).function setDocumentURI(string calldata uri, bytes32 digest) external;: Sets the anchor's AID document URI and digest.function setFacet(bytes32 facetType, bytes32 digest, uint64 validFrom, uint64 validUntil, uint8 access, string calldata uri) external;: Registers a trust signal, expiration, and access mode for a specific facetType.function clearFacet(bytes32 facetType) external;: Deletes the trust signal for a specific facetType.function retire(address successor) external;: Permanently retires the anchor and allows a successor address to be designated.function bindingOf(address anchor) external view returns (Binding memory);: Looks up the anchor's current binding information (registry, agentId, binding timestamp).function anchorOf(address registry, uint256 agentId) external view returns (address);: Looks up the anchor address bound to a specific registry and agentId.function state(address anchor) external view returns (State);: Looks up the anchor's on-chain state (DORMANT/ACTIVE/STALE/RETIRED).function lastSeen(address anchor) external view returns (uint64);: Looks up the timestamp of the anchor's last liveness signal.function livenessWindow(address anchor) external view returns (uint64);: Looks up the liveness window value set for the anchor.function defaultLivenessWindow() external view returns (uint64);: Looks up the registry's default liveness window value.function maxLivenessWindow() external view returns (uint64);: Looks up the maximum liveness window value the registry allows.function documentURI(address anchor) external view returns (string memory uri, bytes32 digest);: Looks up the anchor's AID document URI and digest.function getFacet(address anchor, bytes32 facetType) external view returns (Facet memory);: Looks up a specific anchor's data for a specific facetType.function facetTypesOf(address anchor) external view returns (bytes32[] memory);: Looks up the full list of facetTypes registered by an anchor.function isRetired(address anchor) external view returns (bool);: Looks up whether an anchor has retired.function successorOf(address anchor) external view returns (address);: Looks up the successor address designated by a retired anchor.function nonces(address anchor) external view returns (uint256);: Looks up the anchor's current signature nonce value (for bindWithSig replay prevention).
In depth
Identifier and chain scope
An AID is a (namespace, chainId, address) tuple. Its standard string form is a CAIP-10 account ID, eip155:{chainId}:{address}, where address uses ERC-55 checksum format. Two representations that differ only in letter case are treated as the same AID. The anchor is the address portion and may be either an EOA or a contract account. An AID is chain-specific, so the same address on a different chain is a distinct AID. alsoKnownAs can link AIDs across different chains, but this is only recognized as confirmed when both documents point to each other; if only one side points to the other, it is treated as unconfirmed and the profiles cannot be merged. The DID form is did:aid: followed by the CAIP-10 string, and neither form is stored on-chain.
Four states and the computation rule
An AID is in one of four states: DORMANT (no binding, the default), ACTIVE (bound and all liveness conditions met), STALE (bound but one or more conditions failing, recoverable), or RETIRED (retire has been called, irreversible). The on-chain state is computed in order: RETIRED if retire has been called; DORMANT if there is no binding; otherwise ACTIVE only if ownerOf(agentId) succeeds, ownerOf or getAgentWallet equals the anchor, and lastSeen+livenessWindow is at or after the current time; otherwise STALE. A resolver may additionally factor in the active:false flag from the ERC-8004 registration file to downgrade to STALE, but must not report ACTIVE when the on-chain state is STALE, DORMANT, or RETIRED.
ERC-8004 binding and takeover
An AID may be bound to at most one (identityRegistry, agentId), and vice versa, with the registry enforcing bidirectional uniqueness. bind/bindWithSig requires that the caller be the anchor itself or hold an EIP-712/ERC-1271 signature, that the anchor not be retired, and that the binding predicate hold for the target agentId, meaning ownerOf==anchor or getAgentWallet==anchor. Using the agent's agentWallet as the anchor is recommended. Even if the target agentId is already bound to a different anchor, if that binding's predicate no longer holds, the registry unbinds the existing binding (Unbound) and binds the new caller within the same transaction. If the predicate still holds, it reverts with AgentAlreadyBound. This authority interval is not stored on-chain and must be reconstructed from the event log; this reconstruction is only possible if the registry emits MetadataSet without exception on every agentWallet change.
Registry interface rules
A contract implementing IAIDRegistry must support interface ID 0x72750a54 via ERC-165. Every write function called by an anchor must update lastSeen to the current block timestamp and emit Heartbeat. After retire, all write calls from that anchor must revert with AIDRetired, and retire itself emits Retired after removing the existing binding. setLivenessWindow(0) resets to the default, and a nonzero value must not exceed maxLivenessWindow. Both limits are fixed at deployment, and the registry has no owner or admin privileges. Only a single standard AID registry is recognized per chain, specified outside the specification itself (in the Reference Implementation section).
AID document and facet structure
The AID document is an off-chain JSON pointed to by documentURI; after normalizing it with JCS (RFC 8785), its keccak256 hash must match the on-chain digest, and if they do not match, the resolver discards the document. The required fields are version, aid, and facets; binding, alsoKnownAs, livenessWindow, and commitmentLog are optional. Each facet consists of facetType, provenance (SELF/OBSERVED/ATTESTED/PROVED), issuer, validUntil (required), the optional validFrom, subjectWindow, committedAt, supersedes, finality, finalizeBy, and digest, access, and resolver. A facet with provenance SELF is recommended to also be recorded on-chain via setFacet, and the on-chain digest takes precedence. supersedes can replace a previous facet, and a superseded facet is no longer read as the current value even within its validity period, remaining only as history.
Provenance class
Every facet must declare one of four provenance classes. SELF is authored by the anchor itself, guaranteeing only integrity, not the truth of the content. OBSERVED is a value anyone can recompute from on-chain events using an algorithm fixed by an ERC-8419 scheme hash. ATTESTED is issued by a third-party issuer via ERC-8419's attest, carrying issuer liability. PROVED is a value a prover has cryptographically proven about a commitment via attestWithProof. A facet that claims to be OBSERVED without a fixed scheme hash must be treated as SELF. Timing is an axis separate from provenance: committedAt can prove the point in time at which a facet's digest was committed to a clock the issuer does not control (a block, RFC 3161, OpenTimestamps).
Validity periods and access modes
Every facet must have a validUntil, past which it cannot be treated as a current value and remains only as history. validUntil, subjectWindow, and supersedes are independent values: validUntil indicates how long a facet is valid, subjectWindow indicates what it is a claim about, and supersedes indicates whether the issuer itself ended this claim earlier. Credit-like facets or assertions without a finite validUntil/expiresAt must be ignored. There are three access modes: PUBLIC (on-chain digest, off-chain plaintext), GATED (on-chain digest, plaintext disclosed only to approved counterparties), and ZK (on-chain commitment, proving only a predicate without plaintext); sensitive financial-behavior facets such as aid:finance/observed/v1 use ZK mode by default.
Resolution procedure
The resolver takes a chain ID and an anchor, reads status and binding information from the registry, and if the status is RETIRED, reports only the successor address and does not attribute any subsequent activity to this AID. If a binding exists, it reads the ERC-8004 registration file to reflect whether active:false is set, and reconstructs the anchor's authority interval from registry events. After verifying the AID document's digest and aid field, it filters out facets missing a validity period or SELF facets with a mismatched on-chain digest, and classifies facets replaced via the supersedes chain as history. Evidence identified by agentId is attributed to this AID only if observed within the authority interval; evidence outside the interval is reported as unattributable. This ERC is in Draft status, written in September 2026, and remains a proposal that may still change or be withdrawn.
Things to watch out for
- Sybil reviewers and self-assessment: Because anyone can leave ERC-8004 feedback, resolvers should weight reviewers by their own AID status (ACTIVE > STALE > DORMANT/RETIRED) and history, and credit-scheme issuers should discount counterparties that are unbound, mutually related, or bound to another agent owned by the same owner.
- Gaps in evidence attribution: While the binding predicate is false, someone else may control the agent, yet feedback and verification results keyed on agentId continue to accumulate. The authority interval rule excludes this evidence from the reinstated anchor's profile; a resolver that skips interval reconstruction attributes the evidence incorrectly.
- Timestamps only prove existence: A committedAt proof only shows that certain bytes existed at a given point in time; it does not prove that the issuer did not simultaneously commit to multiple conflicting claims and withhold the disclosure of all but the correct one. A reader who wants to trust a pre-outcome claim should require a commitment log and follow it to the anchored head to confirm that only a single entry exists for that key.
- Hidden supersession: Because the AID document is managed by the subject itself, it can omit an unfavorable supersession. Such a supersession can only be discovered through a commitment log declared by the issuer, and a supersedes claimed by a different issuer is never recognized.
- Takeovers and successor anchors do not merge history: Even if a binding transfers to a different address, or a retired anchor designates a successor address, the prior anchor's facets, intervals, and feedback are not mixed into the new anchor. Without this rule, a successor anchor would inherit reputation it never earned or be held liable for conduct it had no part in.