Project · AI testing · past project · Started Apr 2026

QA agent

Give it a URL and a goal in plain English — “register a new user and check you land on a signed-in dashboard” — and it drives a real browser like a manual tester: reads the page, fills forms, notices what's broken, and files a bug with exact repro steps and a screenshot. Built after leaving Hims as something a company could buy instead of hiring an SDET, then rewritten once when the first design hit its limits.

A real run on Fernhollow, a practice shop I built with planted bugs: 7 turns, 16 tool calls, $0.15. It filed three bugs: a product image that 404s, $NaN totals after a quantity change, and a Place order button that fails silently on a 500.
16browser tools the agent drives through Claude's native tool use
40+third-party analytics, consent and monitoring domains filtered out before the model sees an error
~5.4k → 1lines of v1 JSON-parsing orchestration replaced by a single agent-loop file
20message sliding window, so cost grows linearly with run length, not quadratically

The problem

Scripted suites only catch the bugs someone thought to write a test for

And they break whenever the UI moves. A good manual tester covers that gap: the button that does nothing, the “undefined” in a price label, the form that submits without feedback. The QA agent puts that judgement in a loop that runs unattended, with costs a company can predict.

How it tests

The model decides; the tools keep it honest

  1. 1

    Two ways to see a page

    look returns every interactive element with coordinates plus same-origin console and network errors — text only, cheap. screenshot adds the image, and it's told to use it on a first visit, when checking visual quality, when confused, and before filing a bug.

  2. 2

    Selectors execute, they never decide

    It chooses what to click from what it sees and prefers click_at(x, y), which holds up on custom controls that aren't real buttons. A standing rule in the repo: never write 'if the URL contains X, click Y'.

  3. 3

    Asks a human when stuck

    On a CAPTCHA, or two valid paths with no way to tell which was meant, it calls ask_operator. The question appears in the dashboard and the run waits for an answer.

  4. 4

    Explore once, start smart

    An Explorer crawls larger apps, has Haiku classify every page state, and stores pages and transitions as a graph in Postgres. The graph compiles to site knowledge for later runs.

Bug reports

False positives decide whether anyone trusts a QA tool

Cost

Predictable spend, designed in from the start

What I learned

The real gap is investigative QA, not navigation

It could finish a flow and report what was obviously broken. A senior tester also notices when nothing happened: no request, no spinner, no error. The next thing to build was an action-outcome observer that diffs page state before and after each action, then a structured way to investigate — specced, not built, when I stopped.

Stack

TypeScriptPlaywrightClaude tool use + visionClaude Haiku / SonnetPostgreSQLExpressReact + ViteSSEffmpegWhisper