The app
VoxLoop is a small instrument made from your own voice. You record a sound, a "boom", a "tss", a hum, it lands on a sixteen-step grid, and you layer up to ten of them into a loop, each with its own level, tuning and echo. Everything runs on the phone: no account, no network. It ships on Android and iOS from one Kotlin Multiplatform codebase, with the audio effects written once in shared Kotlin.
I also used it as an experiment in how I build software. Every feature started as a spec, and the work was split between three AI agents with deliberately narrow jobs.
Writing the spec before the code
OpenSpec gives the project a living description of what the app does, split by capability: recording, playback, the step sequencer, the mix. A change never edits that description directly. It starts as its own folder with a proposal (why it is needed, what changes and, just as important, what is out of scope), a design, the delta to the specs and a task list. When the change ships it is archived and its deltas are merged back into the living specs. Four changes took the app from a single sample played on four effect strips to a ten-sound sequencer with a per-sound mix.
What I came to value most was the out-of-scope list. Writing "no swing, no undo, no export" into a proposal settles arguments before they start, for me and for the agents, and keeps each change small enough to finish.
Three agents, one contract
The DJ is a music and sound-design persona I bring in while exploring an idea. It knows loop stations, tempo-synced delays and how a gesture should feel under a finger, and its job is to propose and critique, honestly. It can read the project but never writes code or specs. The architect owns everything behind the screen: interfaces first, then implementations, dependency injection, ViewModels, the shared DSP and the tests, including the rule that nothing on the real-time audio thread allocates or blocks. The design-system agent owns only the UI: stateless composables, previews, strings and accessibility, built from the project's tokens and design docs.
They meet at a contract. Every task is tagged as UI or code, and the first group of tasks defines the seam between them: the view state, the events and the public interfaces. Once that compiles on both platforms it is frozen, and the two sides work in parallel. If the UI agent finds something missing, it stops and reports it instead of changing the contract itself. The idea is borrowed from how teams work: agree on the interface, then stop stepping on each other.
What it gave me, and what it cost
The specs became the project's memory. Agents start every session cold, and a proposal and design that say what was decided and why are far more reliable than chat history. Narrow agents are also easier to keep on the rails: a short list of rules that only concern UI, or only concern code, is followed more consistently than one long list that covers everything. And the archive reads as a decision log I can come back to months later.
The cost is ceremony. For a one-line fix, a proposal, a design and a task list are pure overhead. Specs drift if a finished change is not archived promptly; one change had to begin by closing out the previous one before its own specs would validate. When the contract turns out to be wrong halfway through, fixing it means going back through planning rather than just editing a file. Splitting work between agents also costs time and tokens on hand-offs and on re-reading context.
Most of all, the agents follow the spec faithfully, including its mistakes. The quality of the result is decided in the proposal, and that review stays with me. Things only a real device can tell you, like latency and how a sound actually feels when you play it, still have to be checked by hand.
On balance I would use this setup again for anything that lives longer than a weekend. The process is less about controlling the agents than about making me write down what I want before anyone, human or model, starts typing.