Getting Started
Last updated
Last updated
In this chapter, we’ll build the TEN Agent together. For additional help, check out the YouTube video tutorial at the end.
Agora App ID and App Certificate(read here on how)
Azure speech-to-text and text-to-speech API keys
OpenAI API key
Docker setting on Apple Silicon
You will need to uncheck "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option for Docker if you are on Apple Silicon, otherwise the server is not going to work.
1. Prepare config files
In the root of the project, use cd
command to create `.env` file from example . It will be used to store information for `docker compose` later.
2. Setup API keys & Environment variables in .env file
Open the .env
file and fill in the keys and regions. This is also where you can choose to use any different extensions:
3. Start agent builder toolkit containers
In the same directory, run the docker
command to compose containers:
4. Build TEN Agent
Open up a separate terminal window, build the agent and start the server:
5. Start the server
Now the server is running at port: 8080.
You can open localhost:3001 in browser to use your graph designer. Simultaneously, open another tab at localhost:3000 to see the customized voice agent up and running.
Now you have the power of the Graph Designer at your fingertips to perform the magic of agent customization yourself. 🎉
Graph designer
TEN Graph Designer (beta), a tool that requires zero coding knowledge and makes the experience of creating agentic applications smoother.