Open source Bland AI alternatives for self-hosted phone agents

Open-source voice agent platforms that can run in your own infrastructure for inbound and outbound calls, with their licenses, dependencies and trade-offs against Bland.

On this page

Which open-source projects can replace Bland for self-hosted phone agents

If calls carry patient, payment or EU personal data and Bland's customer-run option is not priced, the closest self-hosted options are Dograh (BSD-2-Clause), Bolna (MIT) and Pipecat (BSD-2-Clause). The main trade-off is that the telephony carrier and the model providers still sit outside your infrastructure, so the voice path your audio and transcripts travel through is not fully yours even when the orchestration layer is. Bland's pricing lists BAA, SSO and data residency on the Enterprise plan only and prices no customer-run edition, so the hosted route for those controls is Bland's isolated Enterprise infrastructure, run by Bland on dedicated GPUs.

Dograh is the closest to a complete product: it has a visual workflow builder, runs with Docker and lists integrations for Twilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix and Asterisk ARI. Its quickstart is not a production setup. It opens a public trycloudflare.com tunnel for inbound telephony webhooks and leaves signup enabled until ENABLE_SIGNUP=false is set, and call artifacts can go to bundled MinIO or S3-compatible storage. Before approval, confirm that the tunnel is removed, signup is disabled, and the storage bucket sits in a region and account your policy covers. Bolna is an orchestration layer over Twilio or Plivo with four Docker containers, including ngrok and Redis, and its README says the hosted APIs and no-code playground are closed source and that the project is looking for maintainers. Pipecat is a Python framework rather than a finished product, so your team builds the agent, and its README notes that speech to text, LLM, text to speech and transport integrations are configured separately.

License and hosting terms of each project against Bland Enterprise

This table compares Dograh, Bolna, Pipecat and Bland Enterprise on license, deployment model, telephony integrations and closed-source parts. Read it as a map of what you would own and operate yourself versus what stays with Bland, and note that Bland's Enterprise compliance terms do not carry over to self-hosted projects by default.

ItemDograhBolnaPipecatBland Enterprise
LicenseBSD-2-ClauseMITBSD-2-ClauseCommercial contract, priced custom
Deployment modelSelf-hosted with Docker in your infrastructureSelf-hosted with Docker: telephony web server, Bolna server, ngrok and RedisPython framework you build into your own applicationIsolated infrastructure run by Bland on dedicated GPUs
Telephony integrationsTwilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix, Asterisk ARITwilio or PlivoPhone agent examples for Twilio and Telnyx, plus WebRTC and WebSocket transportsBland-managed telephony; confirm supported carriers with Bland
Closed-source partsNot stated in the supplied scope; confirm in the repositoryHosted APIs and no-code playground built on Bolna are closed sourceModel, speech and telephony services are configured separately from the frameworkPlatform is closed source; models are Bland's own
Model providersYou choose and configureYou choose and configureYou choose speech, LLM and voice services separatelyBland self-hosts its models and uses no third-party model providers
BAA, SSO and data residencyNot provided by the project; your organization must set up controlsNot provided by the project; your organization must set up controlsNot provided by the project; your organization must set up controlsListed on Enterprise plan only, with compliance documentation under NDA

What is free, what is paid and what your team still runs

The three open-source projects in this comparison carry no license fee, but a self-hosted phone agent still draws on paid telephony, speech, language model and voice providers, and on your team's time to run the stack. Each card below separates one of those cost lines or operating duties so you can size both before you compare against a hosted quote.

Open-source licenses carry no fee

Dograh is BSD-2-Clause, Bolna is MIT and Pipecat is BSD-2-Clause, so using, modifying and self-hosting the code does not trigger a license payment. Check the license file in the exact version you deploy and confirm that any bundled dependencies, container images or plugins you add carry terms you accept. Ask whether any component you adopt is closed source, since Bolna's README says its hosted APIs and no-code playground are not open source.

Bolna on GitHub

Telephony carriers are a separate bill

Every project connects to a carrier for inbound and outbound calls. Dograh lists Twilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix and Asterisk ARI, Bolna runs over Twilio or Plivo, and Pipecat ships phone examples for Twilio and Telnyx. You pay the carrier for numbers, per-minute call charges and any regulatory registrations, and those rates are set by the carrier. Confirm which carriers you will use, where they terminate calls and whether they sign terms that match your data handling needs.

Speech, language model and voice providers

Pipecat's README notes that speech to text, LLM, text to speech and video services are configured separately from the framework, so each one is a separate contract. Your speech, model and voice vendors each bill by usage and each receives call audio or transcripts. Before you choose them, ask each vendor for its data processing terms, retention settings and whether it will sign a business associate agreement or DPA for the plan you use, because those terms do not come from the open-source project.

