Bolna Voice AI Agent Platform
An end-to-end open-source voice agent framework: orchestrate ASR, LLM, and TTS through a single JSON config to build phone-capable conversational assistants fast.
- Source repo
- bolna-ai/bolna
- Stars
- ★ 828
- Last updated
- today
- License
- MIT
- Primary language
- Python
- FA score
- 45/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Development teams that need to quickly build voice assistants capable of placing and receiving calls for support or outbound calling in their product
- Not a fit if
- Users unwilling to open paid Twilio/Plivo accounts
- Teams needing Exotel or Vonage telephony today
- Website
- bolna.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-16latest release 0.11.35 (2026-11-16)+1.0 ★/day over 7 days
- Source review
- 45/100 · Major gaps
What does this agent do, and when should you use it?
Bolna (bolna-ai/bolna, MIT license) is an end-to-end open-source, production-ready framework for building LLM-based, voice-driven conversational applications. The repository contains the full orchestration platform, which conducts voice conversations over websockets by combining different ASR + LLM + TTS providers and models. The local deployment consists of four Docker containers: a telephony web server (Twilio or Plivo), the Bolna server, an ngrok tunnel, and Redis persistence. Hosted APIs and a no-code playground built on this orchestration are also offered, but both are currently closed source. Developers can build pipelines programmatically via the Python Assistant class or make real phone calls through the Dockerized local setup. The project explicitly states it is actively looking for maintainers, and admits maintenance investment has fluctuated between the open-source and hosted offerings.
Bolna orchestrates the full voice conversation pipeline: initiating calls via Twilio or Plivo (Exotel and Vonage marked coming soon), transcribing audio with providers like Deepgram and Azure, handling conversation with LLMs such as OpenAI, DeepSeek, Llama, Cohere, and Mistral, then synthesizing responses back to the phone line via AWS Polly, ElevenLabs, Deepgram, OpenAI, Azure, Cartesia, Smallest, Maya, or Kalpa. LLM integrations use the LiteLLM package, with VLLM-hosted models also supported. In code, developers assemble tasks with bolna.assistant.Assistant, configuring a Transcriber (e.g., provider='deepgram', model='nova-2'), an LlmAgent/SimpleLlmAgent (e.g., provider='openai', model='gpt-4o-mini'), and a Synthesizer (e.g., provider='elevenlabs'), building a transcriber → LLM → synthesizer pipeline with add_task, and iterating asynchronously over assistant.execute() for streamed chunk results. examples/simple_assistant.py and examples/text_only_assistant.py demonstrate both flows; REST-based agent CRUD is documented in API.md at the repo root. The local deployment starts via local_setup/start.sh or docker compose build/up -d, with provider credentials supplied through a .env file (e.g., DEEPGRAM_AUTH_TOKEN, ELEVENLABS_API_KEY, TWILIO_ACCOUNT_SID).
- Development teams that need to quickly build voice assistants capable of placing and receiving calls for support or outbound calling in their product
- Engineers who want to self-host the voice pipeline with their own LLM keys (OpenAI, DeepSeek, VLLM-hosted models) rather than depending on a single SaaS
- Developers building bidirectional streaming voice apps on Twilio or Plivo who need a ready-made websocket orchestration layer
- Technology evaluators benchmarking multiple TTS options (ElevenLabs, Cartesia, AWS Polly) against multiple ASR options (Deepgram, Azure) in one pipeline
- Developers who prefer a pure Python programmatic interface and want to consume conversation results as async streams (runnable examples in examples/)
- Users who only need a text-only LLM conversation pipeline with no audio input/output (supported via the text-only mode)
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
OPENAI_API_KEYDEEPGRAM_AUTH_TOKENELEVENLABS_API_KEY- Config files
.env.env.samplengrok-config.yml- Install notes cover
- Docker
How do you install or deploy this agent?
Prerequisite: Docker with Docker Compose V2 installed. Quick start:
cd local_setup
chmod +x start.sh
./start.shThe script checks Docker dependencies, builds all services with BuildKit, and starts them detached. Manual route: export DOCKER_BUILDKIT=1 and COMPOSE_DOCKER_CLI_BUILD=1, run docker compose build, then docker compose up -d. You can also start a subset: docker compose up -d bolna-app twilio-app (or plivo-app). Before first run, create .env from .env.sample and fill in provider keys; making calls via Twilio or Plivo requires accounts with those services, and ngrok requires an authtoken in ngrok-config.yml.
How do you use this agent?
Option 1 (Dockerized local setup): once the four containers are running, create agents and instruct them to initiate calls; agent and prompt data persist in Redis. Sample agents are available at examples.bolna.dev. Option 2 (programmatic Python): set OPENAI_API_KEY, DEEPGRAM_AUTH_TOKEN, and ELEVENLABS_API_KEY, then run python examples/simple_assistant.py. In code, create an Assistant(name=...), assemble a pipeline via add_task(task_type='conversation', llm_agent=..., transcriber=..., synthesizer=...), and iterate over assistant.execute() — an async generator yielding per-step dict chunks whose fields vary by configuration; process incrementally. Text-only mode: call add_task with enable_textual_input=True and no transcriber/synthesizer; only OPENAI_API_KEY is needed. REST-based agent CRUD is documented in API.md at the repo root.
What are this agent's strengths and limitations?
- Highly swappable providers: ASR (Deepgram, Azure), LLM (OpenAI, DeepSeek, Llama, Cohere, Mistral, and VLLM-hosted models via LiteLLM), TTS (ElevenLabs, Cartesia, AWS Polly, and more), and telephony (Twilio, Plivo) can all be mixed and matched, avoiding single-vendor lock-in
- Complete runnable local deployment path: the Dockerized four-container setup in local_setup/ (telephony server, Bolna server, ngrok, Redis) ships with a one-command start.sh script
- Dual access modes — a Python programmatic interface (Assistant class, async streaming execute) and a REST API (API.md) — plus a text-only pipeline example, giving flexible integration options
- The README documents a concrete extension path for adding new telephony providers like Vonage or Telnyx by subclassing telephony.py in input_handlers and output_handlers
- The hosted APIs and no-code playground (platform.bolna.ai) are closed source, so the full product experience depends on the vendor's hosted services
- Making local calls requires an ngrok tunnel plus paid Twilio/Plivo accounts, making the deployment chain long (four containers plus .env credential configuration)
- The project publicly states it is actively looking for maintainers and admits past fluctuation in maintenance investment between the open-source and hosted offerings, creating long-term uncertainty
- assistant.execute() yields dicts whose fields vary with provider and tool configuration — there is no fixed schema, so callers must handle streamed parsing themselves
- Some telephony providers (Exotel, Vonage) are still marked 'coming soon' and not yet implemented
How does this agent compare with similar options?
The README distinguishes Bolna's open-source repository from its own hosted APIs and the no-code playground at platform.bolna.ai: the open-source repo is the core orchestration platform where new features land first before reaching hosted APIs and the UI. No other specific competitor products are named in the source, so no reliable comparison can be made.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Bolna Voice AI Agent Platform This agent | 45 · Major gaps | Self-hosted serviceFree + model costs | ★ 828 | today | Python | OpenAI API |
| Patter Voice SDK | 65 · Some gaps | Library / SDKFree + model costs | ★ 1.1k | 2mo ago | Python | OpenAI API · Claude API |
| Rapida Voice | 46 · Major gaps | Self-hosted serviceFree + model costs | ★ 760 | 8d ago | Go | OpenAI API · Claude API |
| Voice AI Learning Path | 68 · Some gaps | Library / SDKFree | ★ 341 | 19d ago | Astro | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README names telephony, ASR, LLM, and TTS services and the required keys, making the main data flow partly visible (2). The packet does not explain least privilege, pre-call confirmation, recording or transcript protection and retention, controls on external effects, or rollback and recovery, so those criteria receive 1. Dependencies have pinned versions or version ranges, but there is no evidence of vulnerability review or mitigation (1). The license and author fields offer limited attribution; publisher identity remains unknown, so source attribution receives 1.
The README's programmatic examples, text example, and dependency configuration partly support basic usage, but provider lists link to different revisions and the documented output fields vary by configuration, so self-consistency receives 1. The dependency list covers major components but includes ranged versions and provides no availability or lock evidence (1). The supplied source gives no evidence of user-facing failure-message behavior, so failure_messages receives 0; this does not establish that runtime handling is absent.
The packet shows both telephone voice and text-only flows and lists multiple ASR, LLM, TTS, and telephony providers, supporting a score of 2 for audience and environment fit. The README says users need provider accounts and keys and identifies hosted APIs and the UI as closed source, making product boundaries reasonably clear (2). The calling example explains initiation but does not show pre-call confirmation or controls for trigger conditions, so trigger precision receives 1.
The README organizes components, setup, examples, providers, and extension guidance; its basic installation and configuration steps are fairly clear. It provides practical examples and describes the expected streaming output shape, so these criteria receive 2. Naming stability receives 1 because provider lists link to older revisions and include items marked as coming soon. Limitations are mentioned mainly as closed-source hosted components, variable example output fields, and a request for maintainers, so known limitations receive 1. The LICENSE states MIT and includes standard terms (3). A package version and automated version-bump configuration are present, but no changelog evidence is supplied (1). The README mentions community maintenance and seeking maintainers without clearly assigning responsibility or an update path (1).
The framework combines transcription, LLM responses, speech synthesis, and telephony with streaming output, and the examples help users get started; output usability and marginal value receive 2. The documented setup requires multiple provider keys, a telephony account, and Docker/ngrok/Redis for the local stack, while offering little analysis of operating costs, tradeoffs, or alternatives, so cost-benefit receives 1.
The README, pyproject.toml, and requirements.txt give concrete locations for key claims about capabilities, environment variables, dependencies, and examples, supporting claim traceability (2). Some configuration and examples corroborate one another, but the supplied test evidence is limited to a shared fixture and excerpts from manual scripts, so cross-source corroboration receives 1. The README distinguishes documented facts, examples, variable output shape, and items marked as coming soon; fact-inference separation receives 2.
- This is a low-confidence static review; code was not executed and examples or security controls were not independently verified.
- Using telephony, ASR, LLM, TTS, and local Docker services involves external providers and credentials; the packet does not adequately describe data retention, permission boundaries, call confirmation, or rollback and recovery.
- The README says the project is seeking maintainers; the supplied material does not clearly identify an ongoing responsible maintainer.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
What's Changed * fix: send the agent's ElevenLabs voice settings with each turn context's first message by @san0808 in https://github.com/bolna-ai/bolna/pull/1214 Full Changelog: https://github.com/bolna-ai/bolna/compare/0.11.34...0.11.35View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(interruption): count the part of the cut-off audio chunk the caller heard by @puneet-bolna in https://github.com/bolna-ai/bolna/pull/1212 Full Changelog: https://github.com/bolna-ai/bolna/compare/0.11.33...0.11.34View on GitHub ↗ -
Release notes excerpt
What's Changed * fix(ssrf): check the dialed address for every customer-supplied URL by @san0808 in https://github.com/bolna-ai/bolna/pull/1209 Full Changelog: https://github.com/bolna-ai/bolna/compare/0.11.32...0.11.33View on GitHub ↗
FAQ
Do I have to use Twilio or Plivo to make calls?
Which keys are needed for which LLM?
Can I run it without telephony, as text-only or audio-only?
What components must run for a local deployment?
How do the hosted and open-source versions differ?
Is Bolna Voice AI Agent Platform free?
Is Bolna Voice AI Agent Platform safe to use?
Is Bolna Voice AI Agent Platform still maintained?
Who makes Bolna Voice AI Agent Platform?
What is Bolna Voice AI Agent Platform's official website?
Thanks — we use this to improve the page.