Take the Wheel
An AI browser agent. Personal project in JavaScript and Node.js.
- A Chrome side panel and Node.js runner that let Claude drive a live browser tab, with streamed step events, resumable sessions and a stop control.
- Safety limits live in code, not prompts: a fail-closed guard that checks every command before it runs, an isolated workspace, a token-authenticated local runner, budget and turn caps, and a submit lock that opens only when the user's task asks for it.
- I found that the tool allowlist was never the real boundary: it let the agent reach the user's GitHub login and local files. The guard replaced it, with 67 test cases in CI across Node 20, 22 and 24.
- I tested the agent like any system under test and caught it reporting 25 of 25 items done when 23 were verified. After I redesigned how it reads a page, it reached a verified 25 of 25.
- 25 of 25
- verified, up from 23
- 4 turns
- down from 29
- $0.034
- per task, down from $0.33