Getting Started
Last updated
Last updated
In this chapter, let's build the TEN Agent playground together.
Agora App ID and App Certificate (free minutes every month)
Docker setting on Apple Silicon
For Apple Silicon Macs, uncheck "Use Rosetta for x86/amd64 emulation" in Docker settings. Note: This may result in slower build times on ARM, but performance will be normal when deployed to x64 servers.
1. Clone down the TEN Agent repository
2. Prepare config files
Open TEN Agent in your code editor. In the root of the project, use cd
command to create `.env` file from example.
3. Setup Agora App ID and App Certificate in .env file
Open the .env
file and fill in Agora App ID and App Certificate.These will be used to connect to Agora RTC extension.
4. Start agent builder toolkit containers
In the same directory, run the docker
command to compose containers:
5. Enter container
Use the following command to enter the container:
6. Build the agent
Use the following command to build the agent:
7. Start the web server
Use the following command to start the web server:
8. Edit playground settings
Open the playground at localhost:3000 to configure your agent.
Select a graph type (e.g. Voice Agent, Realtime Agent)
Choose a corresponding module
Select an extension and configure its API key settings