Hosting and compute you provision

All three projects run in containers or as Python services in your environment. Bolna's local setup starts four containers (a telephony web server, the Bolna server, ngrok and Redis), and Dograh's quickstart runs with Docker. Your team pays for the servers or GPUs, storage, backups, network egress and, if you use it, the managed database or cache. Estimate these from your peak concurrent calls and retention period, and ask your cloud or data center team for the figures rather than assuming a flat monthly cost.

Tunneling and public endpoints

Dograh's quickstart opens a public trycloudflare.com tunnel to the API for inbound telephony webhooks, and Bolna's local setup uses ngrok. Those tunnels are convenient for testing but place a public path into your call handling. For production, replace them with a controlled ingress, restrict which carrier addresses can reach the webhook, and keep signup disabled by setting ENABLE_SIGNUP=false in Dograh after the first administrator account exists.

Storage, upgrades and on-call

Dograh can keep call artifacts in bundled MinIO or in S3-compatible storage, so you choose where recordings and transcripts live and how long they stay there. Your team also owns version upgrades, dependency patches, security fixes, backup tests and the on-call rota for a service that answers live calls. Write down who receives alerts when a carrier webhook fails, who approves an upgrade and how you retire recordings on schedule.

Hosted Bland fees as a comparison point

Bland's pricing page lists Start at $0.14 a minute with no platform fee and Build at $0.12 a minute with a $299 monthly platform fee, and it prices Enterprise by custom quote. Use these figures only to compare the recurring usage and platform fee you would otherwise pay, and remember that a self-hosted stack still pays carrier, model and speech providers plus your own infrastructure and staff time. Ask Bland for its Enterprise quote in writing so both options cover the same call volume, concurrency and data terms.

Bland pricing

Which project fits which phone agent situation

Dograh suits a team that wants to build inbound and outbound phone agents in a visual workflow builder and bring the platform up with Docker. It is BSD-2-Clause licensed and lists integrations for Twilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix and Asterisk ARI, so the carrier choice stays open. The team still owns the deployment and everything the platform does with call data.

  • Telephony choice: Carrier integrations are listed in the project, but each one needs an account and credentials from the carrier you select.
  • Public tunnel in the quickstart: The README says the quickstart opens a public trycloudflare.com tunnel for inbound telephony webhooks and leaves signup enabled until ENABLE_SIGNUP=false is set. Production setups should replace the tunnel and disable signup before any call data arrives.
  • Call artifact storage: Recordings and artifacts can go to bundled MinIO or S3-compatible storage, so the storage location is a deployment decision.
  • Model providers: Speech and language models are not bundled as a compliance-approved service. Each provider you connect needs its own contract review.
  • Support path: Confirm with the maintainers and your own platform team who patches the platform and on what schedule.

Before approval, ask for a written data flow diagram from your own deployment that shows every point where caller audio and transcripts are stored or sent out.

How the parts of a self-hosted phone agent connect

A self-hosted phone agent is a chain of separate services, and each link in the call path is a place where patient, customer or EU personal data can be stored, logged or sent to a third party. A call starts when the carrier (Twilio, Vonage, Telnyx, Plivo or a SIP trunk) receives the call and sends a webhook to your orchestration layer. The orchestration layer then streams audio to speech to text, sends the transcript to the LLM, converts the reply with text to speech and returns audio to the caller. Before approving a design, confirm for each hop which provider receives audio or text, under which contract, and whether that provider retains it. Bland's own pricing and home page describe a closed chain in which Bland hosts the models, so every hop you self-host is a hop your security team now has to evaluate.

Dograh shows how the inbound webhook path can expose a system. Its README says the quickstart opens a public trycloudflare.com tunnel to the API so carriers can reach it, and that signup stays enabled until ENABLE_SIGNUP=false is set. Treat the tunnel as a temporary development convenience: move webhooks behind your own domain, TLS and access controls, and disable signup before any real call reaches the system. Call artifacts such as recordings and transcripts can go to bundled MinIO or S3-compatible storage, so the reader should set the bucket location, encryption, retention and access roles deliberately rather than accepting defaults.

Bolna's README describes a local Docker setup with four containers: a telephony web server, the Bolna server, ngrok for tunneling and Redis for agent and prompt data. Ngrok carries the same exposure question as the Dograh tunnel, and Redis holds prompts and agent configuration that may contain customer or clinical instructions, so both need network segmentation and a review of persistence. Pipecat takes a different approach: its transports (WebRTC, WebSocket and telephony connectors) are configured separately from the framework, and its speech, LLM and text to speech services are chosen by you. That separation is useful for control, but it means your security review must cover each selected service as its own vendor, with its own contract and retention terms.

Which hops of a self-hosted phone agent leave your network

The path starts at the carrier, such as Twilio, Vonage, Telnyx, Plivo or Asterisk ARI, which receives the call and sends webhooks and media to your orchestration layer. The orchestration layer, whether Dograh, Bolna or a Pipecat application, then calls speech to text, an LLM and text to speech, which you configure separately and which may be hosted by third parties. Call artifacts go to bundled MinIO or S3-compatible storage. Check each arrow that crosses your boundary, and confirm the carrier, model and storage contracts cover that traffic.

Hops that leave the organization network are carrier, model and speech traffic.

What the licenses and projects require of your organization

Each open-source option carries its own license, notice duties and maintenance status, and none of them is a hosted service. The cards below separate what you must do to use the code from what you must still buy, configure or staff yourself before a phone agent handles real calls.

BSD-2-Clause notice duties for Dograh

Dograh is licensed under BSD-2-Clause, which permits use and redistribution in source and binary form if the copyright notice, the list of conditions and the disclaimer travel with the code. If your team modifies Dograh and ships it inside an internal product or a customer-facing tool, keep those notices in the distributed files and in any documentation. Confirm the license text in the repository before you embed any part of it, because the notice wording is what your legal team will review.

Dograh on GitHub

BSD-2-Clause notice duties for Pipecat

Pipecat is a BSD-2-Clause Python framework maintained by Daily and the community. Its license carries the same attribution and disclaimer conditions as Dograh, but it is a framework you build on, so the notices you must keep extend to every library you pull in alongside it. Check the license of each speech, language model and telephony integration you configure separately, because the framework's license does not cover those services.

Pipecat on GitHub

MIT notice requirement for Bolna

Bolna is licensed under MIT, which allows commercial use if the copyright notice and permission notice are included in copies or substantial portions of the software. Your product or internal tool must carry that notice even when the code is modified. Bolna's README also states that the project is looking for maintainers, so your team should assess who will patch the orchestration layer if upstream activity slows.

Bolna on GitHub

Closed source parts of the Bolna stack

The open license covers the orchestration code only. Bolna's README states that its hosted APIs and no-code playground are closed source. An organization that wants the playground or a hosted endpoint is buying a proprietary service, which brings its own terms, data processing questions and contract review. Do not assume that a self-hosted Bolna deployment includes those features, and confirm the feature list with the project before scoping.

Bolna README

Third-party components outside the license

Open-source frameworks do not supply speech recognition, language models, speech synthesis or phone numbers. Pipecat's README lists transports, speech to text, LLM and text to speech integrations that you configure separately, and each has its own license or commercial terms. Build a register that lists every component, its license, its provider and the data it receives, so the license review covers the full call path, not only the framework.

Confirm each license before embedding

License text can change between releases, and a repository's summary is not the legal instrument. Before you embed any of these projects in a product, pin a specific version, read the license file in that version, record the copyright notice it requires and have counsel confirm that your distribution model triggers no additional obligations. Ask the same question of the telephony and model vendors whose terms govern the call data.

What to collect before approving a self-hosted phone agent

This sequence turns an open-source phone agent from a developer experiment into a system your security, privacy and compliance teams can review, with each control confirmed in writing and tested in your own environment before live calls carry patient, customer or EU personal data.

  1. Confirm the license text and obligations

    Someone from legal or open-source compliance reads the license file in the exact release you plan to deploy, not the project summary. Dograh is BSD-2-Clause, Bolna is MIT and Pipecat is BSD-2-Clause, but each project's dependencies, plugins and optional components can carry other terms. Record the license, the version or commit, and any component you will add. The output is a short license register that names every component that will run on your calls.

  2. Map telephony and model providers

    The platform does not carry calls alone. Your team lists every telephony carrier (for example Twilio, Vonage, Telnyx, Plivo or a SIP trunk), every speech to text, language model and text to speech service, and any storage provider that will receive audio or transcripts. For each one, request the current BAA or DPA status for the plan you will buy, where audio is processed, and the retention settings you can control. Where a provider offers no BAA or DPA for the relevant service, record that as a blocking finding for patient or EU data.

  3. Disable public signup and tunnels in production

    Quickstart setups are built for evaluation. Dograh's README notes that its quickstart opens a public trycloudflare.com tunnel for inbound telephony webhooks and keeps signup enabled until ENABLE_SIGNUP=false is set. Bolna's local setup uses ngrok for tunneling. In production, your engineers replace public tunnels with a private ingress path that your carrier can reach, set the signup switch to disabled, and remove any default accounts. The check is an external scan confirming that no administrative or webhook endpoint answers without the expected authentication.

  4. Define call artifact storage and retention

    Call artifacts include recordings, transcripts, prompts, tool outputs and logs. Dograh's README says artifacts can be stored in bundled MinIO or S3-compatible storage, so the storage location is a deliberate choice. Your privacy and records owners set the region, encryption at rest, deletion schedule for each artifact type, and who may export them. Document the retention period in your own policy, since no default is safe to assume. The output is a data flow diagram and a retention table that match the configured storage buckets and database tables.

  5. Set access control and audit logging

    Your identity team connects administrative access to your single sign-on provider where the platform supports it, and assigns roles so that builders, reviewers and operators have separate permissions. Engineers confirm which actions write audit records, where those records go, and how long they are kept. They also rotate and vault every carrier and model credential the agent uses. Done means a test administrator cannot change a live agent without a logged approval, and the audit trail records who changed a prompt, a tool or a telephony number.

  6. Test prompt injection and call data exposure

    Before live calls, a security tester runs the agent against scripted callers who try to extract other callers' data, override instructions, or trigger tools outside their scope. The test covers what the agent says aloud, what it writes into transcripts, and what it sends to each model and carrier. The output is a findings list with fixes and a retest record. This step is a good place to bring in an independent tester, since the team that built the agent tends to test its intended behavior rather than its failure modes.

  7. Agree the exit path before go-live

    Write down how you would leave the platform: how you export agent definitions, call logs, transcripts and recordings in a usable format, how you move telephone numbers to another carrier, and how you delete data held by each provider when you stop. Ask Bland, if it is also under consideration, for the equivalent terms in its Enterprise agreement, and compare them with the open-source path. The approval record is complete when the exit steps have been rehearsed once in a non-production environment and the deletion evidence from each provider is on file.

What catches buyers out with open-source phone agents

Open-source voice agent platforms look inexpensive and self-contained, but several defaults and dependencies sit outside the platform itself. The cards below cover the quickstart defaults, maintenance status, separately contracted speech and model providers, and the compliance terms that a self-hosted stack does not inherit from Bland.

Public tunnel in the quickstart

Dograh's quickstart opens a public trycloudflare.com tunnel to the API so inbound telephony webhooks can reach it. That exposes an API endpoint on the public internet by default, which is a different posture from a service that stays on a private network. Before any pilot with patient or customer calls, confirm the tunnel is removed, the API sits behind your own ingress and firewall rules, and webhook signatures are verified.

Dograh README

Signup left open by default

Dograh's README states that signup stays enabled until ENABLE_SIGNUP=false is set. Anyone who can reach the API could create an account and place or configure agents on your deployment. Make disabling signup a step in your build checklist, tie access to your identity provider, and test that a new account cannot be created from outside your approved users.

Call artifacts and where they land

Dograh can store call artifacts in its bundled MinIO or in S3-compatible storage. Recordings and transcripts of calls are personal data, and the storage location, encryption, access policy and retention period become your responsibility once you run the stack. Decide the storage target and retention before go-live, and confirm who can download artifacts.

Maintainer search on Bolna

Bolna's README says the project is looking for maintainers. An MIT licensed orchestration layer with an open maintenance question can leave security patches, telephony connector updates and dependency fixes to your own engineers. Check the commit history, open security issues and release cadence before you commit, and budget for maintaining a fork if upstream slows down.

Bolna README

Separate speech and model contracts

Pipecat's README lists transports, speech to text, LLM and text to speech integrations that are configured separately from the framework. Each one is a provider with its own terms for retention, training use and data location. A self-hosted orchestrator that sends caller audio to a hosted speech or model API has not kept that audio inside your infrastructure, so map every provider on the call path and review its contract.

Pipecat README

No inherited BAA or FedRAMP status

Bland's pricing page says its HIPAA BAA, SSO and data residency sit on the Enterprise plan, and it lists FedRAMP 20x Class C (Moderate) status with a Marketplace listing. Those commitments belong to Bland's own service. Running Dograh, Bolna or Pipecat yourself removes that vendor from the chain but does not give you a BAA or FedRAMP authorization for your telephony or model providers, so each provider you keep must sign its own agreement and your authorization boundary must be documented by you.

Bland pricing

Questions buyers and reviewers ask before approving a self-hosted alternative

Is a self-hosted phone agent stack HIPAA compliant?

No open-source stack is HIPAA compliant as a flat claim, because HIPAA compliance depends on how the stack is configured and on the contracts around it. The license of a project like Dograh, Bolna or Pipecat carries no BAA, and the telephony carrier and the speech and language model providers you connect each have their own terms. A covered entity or business associate needs a signed BAA with every vendor that handles protected health information in the call path, including the carrier, the model providers and any transcription service. You also need access controls, audit logging, encryption, retention settings and a documented risk analysis for the deployment itself. Ask your compliance lead to map each component to these obligations before any patient call goes through it.

What does a self-hosted voice agent stack cost to run?

The open-source licenses cost nothing to acquire, so the spend sits in staffing, hosting and third-party usage. Cost components include engineers who install, configure, secure and upgrade the platform, the cloud or data center capacity that runs the containers, storage for call artifacts, and per-minute charges from the telephony carrier, speech services and language models you connect. Bland's pricing page lists Start at $0.14 a minute with no platform fee and Build at $0.12 a minute with a $299 monthly platform fee, so you can compare those per-minute figures with your own carrier and model rates. Ask any implementation partner for a quote built from a written scope that lists each recurring and one-time component.

Can an internal team run a self-hosted phone agent alone?

A team with container, telephony and security skills can run a small pilot, but production use with patient or customer calls usually needs more than one discipline. The work includes SIP trunking and number routing, webhook security, secrets handling, TLS, SSO and access control for the admin console, call recording storage, monitoring and an upgrade process for fast-moving projects. Dograh's quickstart, for example, opens a public tunnel for inbound webhooks and leaves signup enabled until you set ENABLE_SIGNUP=false, so the first hardening steps are specific and must be verified. Check each project's maintainer activity before you commit, since Bolna's README says it is looking for maintainers. Decide early whether your own staff, a managed service or a partner will own patching and on-call duties.

Is Bland's Enterprise infrastructure an alternative to self-hosting?

Bland's Enterprise plan is a vendor-run alternative, not a customer-run one, so it answers a different question. Bland's home page says every enterprise customer runs on its own isolated infrastructure run by Bland, and its pricing page lists BAA, SSO and data residency on the Enterprise plan only, with compliance documentation available under NDA. Its pricing page also prices no customer-run edition. If your requirement is that call audio and model inference stay in your own cloud or data center, Enterprise does not meet it, while a self-hosted project can. Ask Bland for the Enterprise contract, the named data locations and the sub-processor list before you compare the two options.

Which open-source voice agent projects support SIP or Asterisk?

Dograh lists telephony integrations for Twilio, Vonage, Telnyx, Plivo, Vobiz, Cloudonix and Asterisk ARI, so it is the project in this group that names Asterisk ARI directly. Bolna's README describes orchestration over Twilio or Plivo, and Pipecat provides phone agent examples for Twilio and Telnyx along with WebRTC and WebSocket transports. None of the three projects is documented here as a native SIP stack, so confirm the exact SIP trunking path, codecs and carrier configuration with your telephony engineers in a test environment. Your carrier and Asterisk deployment will carry their own contract and compliance terms that must be reviewed separately.

What can DeployOpen do for a self-hosted phone agent deployment?

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For phone agents, that can include SSO, access control, audit logging and data handling controls, so your compliance and security teams can review the deployment. DeployOpen also runs security testing of AI systems and agents, including prompt injection, tool permissions and credential handling, and prepares evidence for compliance assessments. It does not issue audit reports, attestations or certifications, and independent auditors do that work. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope.

How DeployOpen helps you run a phone agent in your own infrastructure

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own cloud accounts, data centers or air-gapped networks. For phone agents, that means scoping a voice platform, its telephony and model connections, and the controls your compliance team needs to review before any patient, payment or EU caller data reaches it.

How we scope

  • Written scope names which open-source voice platform, telephony provider and speech and model services are in and out of the engagement.
  • Scope states inbound, outbound or both call flows, and which call recordings and transcripts must be stored, retained or deleted.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • Deployment runs in your own infrastructure, with the telephony webhook endpoints exposed only as your security team approves.
  • Access control covers SSO, admin roles and audit logging for agent configuration, prompts and call artifacts.
  • Security testing covers prompt injection, tool permissions, credential handling and exposure of stored call artifacts before go-live.

How we hand over

  • Handover documentation maps each data flow from caller to telephony provider, model provider and storage location.
  • Compliance and security teams receive the controls, configuration records and evidence needed for their own assessments.
  • DeployOpen prepares evidence for compliance assessments but does not issue audit reports, attestations or certifications.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover platform updates, backups, telephony provider changes and retesting after each material change.
  • Quotes follow from the written scope, so ask for the scope items that drive effort before you compare proposals.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.