Copresence
Interaction models, reverse engineered
48 s
A voice assistant built on a turn-based API waits for you to finish, thinks, and then talks, and an instruction you gave it early on decays in its context. In May 2026 Thinking Machines Lab described interaction models, which perceive and respond in real time inside the conversation. A fast model talks while a slower background model reasons, and the two share context. You cannot rent that model, and I cannot train one. But the way it is put together is an architecture, and an architecture can be rebuilt from parts.
Copresence is that rebuild, in Python. A rented realtime voice session, Gemini Live today, carries the conversation. Beside it, an orchestrator runs the whole time. It owns the clock, starts research while you are still talking, enforces standing rules with timers and a screen watcher, keeps memory in SQLite, and decides when something is worth saying. The voice sits behind an adapter, so a better realtime model can replace Gemini and the rest stays as it is.
- under 150 ms
- From you starting to speak to its playback stopping
- 150 ms
- Median from a trigger event to spoken words, orchestration only
- 0.0 s
- Observed gap when a pre-warmed session replaces one that aged out
- 0
- Expired deliveries in a simulated storm of 1,031 events over 60 seconds
Decisions
It answers at your pause. At every pause a predictor scores the pitch at the end of what you said, the last words of the transcript, and how long you usually pause. A confident end of turn commits after about 160 milliseconds of silence. An ambiguous one waits for the usual 900, so a wrong guess costs ordinary latency and never cuts you off. Your habitual mid-sentence pauses train a threshold of your own, which rises whenever it commits too early.
Research starts from half a sentence. When you say "could you check what flights to Tokyo cost in", the router delegates a task before you finish, a worker calls the tool in the background, and the answer waits for your next pause. If you change your mind mid-sentence, the task is cancelled and you never hear about it.
A queue written in code decides who speaks. Your speech always wins, reminders you asked for outrank its own remarks, duplicates merge and stale items are dropped. If you interrupt one of its unprompted remarks, it gets less chatty.
Rules run on timers and the screen watcher, outside any model, so "remind me every 30 minutes" fires in hour three the same as in minute one. Facts live in a SQLite graph where a new fact replaces the one it contradicts, and when a voice session ages out, a pre-warmed spare takes over with that state, with no new greeting and nothing forgotten.
When something fails, Copresence goes quiet. If a model hangs, it stops waiting after 800 milliseconds, and timeouts, crashes and bad JSON all leave a polite listener.