Voice calls
Talk to your agents from a voice-call overlay on your personal Activity dashboard instead of typing. A call is in one Slack conversation at a time: what you ask for runs there, as you, and everything said is logged there. You can ask what you are working on, move the call to another conversation or channel, and keep talking.
What a call does
Section titled “What a call does”- Open a call from any of three places: the 📞 Call button under an agent reply (a private link, yours alone, valid ten minutes, opens the dashboard with the overlay bound to that thread), the Call the agent icon on an Activity row, or the dashboard’s own 📞 Call button, which starts a call in no conversation yet. The Slack button is only shown while the gateway has voice calls configured.
- Press Start call, allow the microphone and talk. The voice knows your eight most recent open conversations (the same list as your Activity page) and, when the call is in a thread, its recent messages (up to 40, read before it says a word). You can interrupt it. The voice is the phone line, not the agent: it knows only what is in those messages and what the agent answers. Ask “what did the agent write about the deploy?” and it quotes the thread; ask anything that is not in a message and it tells you it is asking the agent, posts the question in the thread as “🎙️ You (voice call): …” and relays the reply when it arrives. It never fills in an answer of its own. The call opens in a side panel on the right; the dashboard stays usable beside it. While you are in a call the header’s 📞 Call button turns green and shows the call time — click it (or the panel’s ×, or press Escape) to hide or show the panel and its transcript; hiding never ends the call. While in a call, clicking another row’s Call the agent icon moves the existing call to that thread. Each thread receives the transcript of the time spent there.
- Ask “what am I working on?”, “what is waiting in #sales?”, or “find the pipeline review”: the voice lists or searches your own conversations, with a channel filter when you name one. Say “open that one” or “switch to #sales”: the call moves there. The thread you leave receives the transcript of what was said while you were in it; the new thread gets a “joined by voice call” note and the voice tells you where it left off. Naming a channel without a conversation puts the call at that channel’s top level: nothing is posted until you ask for something.
- Ask for work: “build the export, run the tests, tell me when it is done”. The voice hands the request to that channel’s agent, which runs it as a normal turn in the current thread — in the channel’s container, with its files, tools, memory and credentials, under the channel’s mode and queue. The thread shows your request as “🎙️ You (voice call): …”, the live progress card and the agent’s answer with the usual footer. At a channel’s top level the request itself becomes a new channel message, exactly like a typed @mention: everyone sees it in the channel, the agent answers in its thread, and the call follows that thread for your next requests (say “switch to #channel” again for a fresh top-level message). The voice tells you when it is done. If you have moved the call elsewhere since, it only says in one sentence that an answer is waiting in that other conversation and offers to switch back; the content is read once you switch or ask for it. Ask “is it done?” or “what was said here?” at any time.
- Say “mark this thread done” or “close this conversation” to complete it directly. You must be the thread’s starter with current access. For another conversation, open it first; the voice resolves ambiguous references and names the conversation in its acknowledgement. Completion updates Activity and the Slack root checkmark without dispatching a task, cancelling work or ending the call. If Slack cannot add the checkmark immediately, Done stays saved and the marker retries. “The agent finished” alone does not request completion. Participants can use personal Hide in Activity instead. A new spoken task in the thread reopens it. New threads started by a spoken task belong to the caller.
- Say goodbye or press Hang up. The current thread receives the call summary: duration, the tasks you dispatched, the estimated voice cost, the other conversations you visited and the last segment’s transcript. One line about the call (date, duration, conversations, tasks) is saved to your DM memory, so your personal agent remembers what you were working on.
Make it talk the way you want
Section titled “Make it talk the way you want”Activity → Settings → Voice calls is yours alone and applies to your next call:
- Language — the default it speaks; leave it empty and it follows whatever language you use. Switching language mid-call works either way.
- Style — Brief (short answers, gets on with it), Conversational (a little more, elaborates when asked) or Thinking partner (listens while you think aloud, reflects back, asks one question at a time, proposes only when asked).
- Patience — how long it waits after you stop talking: Quick, Normal or Patient, which waits through pauses and asks whether you are done rather than answering a half-sentence.
- Your instructions — free text up to 2,000 characters, read at the start of every call after the gateway’s own rules: how to address you, what to confirm before doing, what to keep short.
The voice is also briefed about you on every call: your name and role, your open conversations, the current thread’s recent messages and your last five calls (from your own DM memory).
Calling from a phone
Section titled “Calling from a phone”The call is a web page, so it behaves like a call only as far as the phone’s browser allows:
- While the call is up the page holds a screen wake lock, so the phone does not auto-lock mid-call (Chrome on Android, Safari on iOS 16.4 or later). Hiding the panel keeps the lock.
- Leaving the page no longer hangs up at once: the call is suspended for 45 seconds. Come back (unlock, return to the tab or app) and it continues; stay away and it ends with the usual summary, “the caller’s device went away”.
- For the most call-like experience on iOS, install the Activity dashboard to the home screen (Share → Add to Home Screen) and call from the installed app. Browsers still reserve the right to pause a background page; if a phone drops the call after a manual lock, note its OS version.
Who may call, and what the voice can see
Section titled “Who may call, and what the voice can see”The same rule as the Dashboard button: an approved user or admin who may post in that conversation (channel access policy, membership for private conversations). The call is admitted when the link is minted, again at every switch, and the caller is re-checked on every audio chunk and on hang-up.
The voice sees exactly what you see on your Activity page: your own conversations, never somebody else’s threads. Thread contents are read only for the conversation the call is in. For anything beyond that — “search #sales for what Alex said about pricing” — the voice offers to hand the search to the channel agent as a task, which then runs with that agent’s own reach (channel memory, files, agent mail). The voice never guesses what is happening elsewhere.
Tasks dispatched by voice are turns authored by the caller with origin voice_call. They are
interactive (progress, queue position) but never get the admin permission bypass, even for an
admin caller in an Admin channel: the task runs as Worker and tool requests appear as approval
cards in the thread. Open the thread in Slack to answer them.
Limits
Section titled “Limits”- One call per person at a time (a new call replaces the previous one), at most eight calls per gateway, at most twenty tasks per call and three in progress per conversation (tasks in different conversations run in parallel; tasks in the same one wait on its queue like typed messages).
- The list shows up to 20 conversations per request; the voice starts with the eight most recent open ones and asks for more when needed.
- A call ends after 60 minutes, after five minutes without audio, on hang-up, when the voice is asked to end it, or when the voice service drops the connection. Closing the tab (or locking the phone and not coming back) ends it 45 seconds later.
- Transcripts posted to a thread are capped at roughly 2,800 characters per segment; the task result the voice hears is capped at 1,500 characters. Nothing is spoken that the agent did not produce.
- A gateway restart ends active calls without posting a summary.
Administrator setup
Section titled “Administrator setup”Settings → Voice calls:
- Enable voice calls — off by default.
- Gemini API key — create one in Google AI Studio (both the classic
AIza…and the newer dottedAQ.…shapes work). The key is stored in gateway settings only: listings return configured / last four characters, the value is revealable only throughPOST /api/secrets/revealwith the admin password, and it never reaches a browser or a channel container.GEMINI_API_KEYin the daemon environment is accepted as a bootstrap fallback. - Voice model —
gemini-3.8-live(default) orgemini-2.5-flash-native-audio-preview-12-2025. - Voice — one of Gemini’s prebuilt voices (Kore by default).
The Activity dashboard must be reachable at the configured Public URL over HTTPS (browsers
only grant microphone access on secure origins). No WebSocket support is needed on the edge: the
browser sends audio as small application/octet-stream POSTs and receives everything over one
server-sent-events stream, the same transport the dashboard already uses. A gateway restart is
needed after the first deployment of the feature, like any server-side change.
Cost and accounting
Section titled “Cost and accounting”Voice minutes are billed to the Gemini API key. At the paid-tier rates of November 2026
(audio in $3 / M tokens, audio out $12 / M, text $0.75 / $4.50) a conversational minute costs
about $0.015–0.025. Each call writes one usage row with engine gemini-live and task kind
voice-call (audio + text tokens in and out, the estimated cost from those rates, the duration),
and every dispatched task is accounted like any other turn under the engine that ran it, task
kind voice-task. voice_call_started, voice_call_bound and voice_call_ended events carry
the call id, thread, caller, duration, cost, conversations visited and reason.
How it is built
Section titled “How it is built”src/gateway/voice/gemini-live.js— the Gemini Live client: one WebSocket per connection (Node’s built-in client, binary frames), thesetupmessage (audio response, prebuilt voice, system instruction, function declarations withNON_BLOCKINGwhere the call returns immediately, input and output transcription, sliding-window context compression, session resumption), 16 kHz PCM frames up, 24 kHz PCM parts down, usage deltas by modality, automatic reconnection with the resumption handle ongoAway.src/gateway/voice/calls.js— the call manager: admission, binding and switching (with the segment transcript posted to the thread left behind), the system instruction with the caller’s recent conversations and the current thread’s messages, the voice’s tools (list_conversationsandsearch_conversationsover the caller’s Activity snapshot,switch_conversation,run_taskas arunMessageturn withorigin: "voice_call"behind the thread’s run queue with live progress,check_tasks,read_thread,end_call), hang-up summary, accounting and the DM memory line.src/web/activity.js— the routes under the caller’s Activity session: the dashboard with?call=<channel>[&thread=<ts>],POST /:id/call/start(bound or not),GET /:id/call/:callId/events(SSE),POST /:id/call/:callId/audio,POST /:id/call/:callId/switch(owner-only, CSRF-protected destination change),POST /:id/call/:callId/end, the AudioWorklet module at/activity/call-worklet.js, and a redirect for the older standalone-page links. The Activity view’s CSP additionally allows same-origin scripts for that worklet.src/web/call-overlay.js— the overlay: microphone capture through an AudioWorklet (ScriptProcessor fallback), 120 ms batches resampled to 16 kHz, gapless playback of the 24 kHz replies with interruption support, the screen wake lock, the suspend beacon onpagehide, the current conversation, live transcript and task list;src/web/activity-page.jsmounts it and wires the row and top-bar actions.src/slack/call-button.js+src/slack/footer.js— the reply-menu button and its private launch.
Incoming iPhone calls
Section titled “Incoming iPhone calls”On the incoming-calls feature branch, set up Settings → Incoming iPhone calls after enabling
voice calls. Supply your Apple team ID, APNs key ID, iPhone bundle ID and the private .p8 text.
The key must support APNs VoIP for that app. Keep it on the gateway; never put it in the iPhone
bundle, source control, prompts or logs. Empty key input preserves the stored key; use Remove
stored APNs key to clear it. Enable the capability only when the companion app is ready.
In the iPhone app, sign in and turn on Incoming calls from the bell menu. Debug installations register for APNs sandbox; distributed Release apps register for production and must be signed with the corresponding production push entitlement. Tokens are not ordinary notification tokens. Each phone lists its registration status; disabling the feature unregisters that phone.
Ask either supported engine in your conversation: Call me in one minute about this thread.
The call_user tool accepts reason and optional integer in_minutes (0–10080). Approve the
card now; the saved delayed invitation survives a restart. There is no arbitrary-recipient
parameter. The requester or an admin must confirm every call, even under Auto. This is separate
from a recurring schedule: each recurring call still needs its own approval. At most one incoming
invitation can be pending for a person. On answer, the existing voice service rechecks conversation
access and uses that person’s identity. No voice session starts merely because the phone rings.
No card appears for a call that could not ring. When incoming calls are not configured, voice calls are off, the requester has no registered iPhone, or a call is already pending for them, the agent is told the reason immediately and nothing waits for approval. The checks run again when the card is approved: if the call cannot be placed then (for example the phone was unregistered in between, or Apple refuses the push), the card shows the failure and its reason.
Activity API (authenticated Activity session plus same-origin and CSRF checks for writes):
POST /activity/:id/api/devices:{platform:"ios",kind:"voip",token,bundleId,environment,name}.environmentissandboxorproduction; the bundle must match administrator configuration.GET /activity/:id/api/devices: this person’s device IDs/names/environment/last-seen only.DELETE /activity/:id/api/devices/:deviceId: unregister only this person’s device.GET /activity/:id/api/incoming-calls: recent invitations without answer tokens.DELETE /activity/:id/api/incoming-calls/:invitationId: cancel an unstarted delayed call.POST /activity/:id/call/acceptand/call/decline:{token}from the VoIP push. Owner-scoped, single-use and valid only while ringing (45 seconds). Accept returns the normal call/start result for the invitation’s recorded conversation. No client-supplied conversation is trusted.
The daemon’s five-second worker processes delayed invitations and notices. A schedule over one
minute late fails instead of ringing after prolonged downtime. Notices are retried on connector
failure with a doubling wait (30 seconds up to 30 minutes, counted from the ring); six hours after
the ring a notice that still cannot be posted is abandoned and recorded once in the Audit feed as
incoming_call_notice_abandoned. A process crash after posting a notice but before recording success may produce a
notification retry; do not treat chat notices as an exactly-once transport. Apple may also delay or
reject a push: delivery submission is not proof of receipt or answer.
TypeScript modules use erasable syntax and explicit .ts imports, which Node >=24.0.0 runs
without a build step. npm run check:types performs strict checking; CI also runs it on Node
24.0.0. Static/security checks inspect stripped source, and test discovery includes .test.ts.
Release source archives and Git-based install/update retain those source files. Container helpers
remain JavaScript: the image’s closure bundler copies explicit relative imports verbatim; no new
APNs or private-key code is staged into a conversation container.