█

AI/TLDR

Buy me a coffee
Buy me a coffee

TEN Framework

Open-source framework for real-time multimodal conversational voice AI agents

Agent Frameworks & BuildersOpen source
Language
Python
IN SHORT

What is TEN Framework?

TEN Framework is Open-source framework for real-time multimodal conversational voice AI agents. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in Python. To get started: create your .env file.

Overview

TEN is an open-source framework for real-time, multimodal conversational AI. It gives you the plumbing to build voice agents that can listen to a person, run the audio through speech-to-text, a language model, and text-to-speech, and reply with low latency over RTC or WebSocket connections.

The framework ships with a set of agent examples you can run and customize, including a multi-purpose voice assistant, a doodle board, real-time speaker diarization, lip-sync avatars, SIP phone calls, and live transcription. It is part of a wider TEN ecosystem that also includes TEN VAD for voice activity detection and TEN Turn Detection for full-duplex dialogue.

Agents are assembled from extensions, so you can swap or add capabilities such as memory, voice activity detection, and turn detection. A visual tool called TMAN Designer lets you wire up and configure the speech-to-text, LLM, and text-to-speech pieces and drop in your API keys without editing code by hand.

What it does

  • Real-time multimodal voice pipeline that connects speech-to-text, an LLM, and text-to-speech with low latency
  • Supports both RTC and WebSocket connections for streaming audio between users and agents
  • Extension-based design lets you add capabilities like Memory, VAD, and Turn Detection to any agent
  • Ready-to-run agent examples: voice assistant, doodler, speaker diarization, lip-sync avatars, SIP call, and transcription
  • TMAN Designer, a visual tool for wiring up STT, LLM, and TTS extensions and entering API keys without code
  • Docker-based development and release workflow, plus a guide for running agents in GitHub Codespaces

Getting started

TEN runs its agent examples inside Docker. You will need an Agora App ID and App Certificate, plus API keys for an LLM (such as OpenAI), a speech-to-text provider (Deepgram), and a text-to-speech provider (ElevenLabs). Docker, Docker Compose, and Node.js v18 LTS are required.

Create your .env file

Clone the repository, move into the ai_agents folder, and copy the example environment file. Then fill in your Agora App ID and Certificate along with your Deepgram, OpenAI, and ElevenLabs keys.

bashbash
cd ai_agents
cp ./.env.example ./.env

Start the development containers

Bring up the agent development containers in the background, then open a shell inside the running dev container.

bashbash
docker compose up -d
docker exec -it ten_agent_dev bash

Build and run an example agent

Pick one of the default examples, install its dependencies, and start the web server. The agent UI is then available on localhost:3000 and the TMAN Designer on localhost:49483.

bashbash
cd agents/examples/voice-assistant
task install
task run

Customize with TMAN Designer

Open localhost:49483, right-click the STT, LLM, and TTS extensions, enter your API keys in their properties, and submit the changes to see the updated agent at localhost:3000.

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Building a real-time voice assistant that holds a spoken conversation with low latency
  • Adding phone support to a product with a SIP extension that powers calls through TEN
  • Running live transcription or speaker diarization on streaming audio
  • Creating lip-sync avatars that respond to speech using TEN's avatar examples
  • Prototyping conversational agents visually with TMAN Designer before deploying them with Docker

How TEN Framework compares

TEN Framework alongside other open-source agent frameworks & builders tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
DeepSeek Harness★ 289kDeepSeek AI's open-source agent harness (dsh), built on Cordis, where models, tools, skills, sessions, sandboxes, storage and the UI are all plugins composed through profiles.
AutoGPT★ 188kOne of the earliest autonomous agent projects, now a platform for building and running agents from reusable blocks and workflows.
DeerFlow★ 86kByteDance's open-source super agent harness built on LangGraph: skills, sub-agents, sandboxes, a filesystem and long-term memory for long-horizon research, coding and content tasks.
nanobot★ 50.5kLightweight self-hosted personal AI agent framework in Python, with a WebUI, terminal and chat-app channels, tools, long-term memory, MCP and scheduled automations.
LangGraph★ 45.6kA library from the LangChain team for building stateful, graph-based agent workflows with explicit control over steps, memory, and human-in-the-loop checkpoints.
Agno★ 43.3kA fast Python framework (formerly Phidata) for building agents with memory, tools, and multimodal inputs, plus a runtime for deploying them in production.
AgentGPT★ 36.3kAgentGPT lets you name a custom AI, give it a goal, and watch it plan tasks, run them, and learn from the results, all from a web browser.
TEN Framework★ 11.3kOpen-source framework for real-time multimodal conversational voice AI agents