Bring your own agent is included in the Enterprise plan. On other plans,
turning on
custom_agent_enabled returns 403 entitlement_required, and a
per-meeting agent is ignored: the call runs on Waterr’s model.How it works
- You expose an OpenAI-compatible streaming chat-completions endpoint
(
POST {base_url}/chat/completionswithstream: true). - You attach it to a scenario (
custom_agent_config) or pass it per-meeting. - When a meeting starts, Waterr’s pipeline transcribes the participant, calls your endpoint with the running conversation, and speaks your streamed reply into the room.
Bring Your Own Agent runs on the cascaded (STT→LLM→TTS) pipeline. If the
scenario also has a speech-native mode enabled (live vision / realtime
backends), the custom agent wins and the meeting uses the cascaded path.
Configuration
Attach the connector to a scenario via the standard scenario API:
Every meeting created on that scenario — API, Studio, or embed — then uses
your agent.
Endpoint contract
Your endpoint must:- Accept
POST {base_url}/chat/completionswith an OpenAI-shaped body:model,messages(the running meeting conversation, system prompt included), optionaltools. - Stream the reply as SSE
chat.completion.chunkdeltas (choices[0].delta.content), ending withdata: [DONE]. - Answer fast. This is a live conversation: target first token ≤ 1.5s.
Waterr masks slow turns with filler audio and retries once after
timeout_s, but a sluggish endpoint ruins the conversational feel — that part of the latency budget is yours.
Platform tools
Waterr sends the platform functions enabled on the scenario (for exampleend_call, web search, and your scenario’s
custom functions) in the standard tools
field. Your endpoint may honor them by emitting standard tool_calls deltas —
or ignore them entirely. Your own tools run inside your agent loop, behind
your endpoint, invisible to Waterr. That’s the point.
end_call is only offered when the scenario’s End call meeting control
is on (it’s off by default). Without it, your agent can say goodbye but can’t
hang up; the meeting ends when the participant leaves or the time limit is
reached.The scenario’s opening line and its time-limit closing line are fixed text
that Waterr speaks itself. Every other reply comes from your agent.
Security
- Waterr never sends any internal credential to your endpoint — only the
api_keyyou configured. base_urlmust be public HTTPS. URLs resolving to private, loopback, or link-local address space are rejected at meeting creation.- Your
api_keyis encrypted at rest (AES-256-GCM) and masked in every API response. - Embed meetings only ever use the scenario’s stored config — an embedded page can never inject its own agent endpoint.
Billing
Custom-agent meetings bill per minute from your workspace credits, like any other call, but the LLM component is **$0**. Inference happens on your infrastructure, so no LLM tokens are metered. You still pay for what Waterr runs: the $0.05/min platform fee (transport, analysis), speech-to-text, text-to-speech, and any add-ons, at the prices on the rate card. RunPOST /pricing/quote
on the scenario to see its exact per-minute price.
Close the loop
Pair the connector with webhooks: your agent takes the meeting, thentranscript.ready / session.analysis_complete deliver the
transcript and goal-scored analysis back to your system — a full loop where
Waterr is the face and voice, and your stack is the brain and memory.
Building with LangChain? The LangChain integration
covers both directions — agents that manage meetings and agents that take
them.
