← Selected writing

What a grocery order taught me about agentic commerce

A Swiggy experiment showed where a commerce agent can help and where the buyer needs to take over.

Ravi tested the Swiggy integration from Claude Code to see whether an order could go from search to checkout in a terminal conversation. The agent searched Instamart and tried products that appeared to be in stock. When two failed at the next step, it found an option it could add to the cart.

Availability changes between steps

Search results helped narrow the options, but a successful cart operation was the better signal that an item could be ordered. A commerce integration should make that distinction clear to the agent and return enough information to recover when stock changes.

Give the buyer a clear handoff

The agent retrieved the payment options and displayed a UPI QR code. Ravi scanned it himself. That handoff offers a design pattern for other workflows: let the agent do the search and preparation, then put the final amount and choice in front of the person who will act on it.

Read the original LinkedIn post Plan your own experiment