Pipecat and TEN Framework both build real-time voice agents. Pipecat is a Python pipeline under the BSD 2-Clause license. TEN is a graph of extensions under Apache 2.0 with Agora's added conditions. For a visual builder on Pipecat, Dograh, the open-source AI voice agent platform, runs a Pipecat fork you can self-host or run on Dograh Cloud.
Key Takeaways
- TEN's license bars on-device hosting and any use that competes with Agora.
- Pipecat is Python code, while TEN extensions can be C++, Go, Python or TypeScript.
- Both reach phones over carrier media streams, with transfers on Pipecat's Daily routes.
Pipecat and TEN Framework do the same job with very different code and very different terms. We line them up in one table, then cover design, languages, phone calls and TEN's license conditions, and we close with how Dograh adds a visual builder and telephony on a Pipecat fork.
Pipecat vs TEN Framework in one table
Pipecat runs your agent as Python code, and TEN runs it as a graph of extensions that Agora maintains. The table lines them up on the points a team checks first, from design and language to the phone route and the license.
| Pipecat | TEN Framework | |
|---|---|---|
| What it is | Open-source Python framework for real-time voice and multimodal agents | Framework for conversational voice agents, copyright Agora |
| Design | A pipeline of frame processors, written in Python | A graph of extensions, set in a property.json file |
| Languages | Python 3.11 or newer | Extensions in C++, Go, Python or JavaScript and TypeScript |
| Transports | Daily, LiveKit and small WebRTC, FastAPI and server WebSockets, WhatsApp, local audio | Agora RTC, plus WebSocket connections |
| Phone calls | Serializers for Twilio, Telnyx, Plivo, Exotel, Vonage, Genesys and Jambonz, plus Daily PSTN and SIP | Examples for Twilio, Telnyx and Plivo over the carrier's media stream |
| Visual editor | Pipecat Flows Editor lays out a flow and exports it into your code | TMAN Designer edits the graph and each extension's settings |
| Hosting | Your own servers, or Pipecat Cloud | Your own servers, as a Docker image per example |
| Keys you start with | Keys for the model services you choose | An Agora App ID, plus the App Certificate if your Agora project has it turned on, and model keys |
| License | BSD-2-Clause | Apache 2.0 with Agora's added conditions |
| Maintained by | Daily and the community | Agora |
The license row matters more than it looks. Pipecat's terms put almost no limit on what you build, while TEN adds conditions on top of Apache 2.0 that a later section reads line by line. The phone row looks uneven, yet both projects reach callers the same basic way.
Two designs, a pipeline and a graph
Pipecat models a call as a pipeline. Audio, text and control messages move as frames through a chain of processors, from voice activity detection through speech-to-text, the language model and the voice. Each processor does one job, so swapping one speech vendor for another is a small code change. Our explainer on what Pipecat is covers frames, processors and transports in more depth.
TEN Framework models the agent as a graph. Each node is an extension, such as speech-to-text, a language model or a voice, and typed messages flow between nodes along the connections you define. The graph lives in a property.json file, and TMAN Designer gives you a browser editor for the graph and each extension's settings. You can change an agent there or by editing the file directly.
The two designs lead to different daily work. A pipeline reads top to bottom in one Python file, which most developers follow at a glance. A graph handles branches and parallel paths more naturally, and the visual editor helps a teammate who would rather not read code, though TMAN Designer is still a developer tool.
One outside writer gives each design a different win. The creator of RoomKit, a rival framework, calls Pipecat's frame pipeline "the most intuitive model for building voice agents". The same author says TEN "goes deepest on real-time media", with its own voice activity detection and avatar lip-sync.
Languages and how each one is set up
Pipecat is a Python package. It needs Python 3.11 or newer, installs with pip, and wires in a long list of speech, language and voice services on your own keys. A first browser demo can run in an afternoon, because the whole agent is one Python program you start like any other.
TEN is a platform you run in Docker. Its core is compiled, and TEN supports extensions written in C++, Go, Python or JavaScript and TypeScript, all inside one process. The voice assistant example asks for Docker, Docker Compose and Node.js, plus an Agora App ID, the App Certificate if your Agora project has it turned on, and keys for services such as OpenAI, Deepgram and ElevenLabs. The RoomKit author sums it up as "a full platform, not a library".
Speed is the usual argument for TEN's compiled core. Plivo's framework guide, written by a carrier that sells its own voice AI infrastructure, says TEN's audio processing "runs in C++ outside the Python GIL". The same guide argues that "the framework you pick rarely changes the maximum latency you can hit", because network and model time dominate each turn.
That second point matches what most teams see on real calls. Your choice of speech-to-text, language model and voice moves response time far more than the framework that connects them. A team with C++ or Go skills gains more from TEN's language range than from its speed.
Open Source Alternative to Vapi / Retell
Self-hosted voice agent platform — no per-minute fees
dograh-hq/dograh
Star on GitHub
How each framework reaches a phone call
Both frameworks reach a phone number the same basic way, through a carrier's media stream over a WebSocket. Pipecat ships serializers for Twilio, Telnyx, Plivo, Exotel, Vonage, Genesys and Jambonz, and its examples also cover Daily's PSTN and SIP routes. On the carrier WebSocket routes, Pipecat lists no advanced call center features such as transfers or reconnects, so transfers to a person sit on the Daily routes.
TEN's examples folder has voice assistants for Twilio, Telnyx and Plivo. Their folder names say SIP, but the Twilio example needs a public server address "for webhooks and WebSocket connections for audio streaming", so it also runs on the carrier's media stream. It handles inbound and outbound calls. Our guide to WebRTC vs SIP explains how these routes differ from a SIP trunk.
The phone work left over is the same on both sides. Somebody still builds the screens for call lists and retries, stores recordings and transcripts, adds transfers to people where the carrier route allows them, and keeps a public address with valid certificates running. Our comparison of open-source voice AI frameworks puts both projects beside LiveKit Agents and Vocode on the same gap.
What TEN's license allows and what it rules out
TEN's terms go past plain open source. TEN Framework's license file grants Apache 2.0 "with the following additional conditions" from Agora, and GitHub's license detector lists the repository as Other for that reason. In plain words, the conditions say this.
- You may not host TEN, or anything built from it, on end-user devices, and the file names mobile devices.
- You may not deploy it in a way that competes with Agora's offerings or lets others compete with them, which includes letting a third party develop or deploy applications.
- You may use it only to build your own applications, for your own benefit and your direct end users.
- Changes you make to TEN stay under the same terms.
The file also defines its terms narrowly. End users are the people who use your application, and applications are the software you build with TEN. Put together, a product team building its own voice agent on TEN fits the terms. A company building a platform that lets its customers make their own agents is the case the second condition names, and an app that runs TEN on a phone is the case the first names.

