Voice AI Day is baaaaack! 🎙️ 11 cities, 10 Dec
    Video7:43by Voice AI Space

    Build or Buy a Voice AI Agent?

    Four ways to get a phone voice agent: finished agent, platform, open-source framework or your own stack, with the trade-off in control, effort and price.

    Part of Voice AI Explained. See every episode, in learning order, in How Voice AI Works: A Complete Guide.

    Summary

    The Four Roads to Voice AI

    When implementing a voice AI agent to answer phone calls, there are four primary paths, each offering a different balance of control and effort:

    • Finished Agent: A vendor builds, runs, and continuously improves the agent with you. Examples include Decagon, PolyAI, and Sierra, as well as contact center suites like Amazon Connect and Google Cloud. Pricing is typically custom (per minute, conversation, or resolved call). This path provides a complete product but requires signing a larger contract and giving up control.
    • Platform: You configure the agent (prompt, voice, tools, and phone number) while the platform runs the calls. Examples include Bland, ElevenLabs, Retell, and Vapi. This allows for rapid deployment, often on the same day. Pricing usually involves a platform fee (around five cents per minute) plus model and phone line costs, or a bundled rate. You lose control over the inner pipeline, and the platform controls feature and pricing changes.
    • Framework: You write the agent's code using an open-source framework (such as LiveKit Agents, Pipecat, or Ten Framework) that handles real-time audio complexities like turn-taking and interruptions. This offers maximum flexibility with models, providers, and data hosting, but requires engineering resources to deploy, scale, and maintain. Managed hosting options (like LiveKit Cloud or Pipecat Cloud) exist as a middle ground.
    • Your Own Stack: You build the entire system from scratch, connecting raw audio directly to models. This requires developing voice activity detection, turn detection, echo cancellation, and scaling. It is highly complex, with a common issue being premature interruptions, and is typically only pursued by large teams where voice is the core product.

    Evaluating the Costs of Building vs. Buying

    Deciding whether to build or buy on cost alone depends heavily on call volume. For example, comparing a platform fee of five cents per minute to a managed framework hosting fee of one cent per minute yields a savings of four cents per minute. If employing an engineer to manage a framework agent costs $15,000 per month, a company would need approximately 375,000 minutes of call volume per month to break even on the engineering cost. However, control and compliance requirements often dictate the decision before cost does.

    Key Questions for Decision Making

    To choose the right path, organizations should consider six key questions:

    1. What is the expected call volume (minutes per month) now and in a year?
    2. Who will own and maintain the system, and are real-time audio engineers available?
    3. How much control is needed over latency, turn-taking, and models?
    4. Where must the data reside to meet regional and certification requirements?
    5. How quickly does the agent need to be launched?
    6. What assets (prompts, phone numbers, keys) can be retained if transitioning to a different provider?

    Recommended Strategy

    A common and recommended path is to start on a platform to quickly learn what callers need, while keeping prompts, tools, and tests portable. As volume or control requirements grow, organizations can transition to a framework. Two critical mistakes to avoid are building from scratch before launching a first real call and making decisions based solely on headline pricing.

    Full transcript

    You want a voice agent that answers real phone calls. Do you build it or buy it? Ask around, and you'll hear every answer, often from someone selling one of them. Today, the four roads, with real names and real prices, and six questions to pick yours. One note: Deepgram, LiveKit, OpenAI, and Twilio have paid Voice AI Space for events or promotions. None paid for this video, and every list of companies is alphabetical.

    Build or buy sounds like two options. There are really four. One, buy a finished agent. A vendor builds it and runs it with you. Two, use a platform. You set up the agent, and the platform runs the calls. Three, build on an open-source framework. You write the code, and you choose every part. Four, build your own stack, from the raw audio up. Each step down gives you more control and more work.

    Road one is for companies that want the result, not the project. Vendors like Decagon, Parloa, PolyAI, and Sierra build the agent with you, run it, and keep improving it, often with their own team on your account. Big contact center suites include voice agents too: Amazon Connect, Google Cloud, Microsoft, and NICE with Cognigy. Prices are usually custom: per minute, per conversation, or even per resolved call. You get a finished product and people to run it. You give up control, and you sign a bigger contract.

    Road two is where many teams start: a voice agent platform. Bland, ElevenLabs, Retell, Synthflow, Ultravox, and Vapi are examples. Companies that started with models or phone lines now sell agent products too, like Cartesia and Telnyx. You write a prompt, pick a voice, and connect your tools and a phone number. On most of them, your first real call can happen the same day. Pricing comes in two shapes: a platform fee of around five cents a minute with the models and phone line charged on top, or one bundled rate. Either way, compare the all-in cost of a minute. What you give up: control over the inner parts of the pipeline, and a platform can change its features or prices on its own schedule. So check what you can take with you. Many platforms let you bring your own phone numbers, model keys, or model server.

    Road three, an open-source framework. You write the agent in code, and the framework handles the hard real-time parts like turns and interruptions. Examples: LiveKit Agents, Pipecat, and Ten Framework. Model companies have their own kits too, like Google's ADK and OpenAI's Agents SDK. Read the license. LiveKit Agents uses Apache 2.0, and Pipecat uses BSD. Ten adds extra conditions to its Apache license. And add-on models have their own terms: LiveKit's turn detection model may only be used with LiveKit Agents, while Pipecat's Smart Turn model is BSD. What you get: any model, any provider, your own servers, and your data where you want it. What it costs: engineering. Someone has to deploy it, scale it, connect the phone lines, and watch it in production. In between, there's managed hosting. LiveKit Cloud and Pipecat Cloud run your framework code for about one cent per minute, plus the models and the phone line.

    Road four, no framework at all. You connect the raw audio to the models yourself. Then everything a framework gives you is yours to build: voice activity detection, turn detection, interruptions, echo, streaming, phone calls, and scaling. One voice AI guide written by the team behind Pipecat puts it simply: the most common complaint about agents built from scratch is that they interrupt too often. Some large teams do build their own because voice is their product. Sierra, for example, has written about building its own speech detection and latency tracing. For most teams, that means rebuilding what a framework already does.

    Some building blocks do much of the work behind one API. Speech-to-speech models hear and speak in one model: Amazon Nova Sonic, Google's Gemini Live, and OpenAI Realtime. Others put speech-to-text, a model, and text-to-speech behind one connection: AssemblyAI's and Deepgram's voice agent APIs and Microsoft's Azure Voice Live. Some connect to phone lines directly. Azure Voice Live works with Azure's own calling service, and OpenAI's voice APIs can answer over SIP. Twilio's Conversation Relay does the listening and speaking and sends text to your own server. Handy, but not a road on its own. You still need the logic, the tools, and the testing around them.

    So when does building pay off? On cost alone, it's mostly a question of volume. Take a platform fee of five cents a minute against about one cent for managed framework hosting. If you use the same models and phone line, those cost about the same either way. That's four cents a minute. At 10,000 minutes a month, it's $400. At a million minutes, it's $40,000. Now the other side: say running your framework agent takes one engineer at about $15,000 a month all in. You'd need around 375,000 minutes a month before the savings cover that. Your numbers will differ, so run them. And control or compliance can decide before cost does.

    Here are six questions to pick your road. One, how many minutes a month, today and in a year? Two, who will own it? Do you have engineers who can run real-time audio in production? Three, how much control do you need over latency, turn-taking, and models? Four, where must the data live? Check each vendor's regions, certifications, and whether you can host it yourself. Five, how fast do you need to launch? And six, if you leave, what can you take with you? Low volume, no audio engineers, launch fast: a platform. High volume, strict data rules, a team that wants control: a framework. A large contact center that wants results: a finished agent.

    A common path: start on a platform and learn what callers really ask for. Keep your prompts, tools, and test calls in your own repository, and use your own phone numbers and model keys where you can. When volume or control demands it, move to a framework, often on its managed cloud first. Or mix them: many platforms can call your own model server. The roads connect. Two mistakes to avoid: building from scratch before your first real call, and choosing by the headline price.

    To recap: four roads. A finished agent, a platform, a framework, or your own stack. Each step down gives you more control and more work. Volume decides the cost, but control and compliance can decide first. And whatever you pick, keep your prompts, tools, tests, and phone numbers portable.

    That completes our main series on how voice agents are made. Tell us in the comments what we should go deeper on next. Prices and features change fast. If we got something wrong, tell us. Corrections get pinned. And you'll find voice AI products sorted by role in the Voice AI Space library.