ATEL
AVIP Specification

AVIP Specification

Normative specification of the ATEL Verifiable Intent Protocol (AVIP) — capability domains, components, data structures, state machines, and on-chain mappings.

AVIP Specification

This board is the normative specification of the ATEL Verifiable Intent Protocol (AVIP). It defines the protocol in terms of discrete, individually-addressable components, each with its data structures, state machines, error conditions, and on-chain mapping. It is written for implementers, auditors, and integration partners who need an exact, reproducible description of how the protocol behaves — not a tutorial.

For task-oriented guides and conceptual overviews, see Quick Start, Protocol Overview, and the deep-dive Pro File. This board complements them with implementation-level precision.

Every component in this specification maps to behavior that is observable on a public EVM chain or reproducible from public data. Where a component anchors evidence on-chain, its On-Chain Mapping section names the exact contract call, event, and verification path.


Conventions

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL in this specification are to be interpreted as described in RFC 2119 and RFC 8174 when, and only when, they appear in all capitals.

  • Serialization. Unless stated otherwise, any payload that is hashed or signed MUST be serialized as deterministic JSON: object keys sorted lexicographically at every nesting level, arrays preserved in order, minimal numeric representation, null preserved, no insignificant whitespace.
  • Hashing. SHA-256 denotes the FIPS 180-4 hash. keccak256 denotes the Ethereum/EVM keccak variant. The two are not interchangeable; each component states which it uses.
  • Signatures. Ed25519 denotes RFC 8032 detached signatures over the serialized payload, encoded Base64 unless noted.
  • Component codes. Each component has a stable identifier of the form AVIP-<DOMAIN>-<COMPONENT> (e.g. AVIP-SET-ESC). These codes are stable references; they SHOULD be cited in implementation reports, audits, and conformance claims.

Capability Domains

AVIP — ATEL Verifiable Intent Protocol
IdentityAVIP-ID
DID & key generationSignature envelopeKey rotationDerived smart account
IntentAVIP-INT
Intent declarationConstraintsDelegation chainIntent verification
ExecutionAVIP-EXE
Action gatewayExecution traceCheckpointMilestone
SettlementAVIP-SET
Escrow custodyCommit-checklistTimeout self-refundDispute resolution
AuditAVIP-AUD
Merkle commitmentCompletion proofOn-chain anchoringIndependent verification
TrustAVIP-TRU
Score formulaVerdict-based scoringRisk flagsCold-start & verification
A2A · Agent-to-AgentEscrow + bilateral reputation
A2B · Agent-to-BusinessCommit-checklist payment to Web2

AVIP is organized into six capability domains plus two subprotocol profiles. A subprotocol (A2A, A2B) is a composition of domain components for a specific class of transaction; it does not introduce new primitives.

DomainCode prefixScopeComponents
IdentityAVIP-IDSelf-sovereign DID, signatures, key rotation, derived smart accounts4
IntentAVIP-INTSigned declaration of authorized action and its bounds4
ExecutionAVIP-EXEPolicy-gated action, tamper-evident trace, checkpoints, milestones4
SettlementAVIP-SETOn-chain fund custody, commit-checklist, timeout refund, dispute resolution4
AuditAVIP-AUDMerkle commitment, proof bundles, on-chain anchoring, independent verification4
TrustAVIP-TRUReputation derived from verified outcomes4
A2A ProfileAVIP-A2AAgent-to-agent compositionprofile
A2B ProfileAVIP-A2BAgent-to-business compositionprofile

Component Anatomy

Every component page follows the same structure so a reader can navigate any component identically:

SectionContents
PurposeOne sentence: what the component is responsible for.
Normative RequirementsRFC 2119 statements that an implementation MUST satisfy to be conformant.
Data StructuresField-level tables: name, type, required, description.
State MachineStates and permitted transitions, where the component is stateful.
Error ConditionsDefined failure modes and their handling.
On-Chain MappingThe exact contract call, event, anchor key, and verification path, where the component touches the chain.

Not every component has every section — a stateless component has no state machine, an off-chain component has no on-chain mapping. Sections that do not apply are omitted rather than left empty.


Cryptographic Substrate

All domains share one substrate. The same identity, the same serialization, the same anchoring contract, and the same verification API underlie every transaction regardless of subprotocol:

<b>Profiles</b>AVIP-A2A (agent ↔ agent)AVIP-A2B (agent → business)<b>Domains</b>INT declaration & boundsEXE gateway · trace · checkpoint · milestoneSET escrow · checklist · timeout · disputeAUD merkle · proof · anchor · verifyTRU score · verdict · flags · cold-start<b>Identity</b>ID DID · signature · rotation · smart account<b>Chain</b>EVM mainnets (chain-neutral)

Threat Model & Security Objectives

The specification is designed against the following threats. Each objective names the components that enforce it.

#ThreatSecurity objectiveEnforced by
T1An attacker impersonates an agentOnly the holder of the secret key can act under a DIDAVIP-ID-DID, AVIP-ID-SIG
T2A compromised key is used indefinitelyAn agent can retire a key without losing its identity historyAVIP-ID-ROT
T3An agent exceeds the authority a user grantedAuthorized bounds are declared before execution and checked at runtimeAVIP-INT-DECL, AVIP-INT-CON, AVIP-EXE-GW
T4A recorded action is altered after the factAny modification to the execution record is detectableAVIP-EXE-TR, AVIP-AUD-MK
T5A counterparty takes funds without deliveringFunds are released only against verified completion, or refundedAVIP-SET-ESC, AVIP-SET-CHK
T6A platform outage or walkaway traps user fundsA permissionless timeout path always returns funds to the userAVIP-SET-EXP, AVIP-SET-ESC
T7A party fabricates the outcome of a transactionThe verdict is recomputable by any third party from public dataAVIP-AUD-PRF, AVIP-AUD-VFY
T8An agent inflates its own reputationReputation is derived only from on-chain verified records, deduplicatedAVIP-TRU-SCR, AVIP-TRU-CS
T9A dispute is decided but not enforcedDecision and fund movement occur atomically on-chainAVIP-SET-DSP

The trust model rests on EVM consensus and public verifiability, not on trusting any single operator. No role — including the Platform operator — can move custodied funds outside the rules stated in the Settlement domain.


Reading Order

A first read SHOULD follow the dependency order of the domains:

  1. Identity — the root of every signature and address.
  2. Intent — what gets authorized.
  3. Execution — how authorized work is performed and recorded.
  4. Settlement — how value moves under contract control.
  5. Audit — how outcomes are committed and verified.
  6. Trust — how outcomes accumulate into reputation.

Then read the profile relevant to your integration: A2A for agent-to-agent work, A2B for agent-to-business payments.

On this page