Two scope notes matter. TEN's README says some listed folders use plain Apache 2.0, and TEN VAD, its voice activity model, ships under its own license with Agora conditions against competing use, though without the on-device bar. TEN's docs also mention running on mobile, while the first condition bars hosting on end-user devices, so check with Agora before any on-device build.
Pipecat's BSD-2-Clause terms ask only that you keep the copyright notice and disclaimer when you share the code. Read the TEN file with your lawyer before you build a product on it, since the conditions decide whether the product is allowed at all.
Join the Dograh Community
Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.
Where Pipecat fits and where TEN fits
Pipecat fits a Python team that wants the widest choice of services and the loosest terms. It suits products of any shape, including platforms that let customers build agents and apps that run on a device, and Pipecat Cloud is there for teams that would rather not run servers.
TEN fits a team that wants a visual graph editor, extensions in compiled languages and Agora's real-time network for app and browser audio. It suits one company building its own agents for its own users, which is the use the license allows. Teams already paying for Agora get the most from it.
For phone agents, the two are closer than their designs suggest. Both stream carrier audio and leave the product around the call to you. If you plan to resell what you build or let customers build agents on it, the license makes the choice before any benchmark does.
Running a Pipecat agent on Dograh's builder
Dograh, the open-source AI voice agent platform, runs on a fork of Pipecat, so every call goes through the same pipeline this post compares. Agents are built without code on a visual workflow builder, a canvas of nodes and pathways that maps onto the frames and processors underneath.
On Dograh Cloud, and on a self-hosted install connected to a free Dograh account, new agents start in the Agent Builder, or you can start from a blank canvas. The Agent Builder runs on Dograh's hosted models, so on a server with no internet access you build on the canvas. Campaigns dial call lists and Agent Runs keep each call's transcript and recording, while a QA node reviews each call once it ends.
The phone layer is built in too, with Twilio, Vonage, Plivo, Telnyx, Exotel, Vobiz, Cloudonix, Asterisk ARI and WhatsApp. Transfer Call works on Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI, and Dograh calls the destination first and connects the caller only when someone answers. Our comparison of Dograh vs Pipecat lists what else sits on top of the framework.
The code uses the same BSD 2-Clause license as Pipecat. You can self-host it with Docker Compose, or deploy on-premise on Enterprise. Self-hosting carries no per-minute platform fee, though servers, model keys and phone minutes still cost money, and Dograh Cloud runs it all for a 1¢-a-minute platform fee.
Glossary
- Frame processor
- One step in a Pipecat pipeline, such as speech-to-text or a voice, that takes frames in, does one job and passes frames on.
- Extension graph
- TEN's way of building an agent, with extensions as nodes and typed messages flowing along the connections set in property.json.
- TMAN Designer
- TEN's browser editor for an agent's graph and each extension's settings. It edits the same property.json a developer can change by hand.
- Carrier media stream
- A carrier feature that sends a call's audio to your server over a WebSocket, the route both frameworks use for Twilio, Telnyx and Plivo calls.

