Skip to main content
TurnCall lets developers deploy AI voice agents over phone calls, WebRTC browser calls, WhatsApp, and SMS — with configurable providers, tool calling, call transfers, voicemail detection, and bidirectional server events. Define an agent via API, bind it to a phone number, and callers talk to your AI.

Features

Twilio PSTN Calls

Inbound and outbound phone calls via Twilio Voice + Media Streams.

WebRTC Browser Calls

Talk to agents directly from the browser with peer-to-peer audio.

Video Avatar

Optional lip-synced video avatar (HeyGen or Tavus) on WebRTC cascade calls.

WhatsApp Business

Voice calls and text messages via WhatsApp Cloud API.

SMS / Chat

Text-based conversations with agents via Twilio SMS or the Chat API.

Multi-Provider

Mix and match STT, LLM, and TTS providers per agent — Deepgram, OpenAI, Anthropic, ElevenLabs, Cartesia, Ollama.

Speech-to-Speech

Ultra-low latency (~300ms) via OpenAI Realtime or Gemini Live.

Tool Calling

Built-in tools (transfer, handoff, DTMF) + webhook tools + MCP servers.

Knowledge Base (RAG)

Upload documents with three retrieval modes: prompt, auto, and tool.

Agent Versioning

Publish immutable versions, auto-promote phone numbers, rollback instantly.

A/B Testing

Weighted traffic routing on phone numbers, deterministic by caller.

Post-Call Analysis

Automatic summary, sentiment, success evaluation, and structured extraction.

Server Events

Bidirectional hooks — call-init, function-call, call-end, transcript updates.

How It Works

A caller connects over any transport; TurnCall runs a per-call Pipecat pipeline in one of two modes and streams audio back. See Architecture for the full pipeline, call flows, and data model.

Tech Stack

ComponentTechnology
FrameworkFastAPI + Uvicorn
Voice PipelinePipecat 1.4
DatabasePostgreSQL + SQLAlchemy async + Alembic
CacheRedis
TelephonyTwilio Voice + Media Streams
BrowserWebRTC (SmallWebRTCTransport)
Video AvatarHeyGen / Tavus (Pipecat avatar services)
STTDeepgram / OpenAI / ElevenLabs / Cartesia
LLMOpenAI / Anthropic Claude / Ollama / OpenRouter / Any OpenAI-compatible
TTSDeepgram / OpenAI / ElevenLabs / Cartesia
S2SOpenAI Realtime / Gemini Live
Knowledge Basepgvector + OpenAI embeddings
VADSilero
Turn DetectionSmart Turn V3 (local ONNX)