---
title: "Automating my car search using Claude Code"
description: "One Claude Code session built a car search that drives my browser while I watch, proves each feature from evidence, and puts the shortlist in a private Artifact I can act on."
url: "https://michael.zazon.us/notes/automating-my-car-search-using-claude-code"
published: "2026-11-04T12:00:00-05:00"
kind: "build-log"
subject: "ai-agents"
tags: ["claude","agents","data"]
---
New project: the hunt for our next vehicle!

I'm replacing an older family SUV and was looking for a used 3 row SUV with a hands free driving feature and a few must have options. Before I started building, I asked [Claude Code](https://claude.com/claude-code) to look for prior art. "Reddit and open source communities may have built tools already we can leverage let's look at the landscape of these as we ramp up here." It didn't find anything mature, just small single purpose repos. My research uncovered the hard part: there isn't a listing site or VIN decoder that tells you if a specific vehicle has the hands free feature.

No dealer emails go out until I say so. Claude composes as me, I approve every send.

Claude drives my own logged in browser on an always-on Mac.. its own session and tabs, I watch it, and it stops for anything consequential. The catch of sharing a browser is that the sweep grabs focus every few seconds. "I can't log into it while it's running agent chrome so we will have to wait for Facebook then?" Facebook waited.

## From spec to first pass

After a short design spec I said "approved - just build it now no implementation plan needed." In one session we went from an empty folder to a private repo with a Python CLI on SQLite, 46 tests, and a first pass at about a thousand listings.

The pipeline grabs listings from multiple sites and merges duplicates of the same vehicle (by VIN). For each vehicle it proves as many features as possible from evidence (eg [NHTSA VIN decoder](https://vpic.nhtsa.dot.gov/decoder/), window sticker, listing text, free history summary). Features are marked as yes/no/likely/unknown (a feature not mentioned isn't marked as no, it's marked as unknown). Then it ranks them by must-haves first, and then a deal score (price vs mileage compared to comparables).

The listing text was more lenient than I thought. Owner reviews on the listing page mentioned the hands-free feature, so vehicles without it were tagged as having it. And a "Not Equipped with" line for the feature was matching as a yes.

## The listing said clean

I requested full history reports on two of my top contenders. The listing said "Clean CARFAX. CARFAX One-Owner." The full report revealed it was a former rental that was sold at auction just days prior. This led to some hard rules like "ok I don't want any accidents or rentals and the miles for a 3 or 4 year old car these are likely livery or rentals let's narrow down a bit please."

The search area shrank too: *"I think 150 miles might be a bit too wide for me right now in terms of reach with my current phase of life. 20 or 30 miles sounds more reasonable maybe 50 max."* A history sweep of the rest eliminated commercial and corporate use too. The remainder was short enough to read: *"is there a way to filter to just the 45 here?"*

The results are presented in a private Claude Artifact that only I can open. The first version didn't include pictures, and my reaction was *"oh man was hoping to see photos on this artifact."* The Artifact sandbox doesn't allow outside images, so now they're embedded inline as thumbnails. Each card has Shortlist and Reject buttons that save to the Artifact's own database, so Claude can read my decisions back on the next run.

There's a Questions tab with my first email to a dealer:

> Carfax available? (if not on the listing) ... ever smoked in or any odors? I'm very sensitive to smells ... we don't have a lot of free time to test drive since we have a 2 year old and a 2 month old so need these questions validated before we come out and take a look in person!

## Keeping watch

The market is changing, and I wondered "do we have mechanisms to notice price drops, new stock, sold stock, etc? does our delta runs work properly?" That question turned up a few bugs before the first weekly run, the worst being that a source returning partial inventory could mark still-listed vehicles as sold. The fix: a vehicle only counts as sold if a full-inventory site doesn't list the vehicle twice in a row, so a blocked/partial site can't fake a sale.

Next up is making the change runs happen weekly, moving the entire search to an agent in [NanoClaw](https://github.com/qwibitai/nanoclaw) (like my [Agents that keep working when I close the laptop](https://michael.zazon.us/notes/agents-that-keep-working-when-i-close-the-laptop) setup), then building a dashboard to track my own price trends, and finally getting a phone alert when a killer deal pops up.