{"slug": "tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears", "title": "Tracking Down a Mystery Beep By Giving a Coding Agent a Few Ears", "summary": "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.", "body_md": "[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.\n\nThe 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.\n\nThat’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.\n\nThe 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.\n\nIt’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.", "url": "https://wpnews.pro/news/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears", "canonical_source": "https://hackaday.com/2026/11/18/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears/", "published_at": "2026-11-19 00:00:53+00:00", "updated_at": "2026-11-19 00:11:32.033834+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["Simon Willison", "beep-locator", "Web Audio API", "GitHub", "Hackaday"], "also_reported_by": [], "takeaway": "Giving a coding agent direct sensor access — here, QR-code-paired browser listeners feeding a Python server — let it collect and recalibrate on real audio data without a human recording and passing files manually.", "recommendation": {"advice": "Wire sensors directly into the agent's loop so it can gather and recalibrate on real data itself, as beep-locator did with QR-paired Web Audio listeners feeding a Python server.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears", "markdown": "https://wpnews.pro/news/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears.md", "text": "https://wpnews.pro/news/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears.txt", "jsonld": "https://wpnews.pro/news/tracking-down-a-mystery-beep-by-giving-a-coding-agent-a-few-ears.jsonld"}}