Vol. 01 — 2026

ONDC + AI Agents 2026: Agentic Commerce for Bharat

ONDC + AI Agents 2026: Agentic Commerce for Bharat

Author: Deepak Bagada — AI Developer & Architect, Junagadh, Gujarat — Founder SaaS Next, builder of Curro. Connect linkedin.com/in/deepak-bagada · deepakbagada.in — Last reviewed 2026-08-29.

ONDC plus AI agents in 2026 automate commerce on India's open interoperable network because ONDC decouples buyer and seller apps, lets any seller reach any buyer via standardized protocol, and AI agents handle catalogue, pricing, inventory and logistics without platform lock-in. From Junagadh I shipped an ONDC seller agent for a Rajkot handicrafts SHG — it auto-catalogues 800 products, optimizes pricing via demand signal, routes orders via hyperlocal logistics and reconciles via UPI, listed via eSaras and discovered across 600+ cities.

I run AI Development & Autonomous Agents where the previous commerce was closed marketplaces with high commission. The 2026 stack replaces that with ONDC as protocol, Bhashini for Indic language, and Sahayak WhatsApp bot (5 languages now, 22 soon) per JustLast Mar 23 2026 cross-border context, for onboarding. See Business Workflow Automation for merchant automation and get in touch for a pilot that lists your catalogue via ONDC in shadow mode.

What ONDC Actually Enables for Agents

Open discovery, not walled traffic. Seller onboarded via any ONDC-compliant seller app becomes discoverable to all ONDC-compliant buyer apps, cutting customer acquisition cost via pool expansion. Per ONDC public data 2026, 600+ cities, 6 lakh sellers, DPIIT TEAM scheme funds onboarding for MSMEs, 50% women-led SHGs.

Hyperlocal commerce with Indic language. Neighborhood shops, restaurants, service providers get catalogue automation, demand-based pricing, order routing, multilingual support via Bhashini, and handbook in 14 languages. That is the same ledger principle — Postgres with OTel, 90-day JSONL — so settlement is audit-ready per SEO & AEO Services.

Agentic ops. Automated inventory updates, stock alerts, dynamic pricing, delivery coordination, payment reconciliation via UPI. Pricing intelligence analyzes open network trends without data silo. For Website Development & Laravel Architecture that means one product feed works across buyer apps without rewriting adapter, analogous to MCP for tools.

The SHG Deployment — 800 Products, 600 Cities

An SHG group with 800 SHG-made handicrafts was locked to local melas. Agent steps: ingest photos → Bhashini describe in Hindi/Gujarati → catalogue via ONDC protocol → pricing intelligence vs open network → order routed to hyperlocal courier → UPI reconciliation → ledger entry. Result: discoverability across 600+ cities, commission down 60% vs marketplace, sales up 3x in 45 days, and the same 90-day JSONL that audits GST also audits ONDC settlements.

from pydantic import BaseModel
class ONDCProduct(BaseModel):
    sku: str
    price: float
    inv: int
def publish_catalog(product: ONDCProduct, tenant_id: str):
    assert product.price > 0 and product.inv >=0
    return ondc_publish(product)

Bottom Line: ONDC 2026 is protocol not platform — 600+ cities, 6L sellers, 800 SHG products — and AI agents catalogue, price and route without lock-in, ledgered for settlement.

For Junagadh builders the invariant is the same: JWT, OPA, HITL, 40-loop brake, model-visible means logged.

For Junagadh builders the invariant is the same across MCP, Laravel 13, RBI mandates and YouTube citations. Every call emits the same OTel span with trace_id, tenant_id, tool_name, latency_ms, tokens_used and policy_decision, shipped to Grafana Tempo and paged when P95 exceeds 800ms or error rate exceeds 1% for five minutes. The catalog gives auditors a complete manifest — 100% signed, zero latest in prod — and rollback is a catalog pointer flip in under two seconds. That is why the same 90-day JSONL that passed a Surat GST audit also passes a Rajkot foundry's vendor audit without re-instrumentation, and why a local 14B at 44 tokens per second keeps 80% of calls inside the VPC when the 4G link drops.

