Protocol Specification · GeraNexus v1
GeraNexus Agentic Commerce Protocol
Spec version 0.1.0
Agentic commerce protocol — the transactional layer AI agents use to negotiate, book, pay, cancel, refund, dispute, and verify completion across all Gera verticals and any third-party service that publishes a /.well-known/gera-nexus.json descriptor.
Capabilities
discoverEnumerate available service types and check availability windows
negotiateExchange constraints and receive binding price quotes
bookCreate a confirmed service reservation
payAuthorise and capture payment (or set up escrow)
cancelCancel a booking and trigger the refund flow
refundInitiate or release an escrowed payment
disputeOpen a human-reviewed dispute via GeraWitness
verify-completionConfirm service delivery and release escrow
auditRetrieve signed audit trail for any transaction
Message Types
| Name | Direction | Description |
|---|---|---|
| ActionRequest | agent→service | Signed payload carrying intent, constraints, and agent identity |
| ActionResponse | service→agent | Outcome, reference ID, and next allowed states |
| QuoteOffer | service→agent | Binding price quote valid for a TTL window |
| ConsentGate | service→agent | Human-in-the-loop prompt when spend exceeds per-user threshold |
| AuditRecord | bidirectional | Cryptographically signed event log entry |
Transaction Lifecycle
- 1
discoverAgent queries service capabilities
- 2
negotiateAgent sends constraints; service returns QuoteOffer
- 3
bookedAgent accepts quote; reservation created
- 4
payment-authorisedPayment authorised; funds in escrow
- 5
in-progressService delivery underway
- 6
pending-completionService claims completion; awaiting agent/user verify
- 7
completeDelivery verified; escrow released
- 8
cancelledTerminal: booking cancelled; refund initiated
- 9
disputedTerminal pending: GeraWitness human review
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
| NEXUS_001 | 400 | Malformed ActionRequest payload |
| NEXUS_002 | 401 | Invalid or expired agent signature |
| NEXUS_003 | 402 | Payment authorisation failed |
| NEXUS_004 | 404 | Service or booking not found |
| NEXUS_005 | 409 | State transition not allowed |
| NEXUS_006 | 422 | Constraints incompatible with availability |
| NEXUS_007 | 429 | Agent rate limit exceeded |
| NEXUS_008 | 503 | Downstream service unavailable |
Settlement Layer
Pluggable — reference implementation uses GeraCash + Stripe (authorise / capture / refund). Any PSP that supports those three semantics can be integrated.
Service Discovery
Services publish capabilities at /.well-known/gera-nexus.json — agent-readable JSON-LD.
Human-in-the-Loop
ConsentGate messages route to GeraWitness for out-of-band human approval when per-user spend limits are exceeded or disputes are filed.
What's New
v0.1.02026-05-01Initial draft spec. Core capabilities: discover, negotiate, book, pay, cancel, refund, dispute, verify-completion, audit.