The provided text is a blog post by Simon Willison titled **"Mysterious Beeps"**, detailing a project he undertook to locate a mysterious beeping sound in his house using a custom software system called **Beep Locator**. The post is rich with technical details, personal anecdotes, and reflections on AI-assisted programming.

Here's a structured summary of the key points:

---

### 🎯 **Problem**
- A **mysterious beeping sound** was coming from a **box room** filled with unpacked boxes.
- The beeps were **intermittent**, making it hard to locate the source by ear.
- Simon didn’t want to manually dig through every box.

---

### 🛠️ **Solution: Beep Locator**
A **software system** built using **AI (Claude Code)** to **triangulate the source** of the beep using multiple devices (phones, tablets, laptops) as microphones.

#### ✅ Features:
- **Web-based UI** hosted on a Python server.
- Devices connect via **WebSockets** and use **WebAudio API** to capture audio.
- **Triangulation** based on **sound arrival times**.
- **Calibration** via device-to-device chirps (though this was unreliable).
- **Rough mode**: Manually drag device icons to approximate positions, then auto-adjust.
- **Clap detection**: Allows testing by clapping (shown as diamonds on the map).
- **Beep detection**: Uses **FFT + high-pass filter** to identify beeps.
- **Replay function**: Play back recorded clips from each device to confirm the source.
- **"This is the mystery beep"** button to mark confirmed beeps.
- **Suggested listener placement**: Recommends where to add a new listener for better accuracy.

#### 📊 Visual Output:
- A **map** showing device locations (colored dots), sound events (X’s), and triangulated mystery beep.
- **Sound log** with timestamps and playback.
- **Loudness warmer/colder** bar showing relative volume per device (helps estimate distance).

---

### 🧠 **How It Works**
- Inspired by the **BeepBeep** paper (2007) by Chunyi Peng et al., which uses **two-way sensing, self-recording, and sample counting** for high-accuracy acoustic localization.
- **Main server** coordinates everything.
- **Listeners** record audio, detect beeps, and send events to the server.
- When a beep is detected, the server triggers a **chirp** from the closest device, then asks all listeners to upload a **short audio clip** (aligned via the chirp).
- The server uses **time-of-arrival differences** to triangulate the source.

---

### 🧩 **Development Process**
- Started with **Claude Code Cloud** (Opus 5.5) on iPhone.
- Prompted Claude to:
  - Write a **problem.md**.
  - Research the **BeepBeep paper**.
  - Build the system.
- Later switched to **Claude Fable 5.2** on laptop for **live coding**.
- Used **hot-swappable JavaScript modules** via WebSockets to update listeners without reloading.
- **No manual intervention** needed after setup — Claude could run and improve the system autonomously.

#### Key Prompts Used:
- "Drag things around on the map in rough mode"
- "Listen for claps and show them on the map"
- "Add timestamps to symbols"
- "Add a play button to replay clips"
- "Add a 'This is the mystery beep' button"
- "Add a 'Reposition devices' feature"
- "Suggest where to add a new listener"

---

### 🎯 **Outcome**
- The system **successfully located the beep** within **~40 cm**.
- Simon found the source: an **old carbon monoxide detector** needing new batteries.

---

### 🧠 **Insight: Giving Claude Code "Ears"**
- Claude doesn’t have native audio input, but it can:
  - Run **JavaScript** to access **WebAudio**.
  - Send **live code updates** to devices via **WebSockets**.
  - **Analyze audio logs** and **reconfigure its perception**.
- This demonstrates **AI agents with sensory input** — a powerful step toward **autonomous coding agents**.

---

### 🌟 **Broader Implications**
- **AI-assisted programming** can solve real-world problems with minimal human input.
- **Coding agents** can **perceive** the world (via cameras, microphones, sensors) and **act** on it.
- Similar to **Martin Woodward’s** hack at GitHub Universe: using a **webcam to monitor a device screen** for debugging.

---

### 🏷️ **Tags**
- `projects`, `ai`, `generative-ai`, `llms`, `claude`, `coding-agents`, `claude-code`, `claude-mythos-fable`

---

### 📅 **Date**
- Published: **November 9, 2026**

---

### 🔗 **Links**
- [Beep Locator GitHub repo](https://github.com/simonw/beep-locator)
- [BeepBeep paper](https://www.cs.purdue.edu/homes/chunyi/pubs/sensys106-beepbeep.pdf)
- [Claude Code Cloud session](https://claude.ai/code/cshk_016BvfqAWf7MeGZKeYCrUnN2MmRfCSAX9Gu8DiptXMuH9P)

---

### 💡 **Takeaway**
This project showcases how **AI coding agents** can **perceive, reason, and act** in the real world — not just write code, but **solve physical problems** using **sensory input and autonomous iteration**. It’s a glimpse into the future of **autonomous AI developers**.