Case study · AI engineering
Pricehound
An AI shopping scout that shows its sources and can't overspend.
Buying something in Kosovo meant days of reading reviews spread over many sites, and half the shops didn't deliver here.
An agent pipeline that researches a product, returns a sourced shortlist of 3 to 5, then watches prices and says Buy, Wait or Skip.
Live. About $0.05 to $0.07 per hunt under a hard $1/day cap, with 1,460 tests behind it.
- Role
- Sole builder
- Timeline
- 13 days, Oct 2026
- Stack
- TypeScript, Astro, Postgres, pg-boss, Claude Haiku 5.5
- Status
- Live, private
The problem
In October I spent two days researching a perfume to buy in Kosovo. Reviews were spread over Reddit, test sites and shop pages, half the shops didn’t deliver here, and prices moved while I read.
A chat model gave me a confident answer with nothing behind it. I wanted every claim to point at a page I could open.
What I built
You write one sentence, like “an office chair under 100 euros delivered to Kosovo”. The pipeline plans searches, reads about 50 pages, scores the products and returns 3 to 5, each claim linked to its page. Then it checks prices daily and sends a Telegram message: Buy now, Wait or Skip.
Only some steps use a model. The brief, the search plan, reading each page and the final judgement do. Searching and fetching pages is plain code, with fallbacks for shops that block scrapers.
Results
Guardrails
Spend cap
A daily budget is checked before every AI call. Over it, the hunt stops with a clear message and can be retried. Every call logs tokens and cost.
Checked output
Each reply must match a schema, with one retry. Every quote must appear word for word on its page, or it is dropped.
Evals
Country detection passes 16 of 16. Shop discovery finds 8 of 10 known Kosovo shops. A delivery-check eval has 13 real cases.
Decisions
Structured output, not free text. Every model reply has to match a Zod schema. Bad JSON never reaches the database.
Drop any quote that isn’t on the page. I lose some evidence rows. I keep the rule that nothing is invented.
Say “not enough evidence”. A shortlist needs 2 independent sources. When a hunt came back empty, I made it read better pages instead of loosening the rule.
What I’d change
I wrote the shop-discovery eval after the feature, so part of the 8 of 10 is circular. Next time: the hand-made list and the eval first, then the feature.
Got a role or a project?
Email is the fastest way to reach me.