ERC-8406 Fungible agent equity token (Fungible Agent Tokens)
Draft · Vaults & DeFi · created 2026-09-01
A standard that makes an AI agent an independent economic entity: it issues its own equity, acts autonomously within a defined scope, and records the rationale for every action on-chain.
Why it is needed
AI agents are increasingly moving real funds on-chain through trading, staking, lending, and more, but there is no standard that treats the agent itself as a single economic entity. Vaults that pool funds and divide them into shares are already standardized, but how an agent interacts with external protocols and how it records the rationale for its decisions on-chain has been left to each project to implement separately. As a result, wallets, indexers, and auditors each have to analyze a different scheme per agent, and investors have no standardized way to verify why an agent made a given decision, making trust hard to establish.
What to implement
function acceptToken() external view returns (address);: Returns the address of the single ERC-20 (Accept Token) received on purchase and paid out on redemption.function shareToken() external view returns (address);: Returns the address of the ERC-20 token contract that represents the Share.function requestMint(uint256 amount) external;: Deposits amount of Accept Token and adds it to the caller's pending mint request.function mint(address user) external returns (uint256 shares);: Mints and pays out all of user's settled shares; anyone can call this, but the proceeds always go to user.function settleMint(address requester, bytes32 reasoningHash, string calldata reasoningURI) external;: The Executor settles part, all, or none of requester's pending mint request, finalizing the share quantity and recording the reasoning.function queryMintStatus(address user) external view returns (uint256 pendingAssets, uint256 claimableShares);: Queries user's pending deposit (pendingAssets) and claimable settled shares (claimableShares).function requestRedeem(uint256 shares) external;: Escrows shares and adds them to the caller's pending redemption request.function redeem(address user) external returns (uint256 tokens);: Pays out all of user's settled Accept Token; anyone can call this, but the proceeds always go to user.function settleRedeem(address requester, bytes32 reasoningHash, string calldata reasoningURI) external;: The Executor settles requester's pending redemption request, finalizing the payout amount, burning the settled shares, and recording the reasoning.function queryRedeemStatus(address user) external view returns (uint256 pendingShares, uint256 claimableTokens);: Queries user's pending escrowed shares (pendingShares) and claimable settled tokens (claimableTokens).function exchangeRate() external view returns (uint256 rate);: Returns the current valuation exchange rate, converted to Accept Token per 1e18 units of share.function agentURI() external view returns (string memory);: Returns a URI pointing to the off-chain metadata that describes the agent.function setAgentURI(string calldata uri) external;: Callable only by the Owner; updates the Agent URI.function setExecutor(address account, bool enabled) external;: Callable only by the Owner; activates or deactivates account as an Executor.function owner() external view returns (address);: Returns the current address holding Owner authority.function isExecutor(address account) external view returns (bool);: Returns whether account is currently activated as an Executor.function isInScope(address target, uint256 value, bytes calldata data) external view returns (bool);: Determines whether an execute call with target, value, and data falls within the execution scope (Scope) set by the Owner.
In depth
Three roles: Owner, Executor, Holder
FAT defines only three roles: Owner, Executor, and Holder. The Owner acts as a constitution-maker, appointing or revoking Executors, managing the Agent URI, and setting the execution scope (Scope) for execute. The Executor is the channel that settles requests via settleMint and settleRedeem and executes the agent's will on-chain via execute; within the isInScope range, it holds effectively unlimited authority over all assets and approvals the agent holds. The Holder is the role that holds shares and may trade them depending on the implementation. Opening a request can only be done by anyone using their own funds, and claiming is a permissionless crank that anyone can call on another's behalf, but payment always goes to the requester themselves.
Attaching reasoning
Every agent action, including settleMint, settleRedeem, and execute, must be submitted together with a bytes32 reasoningHash and a string reasoningURI. The reasoningHash must be nonzero and must exactly match the keccak256 of the byte content that reasoningURI points to, and reasoningURI must actually be resolvable at that time. Post hoc disclosure is not supported. The document is recommended to be UTF-8 JSON carrying the schema fat-reasoning/1 marker, and detailed fields such as model, prompt, and trace are left to implementers to define. This record is merely a tamper-detection device proving the content has not changed; it is not a guarantee that the actual action followed that reasoning.
The two-stage flow for share minting
requestMint(amount) pulls exactly amount of the caller's Accept Token, adds it to the pending deposit, and emits MintRequested. The Executor then calls settleMint to finalize part, all, or none of the pending amount as a share quantity. Finalizing at zero is an explicit rejection or deferral, and it is itself an action that leaves a reasoning record. The pricing and fee formula is left to implementers, but since the quantity is computed by the contract logic rather than the caller, the Executor cannot mint an arbitrary amount. mint(user) is a permissionless crank that anyone can call; it pays out all of user's settled shares, resets it to zero, and pays out the already settled quantity as is, with no slippage guard.
Share redemption and reclaim-or-disclose
requestRedeem(shares) escrows the shares and adds them to the pending redemption request, and the Executor's settleRedeem finalizes part, all, or none of it while burning the settled shares. If the agent has deployed funds into an external protocol and lacks the liquidity to redeem immediately, it may defer settlement, but to keep holders from being left stranded with no recourse, the agent must do one of two things. It must either provide a reclaim path that lets the requester directly recover their pending deposit or escrowed shares once a disclosed deadline has passed, or state none in the Agent URI's reclaim field to disclose that the request is irrevocable.
exchangeRate is not a price forecast
exchangeRate() is a valuation reference value that returns the Accept Token value per 1e18 units of share as an 18-decimal fixed-point number. For a fixed-price agent this value can stay constant, while for a NAV-based agent it can change over time. However, this value does not guarantee the price at which an actual mint or redeem will settle. The actual executed quantity and price are finalized at settlement time and must be queried via queryMintStatus and queryRedeemStatus.
execute and the Scope gate
execute can only be called by the Executor, DELEGATECALL is prohibited, and dispatch must always use the CALL opcode. The value is paid from the agent's own balance, if the call fails the revert data is passed through unchanged, and an Executed event is emitted only on success. Above all, execute must check isInScope(target, value, data) before the call and revert if it returns false. The specific policy that isInScope expresses is left to implementers, but the authority to set that policy must belong solely to the Owner, and the Executor role itself cannot change the Scope.
Agent URI metadata
agentURI() points to an off-chain JSON document containing the agent's name, description, image, and so on, and setAgentURI can only be called by the Owner. The source specifies that it plays a role similar to ERC-721's tokenURI, but serves a separate purpose from the identically named agentURI used by ERC-8004. The document may use any one of the ipfs, https, ar, or data schemes, and consumers must accept any of them. Because this is untrusted input that the Owner can change at any time, consumers are recommended to also display the change history via the AgentURIUpdated event.
Standard status
ERC-8406 is currently in Draft status, a proposal still under community discussion and revision. The source states that the official ERC-165 interface ID for the IAgent interface will also be finalized once this document moves out of Draft, so the details may still change.
Things to watch out for
- Reentrancy risk: Because execute calls untrusted external code, reentrancy is the biggest risk this standard introduces. There is a security recommendation to apply reentrancy guards or the checks-effects-interactions pattern to user-facing state-changing functions such as requestMint, mint, requestRedeem, redeem, execute, and administrative setter functions, but it is not a mandatory requirement.
- The Executor holds effectively unlimited authority: Because execute places no further restrictions on the target or data beyond the Scope (isInScope) set by the Owner, the Executor holds effectively unlimited authority over all assets and approvals the agent holds. Holders and requesters ultimately have to trust how the Executor operates.
- The reasoning record is evidence, not a guarantee: reasoningHash and reasoningURI are a device for proving the record has not been altered. They are not a guarantee that the actual action followed that reasoning.