configure frame. You do not assemble
STT, an LLM, and TTS.
Same runtime for UI and API agents
Create a saved agent in the console or withPOST /v1/agents, then pass its returned agent_id
as session_label when opening /v1/omni. The saved voice, instructions,
knowledge and tools are loaded for the call. You can also configure sessions
inline without saving a profile. The endpoint and omni:session scope stay the same.
One endpoint instead of a voice cascade
A traditional voice agent makes you assemble and operate this:configure frame, then stream audio:
vocabulary list for up to
five distinctive terms. The list is fixed at session start. It does not inherit
organization Hear vocabulary, and inline Omni sessions do not accept a
vocabulary override in this release. See
Create agents via API.
English agents can select Natural en1 (canonical id stock_aria_en).
The configured acknowledgement reports the canonical voice id and
voice_tier: "natural" while that tier is active. Omni Hindi uses the
Standard voices hi1–hi4; there is no Hindi Natural tier (the former
hi5–hi8 aliases are retired).
Connect
There is no agent resource you must create before opening a session. Authorize the WebSocket with an API key, then send the agent configuration:configured control frame within about two seconds. tools is
the accepted count. After that, send PCM16 as 0x01 || audio_bytes. Server audio uses
0x01; plain UTF-8 caller-transcript deltas use 0x02; control JSON uses
0x03. Every server JSON body is keyed on event; the transcript body is not
JSON. See the browser tutorial for capture, playback, and frame handling.
Choose how to build
Choose your path
API primitives, console Agent, or a framework adapter.
Launch an Agent
Create, test, and put a Call Now button on your site without a token broker.
Create agents via API
Store a profile, bind knowledge and tools, open Omni with session_label.
Build the browser client
Capture the microphone, mint a short-lived token, handle frames, and play audio.
Put Omni on a phone call
Bridge Twilio media, barge-in, DTMF, and call-control events.
Read the wire protocol
Binary audio framing, lifecycle events, tools, and session controls.