Tracking Down a Mystery Beep By Giving a Coding Agent a Few Ears Simon Willison built beep-locator, a Python web server that turns ordinary devices into listening posts via the Web Audio API so a coding agent could triangulate an intermittent beep in his room; the culprit was an old carbon monoxide detector buried in a box and chirping its low-battery warning. The project's point, Willison writes, is giving a coding agent its own real-world sensing so it can gather audio data and recalibrate during development without manual recording. The code is published in the beep-locator GitHub repository. Simon Willison recently used a coding agent in an unusual way. A software system temporarily used the microphones on devices scattered around the room to triangulate the source of a mysterious, intermittent beep https://simonwillison.net/2026/Nov/9/mysterious-beeps/ coming from within one of the many boxes in the room. The main part of the system is a Python web server, and the listeners can be any old devices one might have hanging around. Scan a QR code, and the device becomes a listening post by leveraging the Web Audio API. With listeners spread around the room, the system has everything it needs to patiently wait, listen, and zero in on the mystery beep. The culprit? An old carbon monoxide detector, buried in a box and emitting a low battery chirp. That’s neat, but what this project really demonstrates is the benefit of hacking together a way for a coding agent to actually sense the real world, the better for it to design a solution to a physical problem. The ad-hoc framework of web-based listeners allowed Simon to give the agent the ability to gather audio data on its own to refine and recalibrate its approach during development, without any need for him to record audio and pass it on manually. It’s a bit reminiscent of this WiFi analyzer connected to an AI model https://hackaday.com/2026/10/31/diy-wifi-analyzer-sniffs-out-congestion-and-coverage-issues-suggests-fixes/ , a project that hints at the possibilities of a physical tool that can be steered by an agent. Check out the GitHub repository for beep-locator https://github.com/simonw/beep-locator if you’d like a closer look at the code itself.