Run the demo
This guide shows you how to run the TEN Agent demo, a web-based interface for interacting with the agent. The demo uses a fixed orchestration that demonstrates the agent's capabilities including:
- Real-time voice interaction
- Multi-modal communication
- Extension orchestration
- Agent response handling
Prerequisites
Before running the demo:
- Complete the Agent quickstart
- Ensure Docker is running on your system
- Install pnpm if you want to run from source code
Run from Docker image
The quickest way to run the demo is using the pre-built Docker image included in the project.
-
Follow the Agent quickstart to set up the environment
-
Switch to the demo configuration:
-
Start the web server:
-
Access the demo at
http://localhost:3002
Run from source code
To run the demo from source code:
-
Open a new terminal in the TEN-Agent project directory
-
Navigate to the demo folder:
-
Install dependencies:
-
Start the demo:
-
Access the demo at
http://localhost:3001
The demo requires the Go web server to be running. Start it with task run
in the container after completing the Getting started guide.