Ulai Docs

Enterprise voice AI on infrastructure you control

Deploy, configure and operate every component of the Ulai platform, from the SIP trunk to the AI agent.

Platform overview

Ulai is a modular voice AI platform that you deploy in your own environment. Each component ships as a self-contained container image with a single responsibility: the SIP Gateway bridges your carrier’s telephony into Ulai’s real-time voice rooms, and the Agent Server brings an AI agent into the conversation. This documentation covers every component end to end: requirements, deployment, configuration and day-two operations.

Caller via your carrier
SIP · RTP
SIP Gateway telephony bridge
WebRTC
Ulai SFU room real-time media
WebSocket
Agent Server conversation engine
streaming
AI backend e.g. Gemini Live
Call path from the telephone network to the AI agent. Highlighted components are covered in this documentation.

Components

Each component is documented independently, with its own requirements, configuration reference, interfaces and operational guidance.

SIP Gateway

ulai-sip-module
  • SIP over UDP / TCP / TLS
  • G.711 ↔ Opus transcoding
  • SRTP media

Bridges SIP telephony into Ulai voice rooms. Answers inbound calls from your carrier, originates outbound calls through configured trunks, and delivers each caller into a room as a standard WebRTC participant.

Agent Server

ulai-agent-server
  • gRPC control API
  • Gemini Live by default
  • Stateless host

The real-time conversation engine. Joins a voice room, connects the AI backend and manages the dialogue: audio processing, turn-taking, interruptions and call completion. Agent configuration and credentials are supplied with each call and never stored on the host.

Additional components will be documented as they become available.

Built for production

Container-native

Every component ships as a single, self-contained container image. No build toolchain, and no host dependencies beyond Docker.

Read more

Stateless upgrades

No local state to migrate. Upgrading a component is a matter of replacing its container.

Read more

Credential-free hosts

The Agent Server stores no keys. Cloud project and credentials arrive with each call, so a single deployment can serve multiple tenants.

Read more

Graceful shutdown

On SIGTERM the SIP Gateway stops accepting new calls and gives calls in progress up to 60 seconds to complete.

Read more

Per-call traceability

Every log line is tagged with the call’s number or bridge ID, so any single call can be traced end to end with one filter.

Read more

Actionable diagnostics

Rejected calls return a precise SIP status, and configuration errors are reported together at startup.

Read more

Ready to deploy?

Start with the SIP Gateway to bring calls in, then deploy the Agent Server to handle the conversation.

Ulai — enterprise-ready voice AI · ulai.in