■ 01 · Agentic Commerce / AI Payments / FastAPI
Agentic Commerce Gateway
AI-transactable merchant infrastructure (ACG)
2026
Overview
Built ACG, an agentic-commerce infrastructure layer that makes merchants transactable by unknown AI buyers with deterministic money authority, cryptographic user authorization, real Razorpay test-mode payments, failure recovery, interoperability certification, and independently verifiable transaction provenance.
Problem
AI buyers cannot transact with merchants today: discovery, pricing, payment authorization, and fulfillment live behind human-shaped interfaces with no machine-readable protocol — and letting an LLM touch money directly is unsafe.
Approach
- 01Deterministic money-authority layer separating LLM reasoning from financial execution, with policy gating and server-authoritative pricing
- 02Cryptographic user authorization via Ed25519 UserIntentAssertion and an AP2-inspired mandate chain — LLMs never hold payment authority
- 03Unknown Buyer certification so an independent AI client transacts using only the published protocol, plus graceful failure recovery
Architecture
- DISCOVERYMachine-readable manifest
- CATALOG
- CHECKOUTServer-authoritative pricing
- USER APPROVALEd25519 signed intent
- RAZORPAY PAYMENTTest mode + reconciliation
- ORDERIdempotent finalizer
- FULFILLMENTReservation-backed
- AUDIT TRAILSHA-256 hash-chained
Engineering
PythonFastAPIGroqRazorpay Test ModeEd25519SQLiteReact + Vite
- ACP-inspired machine-readable protocol
- Deterministic policy engine (C-1/C-2/C-3)
- TOCTOU + replay protection
- Ed25519 signed authorization
- Razorpay test-mode payments
- Unknown Buyer interoperability
- Failure recovery
- Hash-chained audit trails
Results
Built · Not deployed — Unknown Buyer certified · Buyer-B interoperable