SYSTEM LIVE & INVARIANTS ACTIVERazorpay Test ModeNeon PostgreSQLHMAC-SHA256 Nonces

Sovereign Deal Desk for Agentic Commerce

When autonomous AI buyer agents arrive with procurement mandates, DealFlow executes deterministic commercial policies, bounds 4-round agent negotiations, protects margins against machine-speed inventory races, and settles atomically via Razorpay.

Protocol IngressACP • AP2 • UCP • x402
Pricing MathInteger Paise Only
Agent Negotiation4-Round Bounded
ConcurrencyAtomic Conditional
Non-RepudiationHMAC-SHA256 Nonce
Test Verification33 E2E / 141 Pass
Protocol Interoperability
4 Inbound Rails

Universal CCO adapter normalizes ACP, Google AP2, UCP, and HTTP 402 into unified commerce objects.

Margin Floor Protection
18.0% Hard Floor

Zero margin leakage. Part 2 inventory formula clears aged stock while strictly preserving profitability.

Machine-Speed Concurrency
Zero Overselling

Atomic WHERE inventory_qty >= qty conditional reservation prevents stock races.

Audit Accountability
Agent Decision Records

Structured logs capturing inputs considered, rejected candidate reasons, and winning rules.

Core Protocol Modules(Select a cockpit view)

Active Role: Autonomous Buyer
🤖SINGLE-MERCHANT

Deal Room & Agent Negotiation

Autonomous 2-role negotiation engine capped at 4 rounds. Features deadline-aware posture (<24h urgency dialogue), deterministic price clamping, and automatic fallback.

Instant Razorpay CheckoutEnter Deal Room →
🏪MERCHANT-ONLY

Merchant Console & Explainability

Per-product "Why am I discounting this" explainability panel. Evaluates inventory aging, movement rates, predicted profit delta, policy floors, and human escalations.

Zero Margin LeakageOpen Console →
🏛MULTI-MERCHANT

Reliability-Weighted Auction

Parallel RFP broadcast to 3 competing merchants. Evaluates multi-attribute utility blending price, SLA, and warranty against dynamic merchant reliability scores and trust floors.

Quality-Aware RankingLaunch Auction →
📜IMMUTABLE LEDGER

Audit Ledger & Decision Records

Readable, structured Agent Decision Records in Neon PostgreSQL. Surfaces inputs considered, rejected alternatives with specific loss reasons, and cryptographic nonces.

Non-Repudiation AuditView Audit Ledger →
🧪12 SCENARIOS

Invariant Scenarios & Test Suite

Live verification cockpit. Test accept-time inventory races, digit flip tampering, payment failure recovery, and multi-protocol equivalence (ACP vs AP2 vs UCP vs x402).

Automated Edge CasesRun Scenarios →
STREAM

Live Feed & Telemetry

Chronological stream of real-time negotiation events, state transitions, HMAC seals, and webhook settlement confirmations.

Real-Time State FeedView Live Feed →

DealFlow End-to-End Processing Pipeline

Zero State-Jumping Enforced
01. INGEST
Universal CCO
Normalizes ACP, AP2, UCP, or x402 into standard CCO.
02. POLICY
Guardrail Math
Enforces 18% margin floor and 12% max discount in integer paise.
03. NEGOTIATE
Bounded 4-Round
Buyer & merchant agents converse with deadline-aware urgency.
04. CRYPTO
HMAC Signing
Seals canonical JSON terms with single-use anti-replay nonces.
05. CONCURRENCY
Atomic Reserve
Conditional SQL update prevents race conditions and overselling.
06. SETTLE
Razorpay Capture
Links 1:1 order, verifies webhook HMAC, and writes to audit log.