ERC-8454 AIFi Economic Unit Framework (AIFi Unit Framework)

Draft · Other · created 2026-10-21

The AIFi Unit Framework defines units of AI economic activity, such as agents, tasks, models, and funds, using four frames, boundary, role, observation, and valuation, records them on-chain, and makes it possible to compare different valuations.

Why it is needed

Agents, executable skills, tasks, models, compute, data, and funds are increasingly being issued, traded, and composed on-chain, but each standard addressing them describes only its own individual kind. Without a common underlying language, three problems recur. First, even when two parties refer to the same agent business, the resources, licenses, and obligations it includes differ, making valuations incomparable. Second, each part of a unit plays a different economic role depending on context, yet it is given only a single permanent label (for example, staking pool, task), obscuring cost, lock-up, and control points. Third, when two assessors produce 100 and 200 for the same target, no one can tell whether that is net worth, daily yield, completion probability, or credit rating, nor in which currency, as of what point in time, or whose interest it reflects.

What to implement

In depth

Unit definition document and boundary hash

A Unit Definition is a JSON document that must include auf (data model version), kind (must be unit-definition), unit (name/summary/tags), elements, relations, ports, and authorities. validity (from/until), scale (observation window), extensions, and metadata are optional. This document's boundary hash (boundaryHash) is the value obtained by normalizing it with the JSON Canonicalization Scheme (RFC 8785), encoding it as UTF-8, and hashing it with Keccak-256, and it must match the hash recorded in the registry. Economic figures such as amounts, ratios, and prices must be encoded as decimal strings rather than JSON numbers, so that their representation does not change during normalization.

Element and Relation

An element is identified by kind (one of agent, skill, task, service, model, compute, data, financial-position, unit, or an extension kind) and ref, and elementId is keccak256(the string formed by joining kind and ref with a colon). Within a single definition, no two elements may share the same elementId. A relation specifies the parties via from/to (or, for an identity relation, a set of elements) and indicates its kind via type. Type is divided into structural (contains), rights (owns, licenses, reserves, revenue-share, holds), obligations (owes, commits, pledges), dependency (depends-on), interaction (exchanges, controls), and identity (same-claim, distinct-claim). The contains relation must form a directed acyclic graph among units.

Ports, versions, inclusion structure, freezing

A port expresses a unit's economic interface with a direction (in/out/inout) and a class (funds, resource, deliverable, right, commitment, control). A unit's version starts at 1 and increases strictly, and each version commits exactly one boundaryHash and one descriptorURI. A contains relation must point to a specific version of another unit that already exists in the same registry, and the registry verifies its existence at issuance, so the inclusion structure cannot be structurally cyclic. Once the Definition Controller becomes the zero address, that unit is frozen and can no longer issue new versions.

Limits of Authorities

The authorities object declares definitionController (none when frozen), representatives, beneficiaries, and settlementAccounts. This is merely a declaration of where actual authority lies, and this ERC does not grant that authority. Controlling a unit's definition does not automatically confer disposal rights over its elements, the right to represent the unit, or any claim on cash flows, and registries, resolvers, and consumers must not infer such rights from the controller role alone.

Rules for claim duplication and resolution

A pair of positions from different claim groups on the same side (holding or owing) becomes a single claim group if declared same-claim, or a resolved pair if declared distinct-claim. All other pairs are unresolved, and an empty or differing underlying reference alone does not prove distinction. The resolver must report every claim group that appears more than once in the tree and every unresolved pair, and must not merge or distinguish elements based solely on label, amount, or party notation. A same-claim or distinct-claim declaration becomes confirmed only once one of the position's issuer, debtor, counterparty, or controller leaves a description-endorsement acknowledgment.

The four kinds of acknowledgment

On-chain acknowledgments are fixed to four kinds: Participation, ResourceUse (resource use approval), FundOperation (fund operation approval), and DescriptionEndorsement (description approval), and resolvers or consumers must not collapse these into a single boolean. A unit definition may declare the expected acknowledgment kinds (expectedAcks) per element, and external dependency elements included via depends-on require no acknowledgment at all. An element with no expected acknowledgment is treated as asserted, not confirmed.

The assertion envelope and its kinds

The four kinds of assertion, characterization, observation, valuation, and extension, share the same on-chain envelope (kind, unitId, version, profileId, contentHash, contentURI, validity period, supersedes, asserter, status). Assertions are split into Controller Assertions, which are self-descriptions, and Third-Party Assertions, which are external evaluations; a signature or transaction proves only provenance, not that the conclusion is correct. An asserter may withdraw its own assertion at any time and may replace a prior assertion with a new assertion of the same kind.

The valuation receipt and result kinds

A valuation receipt holds subject, interest, snapshot, method, inputs, and result. result.kind is one of monetary, interval, distribution, scenario, vector, conditional, score, grade, not-valuable, insufficient-evidence, or not-applicable, and scores and grades must not be recorded as monetary values. Two receipts can be compared only if the subject version, boundary, interest, perspective, currency unit, valuation time, and horizon match, and the methods are either identical or declared comparable. A receipt that sums unresolved position pairs into a point value is treated as inconsistent and must be reported as an interval or as insufficient-evidence. This ERC is currently in Draft status; it has not been finalized and may still change or be withdrawn.

Original ERC · ← ERCs