StandardsAboutContact
The Weights
Claude Code Built a Beep Locator That Found a Dead Alarm

Claude Code Built a Beep Locator That Found a Dead Alarm

An agent-built acoustic triangulation tool narrowed a mystery beep to about 40 cm. It is one room and one anecdote, but the workflow is credible.

Beep Locator is a real, working result, not a demo: Claude Code built a multi-device acoustic triangulation tool that narrowed a mystery beep to about 40 cm, per its author. The evidence is a single anecdote with a clear success, but it shows agentic coding handling hardware-in-the-loop debugging.

The Weights Desk · 3 min read

A coding agent built a tool that located an intermittently beeping device in a cluttered room, and the result held up in the one test that matters: the author reports finding a carbon monoxide detector with dead batteries within about 40 cm of the estimate. The project, Beep Locator, is documented in a blog post and an open repository. Both are first-party, so this is a credible proof of concept, not an independent evaluation.

How the system works

Beep Locator turns spare devices into a microphone array. Each listener keeps a rolling 60-second audio buffer in the browser, flags candidate beeps with an FFT-based detector, and reports them to a Python server. The server has the nearest device play a chirp so every uploaded clip can be aligned in time, and the arrival differences feed a location estimate. Per the repository README, everything runs on WebAudio and WebSockets, and the design follows the 2007 BeepBeep acoustic ranging paper.

What Claude Code did, and what needed a human

Claude Code wrote the first version from a problem description, including reading the BeepBeep paper, but nothing had been run at that point, according to the author. Debugging then happened live: the server could push new JavaScript to connected devices without reloading pages, which avoided re-granting microphone permission. One design element failed: having devices ping each other to map their own positions worked poorly, so a manual rough-placement mode was added. The tool needed human judgment and a hand-placed layout to work.

Where it breaks

The README lists real constraints. Phones need HTTPS to open the microphone, so setup relies on cloudflared tunnels. Listeners need volume up, silent mode off and the screen on. Distances alone cannot separate a room from its mirror image, so the map must be flipped by hand. Device-to-server clock mapping is only accurate to tens of milliseconds. The author's own interface warns when arrival times are physically impossible, which can signal echo or a different sound source.

Verdict: a credible proof of concept, not a benchmark

Treat this as feasibility, not measured performance. The reported outcome was a location within about 40 cm, and a dead-battery detector in that pile of boxes. That is one room, one author, no baseline against searching by hand, and no error distribution. Anyone needing repeatable accuracy, or a locator for safety-critical devices, should not rely on it. The signal is the workflow: an agent with a live feedback loop on real hardware. We could not independently reproduce the run.

Did the Beep Locator actually find the beeping device?
Yes, according to its author. The system placed the beep within about 40 cm, and searching that pile of boxes turned up an old carbon monoxide detector that needed new batteries.
Can Claude Code hear audio?
Not natively. The author describes it as giving Claude Code ears: the agent processes microphone data through code it runs, using browser WebAudio on each listener device.
Is this evidence that agents can debug physical problems reliably?
No. It is a single successful anecdote with no comparison against searching by hand and no measured error rate. It shows feasibility, not reliability.
  1. Locating the source of a mysterious beep with Claude — Simon Willison
  2. simonw/beep-locator repository (README, problem.md) — GitHub