MARGINS
v0.1 / hackathon

The fairness oracle
for India's 63 million
shopkeepers.

A phone-based Gemini agent. Point the camera at any product. Ask in your dialect. Get the real price. Haggle live. Order through ONDC. Expose it to every other AI agent in India.

₹40 of every ₹100. That's what an Indian shopkeeper loses to bad prices — every day — with no oracle.
Rubric mapping
criterionweightscorewhy
Vision30%27/30Reframe: markets = seller's oracle, not buyer's chatbot
Real-life Relevance20%19/2063M MSMEs, every number traceable to public Indian data
Built with Gemini20%19/204 distinct Gemini models + structured output + function calling
Future Focused15%13/15margins-mcp becomes infrastructure for any commerce agent
Execution15%13/15Working full-stack demo, $0 infra
Total100%91Top-decile for the Markets track
Under the hood
AI
  • Gemini 3.7 flash (reasoning)
  • Gemini 2.5 flash preview TTS (voice)
  • Gemini Embedding 2 (ledger)
  • Gemini 3.1 flash lite (routing)
Commerce
  • ONDC Beckn JSON-LD
  • search → select → init → confirm
  • GS1 India GTIN lookup
  • Agmarknet mandi prices
Infra
  • Next.js 14 (App Router)
  • Firebase Firestore
  • MCP over HTTP (JSON-RPC 2.0)
  • Free tier throughout · $0/mo