On 20 November 2026 Mickey Petersen (author of Mastering Emacs) released DreamCoder after roughly fifteen months of work. It is a local coding harness and IDE that runs on your machine and is driven through a browser at localhost:9889. The distinctive piece is a tiling window manager: every agent conversation, terminal, review pane and task gets its own tile. A minimap shows which tiles are running, blocked or finished. Keyboard mode (WASD to move/swap/resize, Q/E for workspaces) and an “Alt+W” jump mode that labels links, tables and images for one-key access make it feel closer to a proper window manager than a chat sidebar.
The design target is clear from the announcement and the early HN thread: managing more than one or two agents without losing the plot. You can import Pi, OpenCode and Codex configs, run background sub-agents, keep terminals and reviews side-by-side, and resume the exact layout from another device. Open-weight models (Qwen, Gemma, DeepSeek, GLM) are called out as a priority. Personal use and teams of up to five are free; beyond that it is a per-seat model. It is not an Emacs package — Petersen explicitly left the single-threaded Emacs architecture behind for concurrent agent work.
That UI problem is real. Terminal agents and sidebar chats force constant context switching once you have more than a couple of long-running tasks. A tiling surface that keeps token spend, status and outputs visible reduces the “where did that agent go?” tax.
The overlay problem is still downstream of the capture path
DreamCoder (or any agent harness) is excellent at orchestrating tool use, code edits and long-running research once text is already in the context. It does not solve the first 80–150 ms of a live Windows interview or call overlay. Those milliseconds are spent inside the audio engine before any sample reaches a model or an agent.
A usable dual-track path still looks like this:
- Microphone:
IAudioClienton the capture endpoint, preferably exclusive mode or a short shared-mode period (5–10 ms). - Loopback:
IAudioClienton the render endpoint withAUDCLNT_STREAMFLAGS_LOOPBACKso you get what the remote party hears through Teams/Zoom/Meet/browser without relying on a virtual cable. - Audio-thread callbacks do nothing but copy PCM into a lock-free SPSC ring (power-of-two capacity). No model work, no locks that can stall the callback.
- Consumer threads resample to 16 kHz mono, run a cheap energy/VAD gate, and feed either a local streaming session or chunked local model.
Typical additive budget once samples leave the callback (measured on a mid-range Windows 11 laptop, shared mode with enhancements off):
| Stage | Typical cost |
|---|---|
| WASAPI shared period | 10 ms (5–8 ms if requested) |
| Callback → ring copy + format convert | 1–3 ms |
| Resample + lightweight VAD | 2–5 ms |
| Local model first partial (or network RTT) | 40–150 ms |
| Overlay paint | <16 ms |
A 0.5 B open-weight ASR checkpoint or a Windows ML Task API session only affects the model stage. If the capture period is a 40 ms Bluetooth shared-mode buffer plus engine APOs, the recognizer starts late regardless of how pretty the agent tiling UI is.
Wiring agents to the overlay
Once the two tracks are clean and separated you can:
- Send the remote-party loopback track to a local or hosted STT stream (FunASR MCP, Rumble-2-Flash via Transformers/vLLM, Windows ML Speech Recognition Task with Whisper/Nemotron, etc.).
- Feed the resulting text (plus optional agent context) into a small local model or an MCP tool for translation polish / short suggestion.
- Keep the mic track for your own side if you want barge-in or self-transcription.
- Surface the result in an overlay that is independent of the coding-agent tiling surface.
DreamCoder (or Claude Code, Codex, Qwen Code, etc.) can still be the place you manage longer research tasks, generate test cases, or draft follow-up questions after the call. The live suggestion loop that has to stay under a few hundred milliseconds lives in the WASAPI + ring + VAD + model path, not in the browser tiles.
Trade-offs that actually matter:
- Exclusive mode gives the lowest period but breaks other apps that want the same endpoint. Short shared mode with enhancements disabled is the usual shipping compromise.
- Lock-free rings beat mutexes in the audio thread; the consumer can tolerate occasional overruns better than the callback can tolerate stalls.
- Local models remove the network leg and keep audio on-device; they still wait on the same buffers. A 0.5–1 B checkpoint that was trained on noisy/accented material reduces fallback cases but does not shrink the capture floor.
- Agent harnesses that support MCP let you expose the transcription or suggestion tools to longer-running agents, but the real-time path should not round-trip through an agent loop if latency is the constraint.
Practical next steps
If you are already running multiple coding agents, the tiling surface in DreamCoder (or the session sync in tools like Atuin Threads) reduces the management tax. For any live audio overlay on Windows the order of work is still:
- Get dual-track WASAPI (mic + loopback) with a short period and no engine enhancements.
- Copy into a lock-free ring; do no model work in the callback.
- Resample / VAD / feed model on consumer threads.
- Only then worry about which agent harness or local model sits on top.
The browser tiling UI is a quality-of-life win for the human. The capture path is still the thing that decides whether the overlay feels usable.
I'm building Talkaside, a Windows app for job interviews and calls in another language.
Drafted with AI assistance from this project's code and logs.


Top comments (0)