
Agents
GlycoCart
An agent that builds Swiggy carts ranked by your likely glucose response, and never places the order itself.
- For
- Glucose-aware food-ordering agent, personal project
- Who
- Personal project, built with Claude as coding agent
- Next.js agent that builds carts through Swiggy's Food, Instamart and Dineout MCP servers.
- Re-ranks dishes by a personal post-meal glucose estimate: glycemic load adjusted for fibre, protein and fat.
- Ordering and payment tools stay out of the agent's reach, and a regression test enforces it.
- Swiggy OAuth tokens sit in AES-256-GCM cookies; profiles, chats and carb logs persist in Neon Postgres.
- Built with Claude as coding agent: owned scope and safety boundary, tested on a live account, 15 test suites.
- Next.js
- MCP
- Neon Postgres
- OAuth
- AES-256-GCM
Figure: A shop floor. A wire shopping trolley stands for the GlycoCart agent in front of a counter with three bays, Swiggy's Food, Instamart and Dineout. A dial gauge on the trolley reads a dish's likely glucose response: a drag pointer holds the dish's glycemic load, a fibre wheel steps the needle back, and protein and fat wheels move a small time-to-peak hand later. A shortlist caddy on the trolley's side holds the dishes in rank order, lowest likely response first, and the top pick goes into the basket, the cart. The trolley rolls to a painted line before a dark checkout till and stops: it has no way to pay. Pushed over the line, its anti-theft wheel locks, as the regression test fails if anyone wires a checkout or payment tool in.












