Preparation for installation
The following environment preparation is required to install Trae Agent:
- Python 3.12 environment
- pip package management tool
- Recommended UV virtual environment management tools
Detailed installation steps
- Installation of UV tools::
pip install uv - Creating a Virtual Environment::
uv venvThen, depending on the system activation environment - cloning project: Clone the repository from GitHub and go to the directory
- Installation of dependencies: Use
uv pip install -r requirements.txt
Key configuration items
Configuration involves two main aspects:
- API Key Setting: Configure LLM provider keys via environment variables
- configuration file: Modify config.json in the project root directory, including default providers, model parameters, etc.
After the installation is complete, you can access it via thetrae show-configcommand to verify that the configuration is correct.
This answer comes from the articleTrae Agent: open source software engineering task automation toolsThe































