Buffaly Logo Buffaly
Integrations and interfaces

Use real-time voice mode

Real-time voice mode lets you speak to Buffaly and hear replies. Open Talk about this session to discuss the selected session, or use the standalone Realtime Voice page for a separate voice conversation. OpenAI carries the live speech; Buffaly's Voice Agent remains responsible for agent work and tools.

This guide covers the optional RealtimeVoice web module. To dictate an editable message before sending, use Scribe.

Requirements and access

  1. The operator installs the compatible RealtimeVoice package from an authorized package repository and enables its module-owned web-module.json. Check /installed-modules.html and /api/diagnostics/web-modules for a loaded module, then open its page. It is an optional, privately distributed component; a catalog listing alone does not prove it is installed. It supersedes SessionCatchUp; do not install both. Follow Web modules and UI for the owning package workflow.
  2. Use authenticated operator access in the Root workspace. Startup checks both the caller and the target session's workspace and ownership before admitting a bound conversation. Selecting a User workspace or receiving an invited chat link does not grant this conversational voice access.
  3. Configure an OpenAI API key with access to gpt-realtime-1.5 and the input transcription model gpt-4o-mini-transcribe. This API credential is separate from a ChatGPT login. The host keeps the long-lived key and mints a short-lived credential for the browser connection.
  4. The active Buffaly project must include its voice-agent profile, required voice prompts and configured reasoning provider. Current creation selects OpenAI chat-latest for that dedicated agent. In Voice settings, select an available TTS provider, model, voice and output format, then choose Save voice settings: the shared Voice Agent startup validates that default catalog selection even though this module plays OpenAI Realtime audio.
  5. Use a trusted HTTPS origin and a browser with microphone capture, WebRTC and audio playback. Allow the site and operating-system microphone permission, choose the correct input/output devices and allow site audio. Headphones help prevent loudspeaker sound from reaching the microphone.
  6. Permit browser WebRTC/SDP traffic to OpenAI and same-origin WebSockets to the Buffaly host. Any approved reverse proxy must support those host WebSocket upgrades. The module also requires the host's configured LogSettings:DebugPath to be writable for conversation traces.

Keep the page on the installation's approved private or authenticated address. Do not publish it as anonymous chat, put a long-lived provider key in browser code or construct a session binding by changing a URL. Remote use follows the same phone-access and microphone-origin requirements.

Start from a session or the voice page

Talk about the selected session

  1. Open the session you want to discuss and confirm its name.
  2. Open the composer overflow menu and choose Talk about this session, marked with a lightning symbol. The module opens its session-bound view and starts the connection automatically.
  3. Allow the microphone when prompted. Watch the compact voice indicator; wait for Listening before speaking. The adjacent ? command opens real-time voice diagnostics, including the bound session label and connection state.
  4. Ask a bounded question such as “Summarize the last completed turn in this session.” Verify that the displayed session and answer refer to the intended work.

Start a separate voice conversation

  1. Open the installation's Realtime Agent Voice navigation entry or /web-modules/RealtimeVoice/realtime-voice.html.
  2. In Voice session, choose New voice session or an existing authorized voice conversation from the list.
  3. Choose a Voice, then choose Start conversation. The default is coral; the current choices are alloy, ash, ballad, coral, echo, sage, shimmer and verse.
  4. Wait for the Realtime connection to show Listening and for Buffaly to become ready. The speech transport can connect while the dedicated Voice Agent is still initializing; check both states if answers do not arrive.

Speak, interrupt and stop

  • Speak naturally, then pause. The module detects the end of speech and submits a finalized transcript to the Voice Agent. Unlike Scribe, there is no draft-and-Send step for each utterance.
  • Interrupt by speaking. Confirmed transcribed speech cancels current speech playback and clears its queued audio. Noise and speech matching loudspeaker playback are filtered before an interruption is admitted. If interruption is unreliable, check the displayed transcript, microphone and headphones.
  • Mute / Unmute on the voice page disables or enables microphone tracks while keeping the connection. It does not stop agent work or prevent incoming speech playback.
  • Stop closes microphone capture, the OpenAI connection and the Buffaly bridge. In the compact session view, use its adjacent Stop command; closing diagnostics alone leaves the conversation running.
  • Changing the active session closes its bound voice view. Open Talk about this session again in the new session when ready.