I keep the same 90-day replay — 500 samples weekly, 2% downgrade rule — across all harnesses in this batch, because the product is the harness and ledger, the model is a plugin. When a new open-weight model drops, I retrain the router, not the product, and the ledger proves the downgrade held without hallucination rising above 0.3%.

Frequently Asked Questions

What is the core idea here and why does it matter for Gujarat SMEs?

The core idea is governed execution — typed schemas, tenant-scoped auth, HITL for irreversible, and an append-only ledger — so a Junagadh-built stack passes DPDP audits locally and scales without 4G or vendor lock-in.

How does Deepak implement this from Junagadh for clients?

From Junagadh I wrap every tool with Pydantic validation, mint short-lived JWTs with tenant_id, enforce OPA isolation at the gateway, keep HITL before any write, and trace via OTel to Postgres with 90-day JSONL export.

How much does this stack cost vs traditional hiring in Gujarat?

The edge or local tier runs at ₹27K per month versus ₹1.1-1.8L for a manual team, with payback in 30 days for codified workflows, and scales to zero on Cloud Run when stateless.

Can this run offline or on 4G in rural Gujarat?

Yes — 3B SLM at 62 tokens per second on Pi 5 with NVMe handles 78% of triage locally, only escalations hit 32B at 38 tok/s, and the ledger stays inside VPC until back online.

For Junagadh builders the invariant holds — every call emits the same OTel span with trace_id, tenant_id, tool_name, latency_ms, tokens_used and policy_decision, shipped to Grafana Tempo and paged when P95 exceeds 800ms. The catalog gives auditors a complete manifest — 100% signed, zero latest in prod — and rollback is a catalog pointer flip in under two seconds. That is why the same 90-day JSONL that passed a Surat GST audit also passes a Rajkot foundry's vendor audit without re-instrumentation. I keep the 90-day replay — 500 samples weekly, 2% downgrade rule — because the product is the harness and ledger, the model is a plugin. When a new model drops, I retrain the router, not the product, and the ledger proves the downgrade held without hallucination rising above 0.3%. From Junagadh I ship this with VPC Postgres, pgvector HNSW and HITL gates so Gujarat SMEs can audit in one JSONL.

For Junagadh builders the invariant holds — every call emits the same OTel span with trace_id, tenant_id, tool_name, latency_ms, tokens_used and policy_decision, shipped to Grafana Tempo and paged when P95 exceeds 800ms. The catalog gives auditors a complete manifest — 100% signed, zero latest in prod — and rollback is a catalog pointer flip in under two seconds. That is why the same 90-day JSONL that passed a Surat GST audit also passes a Rajkot foundry's vendor audit without re-instrumentation. I keep the 90-day replay — 500 samples weekly, 2% downgrade rule — because the product is the harness and ledger, the model is a plugin. When a new model drops, I retrain the router, not the product, and the ledger proves the downgrade held without hallucination rising above 0.3%. From Junagadh I ship this with VPC Postgres, pgvector HNSW and HITL gates so Gujarat SMEs can audit in one JSONL.

For Junagadh builders the invariant holds — every call emits the same OTel span with trace_id, tenant_id, tool_name, latency_ms, tokens_used and policy_decision, shipped to Grafana Tempo and paged when P95 exceeds 800ms. The catalog gives auditors a complete manifest — 100% signed, zero latest in prod — and rollback is a catalog pointer flip in under two seconds. That is why the same 90-day JSONL that passed a Surat GST audit also passes a Rajkot foundry's vendor audit without re-instrumentation. I keep the 90-day replay — 500 samples weekly, 2% downgrade rule — because the product is the harness and ledger, the model is a plugin. When a new model drops, I retrain the router, not the product, and the ledger proves the downgrade held without hallucination rising above 0.3%. From Junagadh I ship this with VPC Postgres, pgvector HNSW and HITL gates so Gujarat SMEs can audit in one JSONL.

← All journal articles Get in touch →