Compare grocery deals before ordering

A developer used a Gemini browser agent to price-check grocery items across two delivery services from a typed or scanned list.

Done with Gemini· Intermediate

What they did
Vikas Ranjan made Dinu Kaka with browser-use and Playwright, using Gemini 2.0 Flash in his own Chrome browser. The helper takes either pasted items or a handwritten list image, then looks up the products on Amazon Fresh and Flipkart Minutes. It records pricing, discounts, and delivery information, picks the stronger offer, places that choice in the cart, and writes a report.
How it went
He said it gave him his weekends back and helped him find good bargains without doing manual comparison work for hours. The article did not provide any timing, savings, or accuracy figures, and one reader wanted to know the runtime for a 15–20 item list.
Tips
The public code is a simplified version, and the example prompt does not explain how the list is handed off to the agent. If you want the full behavior, inspect the linked GitHub repository.

Try it yourself with Gemini

I’m giving you a grocery list as [typed text / a photo of handwritten notes]. For each product, check [store 1] and [store 2], and note the price, pack size, discount, and delivery details. Create a comparison table, mark the best choice for each item, and show the total for each store. Stop and ask for my approval before you add anything to a cart, place an order, or carry out any other irreversible action.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.