Interrupting audio or stopping voice is not a cancellation receipt for work already admitted to Buffaly. Already-submitted transcripts can continue processing after the transport closes. Inspect the session and use its authorized cancellation workflow if the work itself must stop; do not repeat an uncertain request just because its audio ended.

Know which model and settings apply

LayerCurrent selection and purpose
Live speechOpenAI gpt-realtime-1.5, with WebRTC audio and an event data channel. This module's server allowlist accepts that model, not an arbitrary installed speech provider.
Microphone transcriptiongpt-4o-mini-transcribe inside the live session. Turn detection uses semantic_vad with low eagerness. The browser coordinates responses and interruption rather than letting the provider automatically start either.
Agent workA dedicated Buffaly voice-agent session, created with OpenAI chat-latest. Its resolved runtime and authoritative output appear in diagnostics. The speech model does not gain direct tool execution.
Voice and styleChoose the voice before connecting. A voice change applies to the next connection. In /buffaly-agent-settings.html → Voice, choose Realtime Voice personality; Custom uses up to 1,000 characters of style instructions. Choose Save voice settings before the next conversation. Style changes phrasing, not permissions or facts.

The standard page uses autonomous conversation mode: finalized speech goes to the Voice Agent, and its returned information is supplied to Realtime for spoken replies. Spoken phrasing and the agent's authoritative text are shown separately. The existing API also has canonical_bridge for reading supplied Buffaly output and a separate voice_agent_transport contract; these are distinct modes, not additional voice-provider options in this page.

VoiceLab is a separate optional module for provider-neutral speech and text-to-speech diagnostics, with separately owned telephone controls. Its installed provider catalog does not add those providers to RealtimeVoice or establish that a live microphone, account or phone connection works. Deterministic browser-voice text/audio-turn APIs and buffered/streaming TTS also have their own contracts. Scribe's transcription settings do not select this page's live speech model.

Where conversation and work results go

The page's Conversation shows your finalized utterances, authoritative Voice Agent results and Realtime spoken renderings. Agent messages belong to the dedicated Buffaly voice session. A session-bound conversation uses a temporary owner-checked binding to the selected parent session for recent-turn context and work dispatch; reopening it reuses that parent's dedicated voice child. The normal binding lifetime is 30 minutes, and Stop revokes it. It is not unrestricted access to other sessions.

Check the parent session for work dispatched there and the Voice Agent's authoritative result before treating a spoken completion claim as verified. Ordinary approval and tool permissions still apply.

Diagnostics show transport state, transcript disposition and the actual resolved agent context. Download persisted trace saves the module's diagnostic JSON Lines trace. Traces are bounded and expire after 14 days without a write; they contain conversation/diagnostic text, not a downloadable microphone recording. Handle them as conversation data even though credential and routing fields are excluded.

Recover a failed or silent connection

  • No voice command or page: verify the installed RealtimeVoice module, its loaded agent script and compatibility with the host. Old core preview-page addresses and the retired voice gateway are not replacement entry points.
  • Access denied: verify the signed-in operator, Root workspace and target-session access. An installation or provider setting cannot grant a User workspace this permission.
  • Microphone or audio failure: allow the exact site's microphone and audio, check input/output devices and try headphones. A connected data channel alone does not prove audible playback.
  • Buffaly stays initializing or rejects a transcript: inspect the Voice Agent and dispatcher readiness in diagnostics. The operator should check the active project's agent/prompts, model access and valid default TTS selection. Distinguish Realtime connected from Buffaly ready.
  • Bridge or provider connection fails: the controller stops the connection; it does not transparently reconnect. Choose Stop if necessary, resolve the reported network, authentication or model problem, then start again. In the session view, reopen Talk about this session. On the standalone page, select the existing authorized conversation to resume rather than creating unrelated work.
  • A request may already have run: read the relevant session's result first. Transport reconnection does not prove a prior request failed, and a fresh OpenAI connection does not restore its old audio stream.

Check speech and session ownership together

  1. Start in a known authorized session. Confirm its bound name, Realtime listening state and Buffaly readiness.
  2. Ask a harmless question about its recent work. Check the finalized transcript, the authoritative answer and audible playback; confirm that the correct session received any dispatched request.
  3. During playback, say a short correction. Confirm playback stops for your speech and the correction appears once, rather than treating speaker echo as another request.
  4. Use Stop and confirm the microphone indicator clears. Inspect outstanding session work separately. Start again and verify the intended conversation/session, not just a successful audio connection.

Scribe dictation · Voice and audio integrations · Providers and authentication