Sample and production-oriented bridges that connect Exotel AgentStream (bidirectional WebSocket audio) to Voice AI providers. Place outbound calls with the Connect Voice AI API.
| Provider | Path | Language | Best for |
|---|---|---|---|
| OpenAI Realtime | integrations/openai-realtime |
Python | Speech-to-speech realtime |
| ElevenLabs | integrations/elevenlabs |
Python | Conversational AI + ambience |
| Gemini Live | integrations/gemini-live |
Node.js | Google Gemini Live |
| Sarvam | integrations/sarvam |
Python | Indian languages (STT/TTS) |
| Pipecat | integrations/pipecat |
Python | Pluggable STT → LLM → TTS (ExotelFrameSerializer) |
| Dograh | integrations/dograh |
Python | Drop Exotel telephony into Dograh (platform wiring, not an AI vendor) |
| Agent recipes | integrations/agents |
Python | Mix-and-match S2S + STT/LLM/TTS stacks on AgentStream |
Full picker: integrations/agents/README.md
| Type | Examples |
|---|---|
| Speech-to-speech | GPT Realtime, Gemini Live, Gemini Live + Pipecat, Amazon Nova Sonic + Pipecat, Grok Voice, Cartesia Line |
| Pipelines | Deepgram / AssemblyAI / Sarvam / Speechmatics × GPT or Gemini × Cartesia / ElevenLabs / Grok TTS / OpenAI TTS |
Enterprise LLM hosting: the GPT pipelines can call Azure OpenAI and the Gemini pipelines Gemini on Vertex AI. See Azure OpenAI and Gemini on Vertex AI.
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp env.example .env # set OPENAI_API_KEY
python main.py # shim → integrations/openai-realtimeCanonical OpenAI package: integrations/openai-realtime/.
- Start a bridge and expose it (
ngrok http <port>→wss://…). - Configure Exotel credentials (
shared/env.exotel.example). - Place a call:
python shared/place_connect_call.py \
--to +91XXXXXXXXXX \
--stream-url "wss://YOUR_HOST/?sample-rate=8000"Details: docs/CONNECT_VOICE_AI.md · WSS protocol: docs/AGENTSTREAM_WSS_PROTOCOL.md
shared/ # place_connect_call.py + Exotel env example
docs/ # Connect API + WSS protocol
integrations/<provider>/ # self-contained bridge + README + deps
integrations/agents/ # Voice AI stack recipes (S2S + STT/LLM/TTS)
ci/ + .github/workflows/ # pull request checks
- Python 3.10+ (CI uses 3.12; on 3.13+ the recipes'
requirements.txtinstallsaudioop-lts), and Node 18+ for the Node.js Gemini Live bridge - Exotel account with Voicebot / Connect Voice AI enabled
- Provider API keys for the integration you run
- Offline tests, no network or keys:
pip install pytest httpx fastapi loguru python-dotenv, thenpython -m pytest integrations/agents/_shared/tests -qfrom the repo root. - Nova Sonic recipe offline test:
cd integrations/agents/nova-sonic-pipecat && pip install -r requirements.txt && python test_offline.py. - Every pull request runs PR checks on the files it changes: merge-conflict markers, JSON / Python / shell syntax, and Python lint errors fail the check; the repo's tests are report only. A branch created before these checks existed needs
mainmerged in first. - Adding a recipe: see
integrations/agents/CONTRIBUTING.md.
MIT — see LICENSE.