ERC-8489 Agent Information Flow Protocol (Agent Information Flow Paradigm)
Draft · Other · created 2026-11-08
A standard that records, on chain and by version, the rules governing read access, contribution, and redistribution, as well as participation rights, for every channel through which agents, people, and contracts exchange information, so that anyone can verify them against the same criteria.
Why it is needed
When agents, people, tools, and contracts exchange information in the same chat room or workspace, who can read, who can post, whether a late-arriving participant can see past records, and whether content may be redistributed elsewhere are all defined differently from system to system. Different implementations have no way to give the same answers to these questions, making it hard to connect two systems. Moreover, in the world of agents, identities can be created cheaply, so verifying eligibility to join becomes a question of identity spoofing; because an agent can execute whatever it reads, received content itself becomes an attack surface; and because storage is cheap, how much history to retain is set arbitrarily. Recording unverifiable conditions as failures also wrongfully rejects legitimate participants. There has been no common standard that ties these problems together into one model and three registries in a verifiable way.
What to implement
function supportsKind(uint8 kind) external view returns (bool);: Indicates whether the given composite verifier can handle a specific leaf kind.function leafGasLimit() external view returns (uint256);: Indicates the fixed gas limit passed on every call to a leaf verifier.function contains(bytes32 subject) external view returns (bool);: In allowlist verification, checks whether a given subject is included in the set.function registerParadigm(bytes calldata canonicalDescriptor, bytes32 family, bytes32 supersedes, bytes32[] calldata labels, RolePredicate[] calldata rolePredicates, string calldata descriptorURI) external returns (bytes32 paradigmId);: Registers a new flow paradigm descriptor and issues a unique paradigmId.function transferFamily(bytes32 family, address newController) external;: Transfers control of a paradigm family to another address.function hasLabel(bytes32 paradigmId, bytes32 label) external view returns (bool);: Checks whether a registered paradigm carries a specific label. It does not guarantee actual behavioral compliance.function rolePredicateHash(bytes32 paradigmId, uint16 role) external view returns (bytes32);: Returns the hash of the predicate that must be satisfied to acquire a specific role.function openChannel(bytes32 paradigmId, address authority, bytes32 parent, string calldata metadataURI, BindingDecl[] calldata bindings) external returns (bytes32 channelId);: Opens a new channel and registers the initial paradigm along with the transport and governance bindings together.function adoptParadigm(bytes32 channelId, bytes32 paradigmId, uint48 effectiveAt, bool requiresReadmission, bytes32 authorizationRef) external;: Records the new paradigm version a channel will adopt and its effective timestamp.function currentParadigm(bytes32 channelId) external view returns (bytes32 paradigmId, uint48 effectiveSince);: Queries the paradigm a channel currently follows and its effective timestamp.function recordDisclosure(bytes32 channelId, uint8 kind, bytes32 objectRef, bytes32 audienceRef, bytes32 authorizationRef) external;: Records, in an append-only manner, the fact that a specific object has been disclosed to a specific target or that disclosure has been revoked.function grant(bytes32 channelId, bytes32 subject, bytes32 onBehalfOf, uint16 roles, bytes32 scopeRef, uint8 basisKind, bytes32 basisRef, uint48 validFrom, uint48 validUntil) external returns (bytes32 bindingId);: A channel authority or an admin role holder grants a role binding directly to a specific subject.function admit(bytes32 channelId, uint16 role, bytes32 scopeRef, bytes calldata predicate, bytes[] calldata evidence, uint48 validUntil) external returns (bytes32 bindingId);: A subject acquires a role on its own by satisfying the predicate conditions.function evaluate(bytes32 channelId, bytes32 subject, uint16 role, bytes32 scopeRef, uint48 timepoint) external view returns (uint8 outcome);: Evaluates, as one of four values, whether a subject satisfies a specific role and scope at a given point in time.function readmit(bytes32 bindingId, bytes calldata predicate, bytes[] calldata evidence) external;: Re-evaluates a binding that requires reapproval against the current paradigm's predicate and reapproves it.
In depth
Two delivery modes and eight structural operators
AIFP splits the way information flows into two delivery modes: delivery (delivered to a recipient) and shared-object (contributed to or observed via a shared object). On top of that, it defines eight structural operators, fan-out, fan-in, feedback, n-party, select, forward, derive, and merge, and each paradigm declares which subset of these operators it uses. There is no inherent restriction on combining operators; the compatibility rules in Section 5.4 determine which combinations are ultimately valid.
From observation to ordering: 13 rule dimensions
A paradigm separately declares 13 dimensions: discovery (whether existence can be known), observation (who reads what), contribution (who posts and edits), management (who controls), redistribution (whether leakage outside the channel is allowed), history (the scope and retention period visible to late joiners), time (synchronicity and delivery mode), disclosure timing (when disclosure occurs), contributor visibility (the level of contributor identity disclosure), admission basis (grounds for joining), representation (whether acting on behalf of another is allowed), object relations (relationship to prior objects), and ordering (who sequences events). Two extension dimensions, economic and modality, may optionally be added as well. A dimension that is not declared is unspecified, which is not a default value but means 'undetermined' itself.
Roles as bits, participation as bindings
Participation rights are divided into 11 role bits: DISCOVER, OBSERVE, SUBMIT, RESPOND, MODIFY, MANAGE_ADMISSION, MANAGE_ORDER, MANAGE_REMOVE, MANAGE_RULES, REDISTRIBUTE, and MANAGE_DISCLOSURE; there is no single flag such as 'member.' Each participation is recorded as an individual binding carrying a role bit, scope, basis, validity period, and the rule version in force at the time of grant, and has its own unique bindingId. Even for the same subject, keeping a separate binding per role allows a single role to be suspended or revoked independently.
Four-value verification results and composition rules
Every eligibility verification ends in exactly one of four values, SATISFIED, NOT_SATISFIED, UNDETERMINABLE, or VERIFIER_ERROR, and undeterminable or verifier-error results must never be recorded as failures. For allOf, if any child is NOT_SATISFIED the result is NOT_SATISFIED; otherwise UNDETERMINABLE takes priority if present; otherwise VERIFIER_ERROR; otherwise SATISFIED. For anyOf, if any child is SATISFIED the result is SATISFIED; otherwise UNDETERMINABLE takes priority if present; otherwise VERIFIER_ERROR; otherwise NOT_SATISFIED. An error in one leaf halts only as that leaf's VERIFIER_ERROR and does not stop evaluation of other branches.
Paradigm descriptors, labels, and compatibility checks
A paradigm descriptor is a JSON document, and the keccak256 of the bytes normalized via RFC 8785 JCS becomes the paradigmId. Eleven reserved labels, source, intake, direct, panel, club, meeting, archive, blackboard, dispatch, forward, and derive, can only be attached if the descriptor alone satisfies identification conditions determinable from the descriptor itself; because these conditions can overlap, a single descriptor may carry multiple labels. At registration time, the verifier rejects incompatible combinations, such as lacking an appropriate delivery mode at a commit-reveal disclosure point, or having anonymous-qualified visibility without a credential predicate.
Predicate tree encoding and verifier interface
A predicate is a tree of at most 64 nodes and depth at most 8, encoded as abi.encode(Node[]), where each node carries a kind, a range of children, a verifier address, a ref, and params. Ten kinds are defined: open, allowlist, external, allOf, anyOf, credential, stake, identity, member, and decision; credential and above are semantic leaves delegated to a designated verifier. The composite verifier must forward a fixed gas amount (leafGasLimit) on every leaf call, and if it cannot forward sufficient gas, it must not produce a result and instead revert with AIFP_InsufficientGas().
Three on-chain registries
The paradigm registry manages only descriptor hashes and family control, without interpreting their content. The channel registry stacks, in append-only fashion, which paradigm version a channel follows from which point in time (adoptParadigm), its transport, governance, and economic bindings, and its disclosure records (recordDisclosure). The participation registry creates role bindings through two paths, grant (direct admin grant) and admit (self-acquired by satisfying a predicate), and manages the state of individual bindings via suspend, revoke, and readmit.
Past actions are permanently evaluated under the rules in force at that time
An action accepted at one point in time remains a historical fact that does not change even if the rules are later changed or the binding is revoked. New actions are always judged against the current clock value, and admit calls impersonating a past timestamp are not permitted. If a paradigm transition requires reapproval, bindings obtained before that transition are evaluated as UNDETERMINABLE from the transition point onward, remaining neither rejected nor approved until reapproved.
A proposal that has not yet been finalized
As of November 2026, this ERC is in Draft status, meaning it is still a proposal under active discussion and subject to change. Interfaces, numeric values, and the label list may change before finalization.