Author: Alec Lee | AX Global Strategist & Full-Stack Explorer. If you find any areas for improvement in this article, please feel free to contact me.
AZURE_STT_KEY
AZURE_STT_REGION
AZURE_TTS_KEY
AZURE_TTS_REGION
⚙️ (Optional) If you later wish to improve the AI assistant’s comprehension accuracy,✅ If you see the following page, it means your document has been successfully uploaded and parsed by the Dify system.
you can adjust parameters based on your specific business needs.![]()
AI Sales Avatar
token=
—AGORA_APP_ID=
(App ID)AGORA_CERTIFICATE=
(Certificate)AISalesAvatar
Enterprise Collaboration
AZURE_STT_KEY
AZURE_STT_REGION
AZURE_TTS_KEY
AZURE_TTS_REGION
project=ai-agent
— to help with future organization and management.
👇 Example view of the Tags and Networking configuration screen:
Tool | Purpose | Installation Method |
---|---|---|
Docker | Container environment for running TEN | Download from the official Docker site |
Git | Clone and manage the TEN codebase | brew install git |
Node.js | Run the front-end (Playground) | brew install node |
.dmg
installer for macOS and complete the installation.
.env
environment configuration.
🚀 Step 1: Clone the TEN Agent GitHub repository
Open your Terminal and run: git clone https://github.com/TEN-Framework/TEN-Agent.git
This will create a local folder named TEN-Agent,
containing all the necessary code and configuration files for the platform.
👇 Directory structure example:
ai_agents
subdirectory and copy the example .env
file:
cd TEN-Agent/ai_agents
cp .env.example .env
The .env
file contains the environment variables required to run the TEN Agent.
Next, you’ll need to manually edit this file and input the necessary credentials, including:
.env
configuration file:
.env
File and Fill in the Following Variables
Use a text editor (we recommend Cursor or VS Code) to open the .env
file..env
file being edited:
.env
file has been properly configured, the next step is to launch the TEN Agent container environment.
ai_agents
directory and start the Docker container services:
cd ai_agents
docker compose up -d
This command will launch the following container services:
ten_agent_dev: Main development container for running the Agent
ten_agent_demo: Example agent instance
ten_agent_playground: Frontend interface for interactive testing
👇 Project structure example:
manifest.json
and property.json
),task run
, open your browser and go to the following address to launch the frontend:
👉 https://localhost:49483
If everything is running correctly, you should see the interface below:
voice_assistant_intergrated_stt (Auto Start)
,tts_default
)azure_tts
en-US-AshleyNeural
In the Azure TTS module, set the following field:
Azure_synthesis_voice_name=en-US-AshleyNeural
llm
module and select “Replace Node with”dify_python
dify_python
node againvoice_assistant_integrated_stt
Marketing Info
Customer Lifecycle
Contract Lifecycle
Asset Lifecycle
“One Against a Thousand — Leaving No One Behind.”