Bugsitter: Explore Once With Claude Code, Replay Without AI
Bugsitter is an early prototype of a QA tool for web apps. Claude Code explores a site and writes plain-English checks; every pass is recorded and replayed later by Playwright or a small Rust engine, with no AI and no tokens. How it is built: a SwiftUI app, a TypeScript engine compiled with Bun, an MCP tool server and a Chrome DevTools Protocol replayer.
I have a dozen small web apps live: SQLiteUI, haveiread, a first report of injury form, a super-admin dashboard demo, a snapshot catalog, this site. Nobody tests them. When I change one, I click around for a minute and hope. When a dependency updates under one of them, I find out when someone tells me.
So the question was: can an agent sit these apps the way a QA person would? Explore a site like a user, work out what should work, write it down in plain English, and check it again every day. And do that without paying for a language model on every run, because a test suite that costs money every time it runs gets run less.
The answer, for now, is Bugsitter. It is an early prototype: version 0.1.0, a Mac app, free, and shared with a few testers before anyone else. Here are ninety seconds of it:
Quick Links
- Status: early prototype, 0.1.0. Expect rough edges and changes to the file formats
- Site and early access: bugsitter.com, with the user guide
- In the lab: Bugsitter
- Needs: macOS 14 or later on Apple Silicon, and Claude Code signed in to learn new checks. Replays need neither
- Stack: SwiftUI, TypeScript on Node (compiled with Bun for the app), Playwright, the Model Context Protocol, a Rust replay engine over the Chrome DevTools Protocol, axe-core, Sparkle
- Built with: Claude Code (Opus 5.5)
Explore once, replay without AI
The whole design rests on one split.
Learning a check needs judgment. "Placing an order shows its number in my orders" says nothing about which button to press or what text proves it worked. Claude Code works that out in a real browser.
Repeating a check doesn't. Once Claude has made a check pass, Bugsitter has every action it took and every fact it confirmed. It saves them as a recording and replays them next time without a model.

The rainbow border means Claude is at work and tokens are being spent. A green "Replaying · no AI" badge means they aren't. Here is what that costs on the playground, a small shop app with a planted bug that ships with Bugsitter:
| Time | AI | |
|---|---|---|
| Claude learns "Placing an order…" (and finds the bug) | 35 s | 99k tokens, $0.08 at API prices |
| Playwright replays a recorded check | 4 to 9 s | none |
| The Rust engine replays the same recording | 0.2 to 0.4 s | none |
A replay that breaks gets one retry, in case the page was slow. If it breaks again, Claude gets the check back with a note on where the replay stopped, and has to decide which it is: the app changed (a renamed button, a moved link) and the check still works another way, or the app is broken. A repaired recording is marked as needing my OK, so a quiet change in what a check does doesn't go unnoticed.
Checks are Gherkin with no step code
A check is a Gherkin scenario, but there are no step definitions to write. The steps are plain English and Claude works out how to carry them out:
Feature: Orders
@R3 @R4
Scenario: Placing an order shows its number in my orders
Given I open my orders
When I place an order for 2 Gadgets
Then I see a confirmation with the new order number
And that order number appears in my list of orders
And the order count reads "Showing x of y orders" with x no more than y
The tags link it to requirements R3 and R4 in requirements.md, which Bugsitter proposes from exploring and you edit. Other tags pick a login (@login:viewer), start signed out (@logged-out), or run on a phone-size screen (@phone).
That last step is the planted bug. The playground's orders page reads "Showing 7 of 6 orders". Claude places an order, reads the count, and reports it in a sentence:

