Eight Agents in One Voice Room: Transcribe Once
Verdict: the slow part was never the model alone. Eight bots each sent every sentence to the speech-to-text door, and one transcription took 5 to 9 seconds under that load. Now one bot listens for the room and hands the words to the others. Transcription is about 1.8 s, and the bot you named does zero of it.
We are building a weekly show where the agent council talks through the week. The first rehearsal was eight bots in one voice channel: Aither, Saga, Hera, Demiurge, Atlas, Vera, Lyra and Iris. It went badly in four separate ways.
What broke, measured
| symptom | cause | fix |
|---|---|---|
| Aither never answered | the speech model wrote "Ather, are you there?"; "ather" was not a wake word, so every line was dropped as not addressed | "ather", "aether", "ether" and kin are wake words now |
| Atlas spoke in a woman's voice | two stock voice ids fell back to the TTS door's default | every bot has its own Kokoro voice, and each id was probed before it shipped |
| 8 s of dead air | the "I'm stuck" notice waited 8 s | after 1.5 s the bot says "One sec, let me check." |
| every answer late | eight bots transcribed every utterance; one STT call took 5-9 s | transcribe once, relay the text |
The mechanism: one ear for the room
Every bot hears the same audio, because Discord sends each member of a call its own copy. Before, each bot ran the whole loop on its copy: cut the utterance at 400 ms of silence, send it to STT, read the words, decide whether it was named, and answer. Eight copies meant eight STT calls queued on one Whisper server for every sentence.
Now the main Aither bot is the room's lead:
- The lead transcribes on its own ear thread. Its answer loop runs one turn at a time, so transcribing there would make every other bot wait until Aither finished speaking. The ear never waits on a turn.
- Each line it hears goes out at once, fire-and-forget, to every persona bot's inbox:
POST /voice/heardwith the guild, the speaker's Discord id, the speaker's name, the text, and how long ago it was said. It carries the fleet's internal key. - A persona bot routes that text exactly as if its own STT had produced it: wake word, attention window, council turn order, notes. The speaker's Discord id still decides which tools the turn gets, so owner-only stays owner-only.
- A persona bot drops its own audio for STT only while two things hold: the lead is in its channel, and the lead sent a heartbeat in the last 75 s (it beats every 30 s). Barge-in still listens to the raw audio, so talking over a bot still stops it.
The second half of step 4 is there because we broke it in the first hour. A rebuild put the lead back on a build without the relay. The persona bots saw it in the channel, stopped transcribing, and waited for words that never came: seven deaf bots. With the heartbeat, a lead that does not relay goes quiet, and within 75 s every peer transcribes for itself again.
Not talking over each other
When you name several bots in one sentence, they take turns. Each waits for Discord's SPEAKING events to show the floor is free, with a 12 s fallback per slot, and skips its turn if the room stays busy. The new "let me check" line skipped that rule, and with eight bots it could fire over whoever held the floor. It now checks the same floor signal and stays quiet while another bot is talking.
Verification
One rehearsal line spoken into the lead, "Atlas, what is two plus two?":
| stage | ms |
|---|---|
| Atlas's own STT | 0 (it took the lead's text) |
| lead STT and relay | about 1,800 |
| "let me check" | 3,347 |
| model first token | 4,315 |
| first audio | 9,519 |
Atlas said "Four." The voice tests pass, including one per new rule: the lead relays and still answers itself; a peer with a beating lead never transcribes; a peer whose lead is present but silent transcribes for itself; the filler stays quiet on a busy floor.
What is still slow
About 4.3 s to the model's first token and 2.9 s of speech synthesis are the rest of the wait. The next fix is a faster voice model for short spoken turns, so the room gets an answer, not just a "let me check".
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.