← Back to Leaderboard
Bbolna-ai

bolna-ai/bolna

Python framework for streaming ASR–LLM–TTS voice agents and phone calls

Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated yesterday
Latest Release
0.11.74
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 840
24h Growth
+1
7d Growth
+8
Forks
415

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

bolna-ai/bolna Star History (2024-08-25 - 2026-12-03) ALL-TIME STAR HISTORY (2024-08 – 2026-12) +839 in 830d · avg +1/day 887 444 0 2024-08-25: ★ 12024-10-19: ★ 512024-12-14: ★ 922025-02-08: ★ 1582025-04-05: ★ 2362025-05-31: ★ 2932025-07-26: ★ 3322025-09-20: ★ 3872025-11-15: ★ 4772026-01-10: ★ 5402026-03-07: ★ 5752026-05-02: ★ 6252026-06-27: ★ 6742026-08-22: ★ 7342026-10-17: ★ 7932026-12-03: ★ 840 ★ 840 2024-08 2025-10 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Bolna is a Python orchestration framework, not a bundled speech or language model. The bolna.assistant.Assistant API composes a conversation task from a transcriber, an LLM agent, and a synthesizer. For a phone session, carrier audio arrives over a bidirectional WebSocket, ASR produces text, the LLM drives the conversation, and TTS produces audio for the return stream. Assistant.execute() exposes task results as an async generator of dictionaries, not a fixed event schema.

The manifest includes FastAPI, Uvicorn, Pydantic, websockets, LiteLLM, and Redis. Telephony adapters are split between bolna/input_handlers/telephony_providers and bolna/output_handlers/telephony_providers: one side ingests provider events, while the other formats synthesized audio for the carrier and streams it back. Adding a carrier also entails a call-initiation server like the Twilio example in local_setup/telephony_server; a carrier with no bidirectional streaming interface does not fit that adapter pattern.

Key Capabilities & Differentiators

Twilio and Plivo are the concrete telephony examples; Exotel and Vonage are listed as forthcoming, not available integrations. The speech path can combine Deepgram streaming ASR, an OpenAI gpt-4o-mini conversational agent, and ElevenLabs eleven_turbo_v2_5 with WAV output. WAV is the synthesizer setting in that example, not a universal carrier format. Other listed adapters include Azure for speech recognition and AWS Polly, Cartesia, and OpenAI for synthesis.

LiteLLM broadens model choice to families such as DeepSeek, Llama, Cohere, and Mistral, and a configured vLLM server can supply a separately hosted model. The transcription adapter can target a self-hosted endpoint that speaks the OpenAI Realtime transcription protocol; custom synthesis targets an OpenAI speech-compatible endpoint. Setting enable_textual_input=True and omitting both speech stages gives a text-only path for testing conversation logic independently of audio and telephony.

Trade-offs & Limitations

Bolna is a better fit than direct provider SDKs when a team expects to swap or compare ASR, LLM, and TTS independently. If the stack will remain fixed, direct integration removes an abstraction layer and makes it easier to reason about one set of provider events. In Bolna, configuration-dependent output and carrier-specific media handling mean a provider swap should be validated end to end for turn latency, language handling, and audio compatibility rather than treated as a drop-in change.

Compared with a managed voice platform, Bolna gives you MIT-licensed orchestration code but leaves credentials, carrier connectivity, and uptime in your hands. The separate hosted APIs and no-code dashboard are closed source. The ngrok-based example is a starting point for integration, not a production ingress plan; decide how to authenticate exposed endpoints, observe call failures, and handle audio and transcript retention before launch.

Hardware & Deployment Guide

For SDK evaluation, use Python 3.10 or newer and start with examples/text_only_assistant.py or examples/simple_assistant.py, setting credentials for the selected providers. API.md covers REST agent CRUD. For a phone test, configure .env from .env.sample, supply a Twilio or Plivo account and an ngrok token, and launch local_setup/start.sh or run Docker Compose V2 from local_setup/. The stack consists of Bolna, a telephony web service, ngrok, and Redis for agent and prompt persistence.

Self-hosting the stack does not make it offline: the example calls depend on carrier connectivity, and cloud ASR, LLM, and TTS require network access and credentials. Provider-backed examples do not require a local GPU; size the orchestration service for concurrent streams and audio work, and size any self-hosted model servers separately. Releases 0.11.72–0.11.74 added optional strict Soniox language hints, improved the missing ElevenLabs voice error, and fixed tool calls being dropped after a language switch.

Streaming contract: Assistant.execute() yields configuration-dependent result dictionaries through an async generator.
Pipeline composition: Configure ASR, LLM, and TTS separately; text-only tasks omit both speech stages.
Telephony boundary: Twilio and Plivo examples pair provider-specific media handlers with dedicated call-initiation services.
Backend options: LiteLLM provider routing, a vLLM base URL, and custom transcription and synthesis endpoints.
Self-hosted footprint: Docker Compose runs the Bolna server, telephony service, ngrok tunnel, and Redis for agent and prompt data.
Release focus: 0.11.74 preserves tool calls across language switches; 0.11.73 surfaces missing ElevenLabs voices as errors.
Best For

Python teams building phone-based booking, routing, or support flows that need independent choices for telephony, recognition, language models, and synthesis.

Skip If

You need an included no-code dashboard, an offline phone stack, or managed operations; for one fixed provider stack, consider direct SDK integration first.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
docker compose build

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
bolna ★840+8PythonMITPython framework for streaming ASR–LLM–TTS voice agents and phone calls
ruflo82.8k+342TypeScriptMITA TypeScript orchestration layer for coding agents, with shared memory and MCP
rocketride-server19.9k+22PythonMITC++ workflow engine for building and running extensible AI pipelines
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/bolna-ai/bolna.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

bolna-ai/bolna Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about bolna

Should I integrate through Python, REST, or the telephony service?

Use Assistant.add_task() to configure a conversation and consume Assistant.execute() with async for. Its output is a stream of per-task dictionaries whose fields depend on the configuration, so normalize them at your application boundary rather than assuming a universal event schema. Use API.md for REST agent CRUD and the local telephony services for phone calls.

Does Bolna require a GPU, and how should I size the runtime?

The provider-backed examples do not require a local GPU. Start by sizing for concurrent WebSocket sessions, audio handling, and network traffic, then measure memory, CPU, and end-to-end turn latency under representative calls. If you host speech or language models yourself, size those backends separately; there is no fixed VRAM requirement for the orchestration layer.

Can I use the self-hosted framework in a commercial service?

The orchestration code is MIT-licensed and can be used commercially subject to the license terms, including preserving the required notices in redistributed copies. That license does not cover Bolna’s separate hosted API product or dashboard, nor does it override third-party provider terms. Check where audio and transcripts are processed and retained, and assess applicable call consent requirements before rollout.

When is Bolna preferable to direct provider SDKs or a managed voice platform?

Direct integration can be simpler for one fixed provider stack because there are fewer abstractions and event shapes to debug. Bolna is more useful when you expect to evaluate or change providers across the speech and model pipeline. A managed voice platform is a better fit if your priority is handing off telephony operations or getting a ready-made UI; Bolna’s open-source repository supplies the orchestration core, not its hosted dashboard.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining bolna-ai/bolna? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature bolna-ai/bolna on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare