Open-source voice AI is free until production

Open-source voice AI like Pipecat and LiveKit Agents gets you a working agent fast. Running it on real phone lines is the part you end up paying for.

BİBekir İşgörCo-founder · · 7 min read
A line drawing on graphite. A small block labelled framework sits inside a tight coral circle at the centre. A larger coral circle around it carries seven blocks labelled phone lines, media clock, capacity, regions, billing, models and alerts, each joined to the framework by a two-way arrow.

Open-source voice AI is the best thing that has happened to this field. With Pipecat or LiveKit Agents you can have an agent that listens, thinks and talks back in an afternoon, with any speech, language and voice model you like, and nobody's licence in the way. What open source does not give you is the year after that afternoon: phone carriers, media that never stutters, capacity at 9am on a Monday, models you cannot buy alone, a bill per vendor, and someone awake when it breaks. That second half is what voice AI infrastructure is for, and it is the half we sell.

This is a post in praise of both frameworks, and an honest account of what sits around them once real people start calling.

Two frameworks worth building on

Pipecat is an open-source Python framework for real-time voice and multimodal agents, maintained by Daily and its community. Its core idea is a pipeline of frames: audio in, speech-to-text, a language model, text-to-speech, audio out, each stage a replaceable part.

LiveKit Agents comes from the WebRTC side. Its documentation says the framework and the wider LiveKit stack are open source under Apache 2.0, and it ships the hard parts of a conversation out of the box: streaming through speech-to-text, the model and text-to-speech, turn detection, interruptions, and worker orchestration with load balancing. Python and Node.js are both first-class.

They differ in temperament more than in power. Pipecat reads like a toolkit for people who want to own every frame. LiveKit reads like a real-time media company that also ships an agent runtime. If you are choosing between them for a prototype, pick the one whose examples look most like your product and you will not regret it.

Both projects also run a hosted cloud of their own. That tells you something: the people who wrote the frameworks know the framework is not the hard part of production.

Where the afternoon ends

The demo runs in a browser tab. Your customers call from phones. The gap between those two is where most of the work hides, and none of it is in either repository.

Two dashed panels on graphite. Left, labelled prototype: a block labelled browser with one arrow down to a block labelled framework. Right, labelled production: the same framework block in the centre, connected by coral two-way arrows to six coral blocks labelled sip carrier, media clock, warm bots, autoscaler, billing and two regions.
The framework is the same block in both pictures. Production is everything around it.

Phone lines. A real number means a carrier, SIP signalling, and RTP media at 8 kHz in G.711, converted to what the models expect and back again, both ways, for every call. Teams that self-host either run their own SIP proxy and media anchor or rent a telephony provider and bridge to it over WebSockets. Both are a product of their own.

The media clock. In a browser, WebRTC smooths over a slow moment. On a direct SIP call, you are the clock. If your process stalls for a fraction of a second, the caller hears swallowed words. We learned that the expensive way, and the fix was a dedicated sender thread and back-pressure so the pipeline never runs ahead of the wire.

Capacity. A voice agent is one long-lived process per conversation. It has to be warm before the phone rings, or the caller hears silence while a model loads. That means a pool of ready bots, autoscaling on queue depth and live calls, and admission control that says no politely when you are full. We wrote up how a call gets a bot and why our bots start talking in under half a second.

Regions. Latency is set by the caller's distance to your servers. We run in Europe and the US, active-active, and keep each call's voice in the caller's region.

Billing. Every call touches three to five metered vendors. Someone has to price each one per second, reconcile them, and refuse calls when a balance runs out. Our version of that is in every call is priced once from its own event log.

None of this is a criticism of the frameworks. It is simply not their job. It is ours.

Models you cannot download

Open source gives you the pipeline. It does not give you every model worth putting in it.

