TEN + XPack represents the next generation of AI agent development, combining the power of real-time multimodal AI agents with enterprise-grade tool integration capabilities. This integration enables developers to build sophisticated AI agents that can seamlessly interact with external systems, APIs, and tools through the Model Context Protocol (MCP).
TEN is a comprehensive open-source ecosystem for creating, customizing, and deploying real-time conversational AI agents with multimodal capabilities including voice, vision, and avatar interactions.
TEN includes TEN Framework, TEN Turn Detection, TEN VAD, TEN Agent, TMAN Designer, and TEN Portal. Check out 🌍 TEN Ecosystem for more details.
XPack is a comprehensive AI development platform that provides enterprise-grade tools and integrations for building sophisticated AI applications. XPack specializes in connecting AI agents with external systems through standardized protocols like MCP (Model Context Protocol).
Key features:
- Tool Integration Hub: Pre-built integrations with popular APIs and services
- Model Context Protocol (MCP) Support: Standardized way to connect AI models with external tools
- Enterprise Security: Advanced security features for production deployments
- Scalable Infrastructure: Cloud-native architecture for high-performance applications
- Developer Experience: Intuitive tools and comprehensive documentation
The combination of TEN and XPack creates a powerful ecosystem for AI agent development:
- Unified Development Experience: Build multimodal AI agents with seamless tool integration
- Real-time Capabilities: Process multiple data streams while maintaining tool connectivity
- Enterprise-Grade: Production-ready infrastructure with security and scalability
- Extensible Platform: Easy integration of custom tools and services
- Visual Development: Drag-and-drop interface for rapid prototyping and development
Before getting started with TEN + XPack, ensure you have the following:
| Category | Requirements |
|---|---|
| Keys | • Agora App ID and App Certificate (free minutes every month) • OpenAI API key (any LLM that is compatible with OpenAI) • Deepgram ASR (free credits available with signup) • Elevenlabs TTS (free credits available with signup) |
| Installation | • Docker / Docker Compose • Node.js(LTS) v18 |
| Minimum System Requirements | • CPU >= 2 Core • RAM >= 4 GB |
Note
macOS: Docker setting on Apple Silicon
Uncheck "Use Rosetta for x86/amd64 emulation" in Docker settings, it may result in slower build times on ARM, but performance will be normal when deployed to x64 servers.
# Clone the repository
git clone https://github.com/xpack-ai/ten-framework.git
cd ai_agents
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys (OpenAI, Agora, etc.)Setup Agora App ID and App Certificate in .env:
- Get your Agora App ID and App Certificate from Agora Console
- Add them to your
.envfile:AGORA_APP_ID=your_agora_app_id AGORA_APP_CERTIFICATE=your_agora_app_certificate
# Start agent development containers
docker compose up -d
# Enter container
docker exec -it ten_agent_dev bash
# Build agent (~5-8 minutes)
task use
# Start the web server
task runOpen your browser and visit localhost:3000 to access the TEN Agent Playground.
XPack's Model Context Protocol (MCP) integration enables TEN to connect with external tools and services, dramatically expanding your agent's capabilities.
- Visit XPack.AI and sign up for an account
- Generate your Auth key from your XPack dashboard
- Enter TEN Agent Playground
- In the right panel:
- Locate
Select Graphdropdown menu - Choose
voice_assistantoption
- Locate
- Click
Extension Icon Button - In the drawer popup:
- Find
LLM (Large Language Model)section - Click the ** Tool Icon Button ** next to it
- Find
- In the dropdown menu:
- Hover over
Add Toolsto reveal secondary menu - Select
mcp_client_python
- Hover over
- Click
Save changes
- Click
Setting Icon Button - In the configuration panel:
- From
Extensiondropdown, selectmcp_client_python - In URL field, enter:
https://mcp.xpack.ai/v1/mcp?apikey={YOUR_XPACK_AUTH_KEY}
- From
- Click
Save changes
- Click
Connectbutton: Start a conversation in the playground - Check
task runcommand line: Confirm printed information shows successful check
To connect your TEN to XPack, you need to configure an MCP server. This allows TEN to discover and utilize the tools available through XPack.
Easily check weather conditions and sunrise/sunset times for your travel destination to help you plan your trip.
I want to travel to Mount Tai in China on July 15th, 2025. Please help me understand the sunrise/sunset times for that day.
Quickly check current gold prices and understand key factors that may affect future price trends.
Please check the current real-time price of gold and provide specific factors that may impact its price in the future.
Conveniently search for flight information on specific routes and times to help you plan your travel.
Please help me check what flights are available from Guangzhou to Beijing on July 15th, 2025.








