PartsPilot
Find the same car part at two suppliers and decide which offer to buy.
My role Full-stack development and browser automation
A sample lookup
Enter OF-204 and select Alder Parts and Rivet Motor. Run Now reads the two fictional catalogue pages. Under Smart ranking, Alder’s €22 oil filter comes first because it is ready today and offers more margin. Switch to Lowest Price and Rivet’s €18 filter moves to the top, with a four-day wait.
- Alder Parts
- €22 Ready today
- Rivet Motor
- €18 In four days
Turn recorded browser actions into a tested workflow
The setup model selects step indices from a browser recording. PartsPilot rebuilds the workflow from those actions, then runs the generated supplier search in Playwright. LangGraph feeds a failed run back into generation within a retry limit. This setup path activates the search configuration in Supabase after it passes the test.
Tech stack
- Playwright + LangGraph
- Browser recording and replay, with a bounded test-and-revise loop during setup.
- FastAPI + RQ on Redis
- Queue slow supplier lookups outside the HTTP request.
- OpenAI vision + RapidFuzz
- Extract offer fields from screenshots and reconcile brand names.
- Next.js + Supabase
- Store workflows in PostgreSQL and refresh the task view on Realtime events.
- Build and runtime environment
- uv and pnpm lock dependencies. Docker Compose runs the frontend, API, workers and Redis.
Challenges and approaches
Keep successful results when one supplier fails
The production worker runs suppliers in a bounded process pool. It collects each result or exception independently, so a failed supplier does not discard successful results.
| Supplier | First lookup | After retry |
|---|---|---|
| Alder Parts | €22 | €22 |
| Rivet Motor | Unavailable | €18 |
AI-assisted development harness
- Agent rules
- AGENTS.md covers retries, idempotency and authorization.
- Validation
- Ruff lints Python. An opt-in pytest test covers browser overlay recovery.
- Observability
- Logfire traces API requests, supplier jobs and OpenAI calls.
- Tools and MCPs
- Context7 provides upstream API references.