Skip to main content
A2G is a communication protocol. This matrix defines what belongs in the protocol specification versus what is left to implementations.

In the Protocol (Layer 1)

ComponentNotes
Envelope formatSection 5
Message types + state machinesSection 7
Message ordering + forward compatibilitySection 5.4, 5.5
Identity (SIWE)Section 6
Account linkageSection 6.5
Session lifecycle + inactivity timeoutSection 6.4
Funding (EVM/ERC-20)Section 11
Funding operations APISection 9.3
Lobby REST APISection 9
Game spec formatSection 10
JSON Schema requirement for specsSection 10.5
availableActions in payloadsSection 7.2, 7.3
Client runtime responsibilitiesSection 18
Game spec schema parsingSection 10.5
Default timeout actionsSection 10.2
Balance querySection 7.1
Transaction historySection 9.3
Provably fair format (optional)Section 7.4, 14.4
Replay protectionSection 14.2
Error codes + formatSection 13
Reconnection + seat recoverySection 8
Fee model in resultsSection 12
Multi-table playSection 7.6
Extension messagesSection 7.7

NOT in the Protocol

ComponentWhy
RNG implementationOperator’s certified systems are authoritative
Game engine logicServer implementation (Layer 4)
AI decision-makingAgent implementation (Layer 4)
Identity verification / KYCOperator’s existing registration process
Smart contract internalsImplementation choice (Layer 3)
SDK implementationConvenience library (Layer 3)
TypeScript types / Zod schemasLanguage-specific convenience (Layer 2)
Infrastructure requirementsDeployment concern (jurisdiction-dependent)
Agent personality / profilesAgent implementation (Layer 4)
Client autonomy modelImplementation Guide guidance
Tournament structureFuture extension
Game history / audit logFuture extension (SHOULD)

The Key Boundary

A2G defines the interface between clients and servers. Everything behind the interface — how the server generates random numbers, how the agent makes decisions, how the operator verifies identity — is outside the protocol’s scope. This boundary is what makes A2G adoptable by existing gaming platforms: they keep their certified systems and add A2G as a communication channel. It’s also what makes A2G agent-friendly: agent developers focus on decision-making, not protocol plumbing.