Trigger real autonomous AI buyer agent transactions against the adapter to verify guardrails and live Razorpay Orders.
Judge & Evaluator Testing Guide
60-Sec ReadHow to test this live demo with 1-click or from the terminal.
What this project does: AgentPay Bridge is a checkout safety adapter for autonomous AI buyer agents. It translates agent purchasing intents into verified orders on the Razorpay rail while mathematically enforcing server catalog prices, 50% discount caps, 30-min inventory holds, and tamper-proof audit trails.
You don't need a terminal! Use the buttons in the action bar above:
- ▶ Happy Path: Creates a session and creates a live Razorpay test order.
- 🛡 Test Attack: Dispatches rogue agent with 75% discount; stops the breach.
- ⚡ Idempotency: Replays identical token; returns cached session without double charges.
Run the headless buyer agent directly against the live Cloud Run backend:
What Each Simulator Act Demonstrates & What to Look For
Agent resolves merchant capabilities at /.well-known/agent.json and retrieves the 5-SKU catalog.
Agent buys items, reserves stock, and settles on Razorpay.
Malicious agent attempts a ₹1 price override and 75% discount.
Tests duplicate request idempotency, cancellation, and Razorpay refund.
Lifecycle executions recorded
Razorpay orders created
Gated violations stopped
Deterministic rule engine
Checkout Sessions
Live agentic checkout sessions across lifecycle
No checkout sessions found.
Run python buyer_agent_sim.py to execute the buyer agent simulation.
ACP Guardrail Rules
Deterministic bounds checked before state transition
Live Audit Feed
Recent Firestore state transitions
No audit entries logged yet.