# Which open-source frameworks can I build a voice agent on?

> The two main open-source frameworks are Pipecat, a Python framework under the BSD 2-Clause license, and LiveKit Agents, available for Python and Node.js under Apache-2.0. Both connect speech and language models to phone or web calls, and both include tools for testing agent behavior. Neither includes rules for regulated conversations such as debt collection.

Published 2026-12-04 by Workflow Manager (Nanobots Inc.). Canonical: https://workflowmanager.ai/blog/open-source-voice-agent-frameworks/

## Key facts

- Pipecat is BSD 2-Clause and runs on Python 3.11 through 3.14.
- LiveKit Agents is Apache-2.0, with Python and Node.js versions; its turn detection models carry a separate license.
- Both ship testing: Pipecat Evals, and LiveKit's unit tests and Agent Simulations.
- Both document a setup path for AI coding assistants.
- Neither README mentions the TCPA or the FDCPA, as of December 4, 2026.

## What does a voice agent framework do?

A voice agent is a loop: hear the caller, turn speech into text, decide what to say, turn text back into speech, and handle interruptions without talking over anyone. A framework gives you that loop, plus connectors to speech and language models and a way to attach the agent to a phone call or a browser.

Two open-source projects cover most of what teams build on today: Pipecat and LiveKit Agents. Everything below comes from each project's own repository and documentation, read on December 4, 2026.

## Pipecat

[Pipecat](https://github.com/pipecat-ai/pipecat) describes itself as "an open-source Python framework for building real-time voice and multimodal conversational agents." It is released under the [BSD 2-Clause License](https://github.com/pipecat-ai/pipecat/blob/main/LICENSE), with copyright held by Daily.

- **Language.** Python, versions 3.11 through 3.14 according to the README. Client SDKs exist for JavaScript, React, React Native, Swift, Kotlin and C++.
- **How you build.** An agent is a pipeline of modular parts. Pipecat Flows adds structured conversations with state.
- **Phone calls.** The examples include phone agents on Twilio and Telnyx, and the framework lists telephony serializers including Exotel, Genesys, Plivo and Twilio.
- **Testing.** [Pipecat Evals](https://docs.pipecat.ai/pipecat/evals/overview) runs scripted conversations and simulated callers "against the same agent you deploy." A scripted scenario can check an exact phrase, a function call, a latency budget or a judged expectation.
- **Working with coding assistants.** The README says `pipecat init` sets a project up so that an AI coding assistant such as Claude Code or Codex can build it.

## LiveKit Agents

[LiveKit Agents](https://github.com/livekit/agents) is "designed for building realtime, programmable participants that run on servers." The framework is licensed under Apache-2.0. Its README notes one exception: the LiveKit turn detection models are under a separate LiveKit Model License.

- **Language.** Python, with a Node.js distribution in the [agents-js](https://github.com/livekit/agents-js) repository, also Apache-2.0.
- **How you build.** Agents join a session as participants. The README lists integrations for speech-to-text, language models, text-to-speech and realtime APIs, plus built-in job scheduling and dispatch.
- **Phone calls.** It works with LiveKit's telephony stack, so an agent can place and receive calls. The media server itself is open source and can run on your own machines.
- **Testing.** The README lists a "builtin test framework." The [testing docs](https://docs.livekit.io/testing/unit-tests/) describe unit tests on pytest for Python and Vitest for Node.js, and [Agent Simulations](https://docs.livekit.io/testing/simulations/), which run the agent against a simulated user and return a pass or fail verdict. Simulations execute on LiveKit Cloud.
- **Working with coding assistants.** LiveKit publishes a docs MCP server and an agent skill for coding assistants, and the framework supports MCP tools natively.

## Side by side

| | Pipecat | LiveKit Agents |
| --- | --- | --- |
| License | BSD 2-Clause | Apache-2.0 (turn detection models under a separate license) |
| Server language | Python | Python and Node.js |
| Maintainer | Daily | LiveKit |
| Building block | Pipelines of modular parts | Agents as participants in a session |
| Phone calls | Examples for Twilio and Telnyx; several telephony serializers | LiveKit's own telephony stack |
| Built-in testing | Pipecat Evals: scripted and simulated scenarios | Unit tests, plus simulations on LiveKit Cloud |
| Coding assistant support | Project setup through `pipecat init` | Docs MCP server and an agent skill |
| Rules for regulated calls | Not included | Not included |

Both are permissively licensed, both let you choose your own speech and language models, and both now ship a way to test behavior. The choice usually comes down to language, the transport you already use, and whether you want a pipeline or a session model.

## What does neither framework include?

Neither project ships rules for regulated conversations. Neither README mentions the Telephone Consumer Protection Act, the Fair Debt Collection Practices Act or any other consumer-protection law. That is a fair boundary for a general framework, and it leaves a specific job with you.

If your agent talks to consumers about a debt, a loan or a medical bill, the framework will carry the audio and run the model. It will not know that:

1. a debt collector's first call must disclose that it is an attempt to collect a debt
2. a call placed with an AI voice generally needs the called party's prior consent, under the FCC's 2024 ruling
3. calls must stop when the person asks
4. collection calls are presumed harassing above seven in seven days

Both test tools can check these behaviors once you write the scenarios. The frameworks give you the runner. The rules, and the scenarios that prove an agent follows them, are still yours to write, keep current and rerun whenever a prompt or a model changes.

## How should you choose?

- **Pick by language first.** A Node.js team has one option here. A Python team has two.
- **Look at where your calls come from.** If you already use a telephony provider, check which framework has a maintained path to it.
- **Decide where tests should run.** Pipecat Evals runs from the command line against your own agent. LiveKit's unit tests run locally, and its simulations run on LiveKit Cloud.
- **List your rules before you write a prompt.** For a regulated agent, the list of things it must say and must never do is the real specification. Write it down, then turn each line into a test.

That last step is the gap Workflow Manager is being built for. It is an agent platform for regulated customer service from Nanobots Inc., in private preview, where the rules, their tests and the live monitors are part of the agent. Its first pack covers US collections, and an open-source release is planned to follow the preview.

## Questions

### Is Pipecat free for commercial use?

Pipecat is released under the BSD 2-Clause license, a permissive license that allows commercial use with attribution. The models and telephony services you connect to it have their own terms.

### Does LiveKit Agents support JavaScript?

Yes. The agents-js repository is a Node.js distribution of the framework, licensed under Apache-2.0. Pipecat's server framework is Python, with client SDKs for JavaScript and other platforms.

### Do these frameworks handle TCPA or FDCPA compliance?

No. They carry the audio, run the models and provide test runners. The rules an agent must follow, and the scenarios that prove it follows them, are written by the team building the agent.

### Can I test an agent built on these frameworks?

Yes. Pipecat Evals runs scripted and simulated scenarios against your agent, and LiveKit provides unit tests on pytest and Vitest plus simulations that run on LiveKit Cloud.

## Sources

- [Pipecat repository and README (GitHub)](https://github.com/pipecat-ai/pipecat)
- [Pipecat LICENSE, BSD 2-Clause (GitHub)](https://github.com/pipecat-ai/pipecat/blob/main/LICENSE)
- [Pipecat Evals overview (Pipecat docs)](https://docs.pipecat.ai/pipecat/evals/overview)
- [LiveKit Agents repository and README (GitHub)](https://github.com/livekit/agents)
- [LiveKit Agents for Node.js repository (GitHub)](https://github.com/livekit/agents-js)
- [LiveKit docs, unit tests](https://docs.livekit.io/testing/unit-tests/)
- [LiveKit docs, Agent Simulations](https://docs.livekit.io/testing/simulations/)