Some of the most useful pieces of a phone agent are closed and sold to companies under contract. Krisp's VIVA is the clearest example: a voice isolation and turn-prediction SDK built for voice agents, which Krisp says runs inside more than 130 voice AI products and processes over 12 billion minutes a year (Krisp, 2026). You do not pip install it on a Saturday. You sign a licence.

The same is true further up the stack. The strongest speech-to-text and voice models are a credit card away, but their best rates, their priority capacity and their earliest models go to customers with volume and a contract.

We hold those contracts so you do not have to. Many of the models on Talkif come to you through our enterprise agreements with the providers, so you get the benefit of those deals without negotiating one, committing to a minimum, or managing a dozen API keys. You pick a voice from a list of models and voices, and the contract behind it is our problem. What we use for noise, turn-taking and isolation inside our own pipeline stays ours; what you get is the result on the call.

The fix: if a closed model is the difference between an agent that talks over people and one that does not, the question is not whether you can afford it, but whether you can get it.

Maintenance is the real licence fee

The open-source licence costs nothing. The upkeep does.

Voice frameworks move fast, because the field does. Providers ship a new model every few weeks and retire old ones with a month's notice. Prices change: ElevenLabs cut its realtime transcription price by almost half in November 2026. A self-hosted stack has to track every one of those changes, re-test, and redeploy, on top of security patches and the carrier's own changes.

We do that as the job. Model retirements, new models, price changes, the voice pipeline's own upgrades, the phone lines, the servers and both regions are maintained by us. You build the conversation. Your agent keeps working next quarter without a pull request from you.

Built to be run by your AI, not by your on-call

This is the part that did not exist a year ago, and the part we are most excited about.

A voice platform used to be a dashboard someone had to watch. Talkif is built so that the AI you already pay for can run it.

A loop of four blocks on graphite joined by arrows: voice agent to alert, alert to your ai, your ai to mcp, mcp back to voice agent. The your ai block is filled coral. A block labelled you sends a dashed arrow labelled decision into your ai.
The agent raises an alert, your AI reads it and acts through MCP, and you are asked only for the decision.

Alerts and notifications. Calls that fail, balances that run low, campaigns that finish: each one can reach you by email, push to the iPhone app, or a signed webhook to your own systems. See notifications.

MCP, both directions. Your voice agent can call tools on any remote MCP server you own, mid-conversation, the same way it would call your API. And Talkif itself is an MCP server: Claude, Cursor, ChatGPT and other agents can create flows, place calls, read transcripts and pull analytics through it.

Hand-off to your subscription. With the Talkif plugin for Claude Code, your coding agent can build and test a voice agent, then phone you when it needs a decision. The same connection lets your agents hand work to each other. The day-to-day of a voice deployment, from reading what went wrong on a call to changing a prompt and placing a test call, becomes something you ask your AI to do with the subscription you already have.

Full integration. Webhooks, real-time events, a typed API with SDKs for TypeScript and Python, and native connectors such as Meta lead ads mean the call lands where your business already lives.

When self-hosting voice agents is the right call

The strongest argument against everything above is real: at high, steady volume with an engineering team that already runs real-time systems, self-hosting can cost less per minute, and you keep full control of your data path. Some teams have regulatory reasons to keep every byte in their own cloud. If that is you, Pipecat and LiveKit Agents are the right foundation, and you should use them.

For everyone else, the question is not open source against closed. It is whether you want to spend the next year running voice infrastructure, or building what your callers hear. Build the prototype on whichever framework you like. When it has to answer a real phone, talk to a Talkif agent and see what the other half feels like.

Read next
  1. Marketing

    Voice AI latency isn't a GPU problem

    Voice AI latency is mostly bad decisions, not slow GPUs: five places a voice bot loses the caller, and the fix for each that needs no faster model.

  2. Marketing

    You bought tappers, not buyers

    Meta lead ads look cheap and sell nothing. We phoned every lead with a partner and found eight reasons the ads fail, and what fixes each one.

Questions about this piece? Write to us.