Every check that doesn't pass has a Bug Report button: Markdown on the clipboard and a folder with the screenshot, the video and a Playwright trace, ready for a GitHub or GitLab issue.
How it fits together
Mac app (SwiftUI)
│ runs: bugsitter run --json
▼
engine (TypeScript)
├─ learn/repair ─▶ claude -p (your account)
│ │ MCP: Bugsitter's tools only
│ ▼
│ tool server ─▶ Playwright
│ │ records actions, facts
│ ▼
│ .bugsitter/cache/*.json
│
└─ replay (no AI) ─▶ Playwright or Rust (CDP)
The Mac app keeps no logic of its own. It starts the engine, reads its event stream and draws it: live runs, results, recordings, coverage, logins. Everything a site has lives in a .bugsitter/ folder of plain files (requirements, .feature files, recordings, config.yaml), so it can sit in the app's own repository and be versioned with git. Runs go to .bugsitter/runs/, which git ignores.
What Claude is allowed to do
The engine runs Claude Code as a command-line tool and gives it exactly one MCP server, its own:
const args = [
"-p", req.prompt,
"--output-format", "stream-json", "--verbose",
"--mcp-config", mcpConfigPath, "--strict-mcp-config",
// No built-in tools: no shell, no file access, no web.
"--tools", "",
"--allowedTools", "mcp__bugsitter__*",
"--permission-mode", "dontAsk",
"--setting-sources", "",
"--no-session-persistence",
"--append-system-prompt", req.systemPrompt,
];
The tools are a browser and nothing else: navigate, snapshot, click, fill, select, press, scroll, go_back, look, and the checks: check_text, check_url, check_element, check_link, check_page_health. Shell commands exist only as named entries in config.yaml (commands:), for things like resetting test data, and the engine runs them before and after a run. The agent can't run any.
Passwords never reach the model. A login in config.yaml names Keychain items, and the tool server fills them in:
logins:
qa:
url: /login
username: "{{secret:playground-local-qa-username}}"
password: "{{secret:playground-local-qa-password}}"
logged_in: Sign out
Claude sees the name of the secret; the page gets the value. The sign-in itself is learned once like any check, then replayed, either at the start of every check or once per run with the session saved outside the project.
For sign-ins it can't do alone (a code sent by email or text message, a company's single sign-on), there's now a third mode: Bugsitter opens a browser window, you sign in yourself, and checks reuse that session until it expires. When it has, the checks say so instead of guessing.
A recording
This is part of a real recording, for "My account shows my plan and when my trial ends":
{ "type": "action", "step": "Given I open my account", "tool": "click",
"locator": { "role": "link", "name": "Account", "exact": true },
"summary": "click link \"Account\"" },
{ "type": "check", "step": "Then I see my plan is Pro", "tool": "check_text",
"args": { "text": "Plan: Pro", "present": true } },
{ "type": "check", "step": "Then I see my trial ends 30 days from today", "tool": "check_text",
"args": { "text": "Your trial ends {{date:+30d}}", "present": true } }
Two things in there took the most work.
Locators are a test id, a stable id, or a role and accessible name, in that order, and each is checked when it's recorded: it has to find the very element Claude clicked, with an index when several match. "The link named Account" survives a redesign that a CSS path wouldn't.
{{date:+30d}} is a value rule. A check that compares literal text fails tomorrow, because the trial ends on a different date. So recordings expect rules where the page has values that change on their own: {{date:+30d}}, {{date:past}}, {{count:>=1}}, {{id}}, {{money:EUR 10..500}}, {{match:/ORD-[A-Z0-9]{6}/}}. When a replay fails only because a value changed, Bugsitter tries generalizing it, keeps the rule only if the page passes it, and offers it as Make Flexible: one click, no AI.

The matching code is one JavaScript function, MATCHER_JS, kept as a string. Node runs it, Playwright evaluates it in the page, and the Rust engine sends it through Runtime.evaluate. Three engines, one matcher, so they can't disagree about what {{date:+30d}} means.
Read-only by default
Bugsitter sits live sites, and an agent clicking around production can delete things. So a new site starts read-only: it fills in forms, but every write is blocked. For HTTP that is any request that isn't a GET. The harder part is apps that write over a WebSocket. haveiread runs on Convex, where a mutation is a WebSocket frame, so the guard reads the frames:
for (var i = 0; i < msgs.length; i++) {
var x = msgs[i];
if (!x || typeof x !== 'object') continue;
// Convex Auth's own calls (auth:signIn refreshes the session token) aren't data writes.
if ((x.type === 'Mutation' || x.type === 'Action') && !/^auth:/.test(String(x.udfPath || ''))) return true;
var q = x.payload && typeof x.payload.query === 'string' ? x.payload.query : typeof x.query === 'string' ? x.query : '';
if (/^\s*mutation\b/.test(q)) return true;
}
Convex mutations and actions are blocked, GraphQL mutations too, and signing in still works. A site you mark as a test environment allows changes, after a confirmation. Socket.IO, Phoenix and Firebase can't be told apart yet: their writes are noted, not blocked.
A false pass is the worst bug
A test tool that says "works" when it doesn't is worse than no tool. So Claude's verdict isn't the last word. If it says pass, the session looks at the checks it actually recorded:
export function guardVerdict(agent: Verdict, checks: CheckRecord[], kind: "run" | "discover") {
if (kind === "discover" || agent !== "pass") return { verdict: agent };
if (checks.length === 0) {
return { verdict: "inconclusive", note: "Bugsitter: changed to inconclusive because no checks were recorded to back up the pass." };
}
// ... and the same when a failed check was never passed afterwards
}
A pass with no recorded checks, or with a failed check it never passed later, becomes "not sure". The result has four states (works, looks broken, couldn't finish, not sure), and Bugsitter prefers the last two to guessing.
The second engine is Rust
Playwright is excellent and heavy: a replay starts a Node process, a browser and a context, and takes a few seconds per check. I had started a separate prototype, bugsitter-engine: a test engine in Rust that drives Chromium directly over the Chrome DevTools Protocol (Page.navigate, Runtime.evaluate, Input.dispatchMouseEvent). It came into this repository with its history, and the TypeScript engine translates recordings into its format.
To trust a second engine you compare it with the first. The Engines tab replays every recording with both, several times, and reports whether they agree:

On the five public example sites they agreed on all 36 checks, and the Rust engine was 2.8 to 14.5 times faster per check. On the local playground it is about 25 times faster. It only replays: learning and repairing always go through Playwright, and so do checks that need its device profiles, its video or its traces.
Node, then Bun
The engine is a Node CLI, which was perfect for building it and a problem for shipping it: a tester would need Node, npm and a npm install of Playwright. The app now carries the engine compiled into one executable with bun build --compile, about 90 MB. Three things needed care:
- No
dist/on disk. The MCP tool server used to be a separate script. In a compiled binary there is no script to start, so the tool server is now a hiddentool-servercommand of the engine itself, and Claude's MCP config points at the engine. - No
node_modules. axe-core, the accessibility rules engine, is injected into pages as source. A build step embeds it as a string in a generated TypeScript file, and the same trick embeds Playwright's table of browser builds. - No browser. On first launch,
bugsitter setupdownloads the exact Chromium build that Playwright version expects (about 95 MB) into Playwright's cache. Without it, Bugsitter falls back to an installed Google Chrome, without video.
The JIT that Bun's JavaScriptCore needs doesn't run under the hardened runtime without entitlements, so the engine is signed separately with allow-jit before the app is notarized. That was the last thing between Xcode's Archive button and a notarized disk image.
Watching it work
Checks run in parallel in a hidden browser. To still show what they're doing, each Playwright page starts a Chrome DevTools Protocol screencast (Page.startScreencast) that writes its newest frame to a JPEG. The app shows one tile per running check:

Free extras
Since the browser is already on each page, a few checks cost nothing:
- Accessibility. Every page a check visits is scanned once with axe-core against WCAG 2 A and AA rules. Findings show at the top of each run, worst first, and never change a check's result. It found issues on five of my six example sites, this one included.
- Phone-size screens.
@phoneruns a check with Playwright's iPhone profile: screen size, touch and a mobile user agent. - Coverage. Which requirements have a check and whether it works, which checks link to no requirement, and which screens of the site map no check visits.

How do you know?
- 41 engine tests, including a local site with a sign-in for the replay, login and read-only tests, run against both engines, and 10 app tests.
- A dry run on the packaged app: all 39 recorded checks on the six example sites replay without AI, the engines agree, and Claude finds the planted bug.
- Real bugs found. The planted one, of course. And on haveiread, a check that a page loads without errors failed because
/favicon.icoreturned a 404. That one is mine to fix.
What's not there yet
This is a prototype, and the list is long:
- Apple Silicon only. The compiled engine and the Rust engine are arm64 builds.
- Chromium only. Safari's engine and Firefox are a Playwright setting away, but not done.
- Claude Code only. Codex is detected and shown in Settings, but Bugsitter can't drive it yet. The engine doesn't care which agent speaks MCP; the adapter is what's missing.
- The Rust engine doesn't do saved values, sessionStorage in saved sessions, video, accessibility or device sizes yet.
- Codes by email or text message need you to sign in by hand. Reading them from an inbox would need an inbox service.
- Testing depth (smoke, standard, thorough) isn't a setting yet. Exploring picks what it thinks matters most.
- Formats will change. Recordings are at version 2 and may not be the last.
Try It
Ask for early access at bugsitter.com. The app opens with a short setup and a tour on the playground, so you can watch Claude find the planted bug before pointing it at your own site. Replays are free; learning runs on your own Claude plan, and every check shows what it cost.

Timeline
The first commit was December 5 at two in the morning: a vision document and some example specs. By four there was an engine that explored and replayed, with a Mac app around it. The afternoon brought the Rust engine and the engine comparison; the evening logins, read-only, value rules, coverage and bug reports; the night packaging, notarization and bugsitter.com. After midnight came auto-update, the tour, signing in by hand, accessibility and phone sizes. 62 commits, about 8,000 lines of TypeScript, 8,500 of Swift and 2,000 of Rust.
Claude Code wrote nearly all of it. I decided what to build, pointed it at my own sites, and tested what came back, which is roughly the job Bugsitter is meant to do for web apps.
Daniel Wanja is a developer and founder of Nouvelles Solutions, Inc. His web apps now have someone sitting them.