Adarsh S · AI Engineer at Neeroma Technologies · Chennai, India

BiteWise

AI Product · Swiggy Builders Club · 2026 · Solo Builder

Approved Swiggy Builders Club project — a two-product food intelligence platform where NutriOrder AI powers nutrition-aware Swiggy ordering and SmartPantry AI handles household pantry, recipes, and grocery planning via Swiggy Food and Instamart MCP.

How it works

  1. Next.js app: NutriOrder AI + SmartPantry AI interfaces
  2. FastAPI backend: Ranking, allergen checks, pantry and order logic
  3. OAuth 2.1 PKCE: Per-user Swiggy auth, AES-256-GCM encrypted tokens
  4. Swiggy MCP: Food and Instamart, with retries, caching and seven locks before any real order

One order, end to end

One real order, traced end to end as you scroll. Recorded on BiteWise's own backend against its sandbox Swiggy menu, so no real order was placed.

Request: "high protein meal", for a profile of 30 years, female, 165 cm, 68 kg, light activity, fat loss.

Tool calls: search_menu("high protein meal") → 0 dishes; search_restaurants("high protein meal") → 3 restaurants; get_restaurant_menu(Protein Bowl Co) → 2 dishes; get_restaurant_menu(Lean Meal Hub) → 2 dishes; get_restaurant_menu(Fit Feast Kitchen) → 2 dishes.

Ranked first: Peri Peri Chicken Salad, a 71% match. Explanation: Provides 36g protein, close to your 45g target. Estimated 440 kcal, aligns well with your 475 kcal target. Priced at Rs 299, fits within your default budget of Rs 300. Macros are estimated from the dish's ingredients, and labelled as estimates.

Order: CART_REVIEW_READY (Rs 299 · cash on delivery) → USER_CONFIRMED (you confirm the order) → ORDER_PLACING (live cart re-checked: Rs 299) → ORDER_PLACED (placed in 50 ms). Guardrails: Confirmation gate: An order sent before you confirm is turned away. Rs 1,000 spend cap: Tested with a Rs 1,196 cart: stopped before placing.

Highlights

  • NutriOrder AI: ranks real Swiggy dishes on ten weighted factors (protein, calories, goal, diet, cuisine, budget, delivery time, rating, popularity and order history), drops anything that clashes with your allergies, and explains every score before a reviewed, confirmed checkout with live order tracking.
  • SmartPantry AI: household profiles with each member’s diet and allergies, a pantry that tracks expiry, cook-today recipes from what’s in stock, a grocery list grouped by aisle, and an Instamart cart.
  • Nutrition coach: calorie and protein targets from the Mifflin–St Jeor equation, meals logged by hand or by photo (Gemini vision), and weekly trends.
  • Built on Swiggy MCP with OAuth 2.1 + PKCE and AES-256-GCM encrypted tokens. A real order must clear seven locks, including explicit confirmation, Swiggy’s Rs 1,000 cap, cash on delivery only and a duplicate-order guard.

Stack

Next.js, FastAPI, Swiggy MCP, TypeScript, SQLAlchemy, PostgreSQL, Gemini, Tailwind

All projects