Installation
How to install and set up Trace2
Installation
Get started with Trace2 in just a few minutes.
Requirements
- Python >= 3.10
- pip or conda
Install via pip
The easiest way to install Trace2:
pip install trace-optDevelopment Installation
If you want to contribute or work with the latest version:
git clone https://github.com/AgentOpt/OpenTrace.git
cd OpenTrace
pip install -e .Optional Dependencies
AutoGen Backend
For backward compatibility with AutoGen:
pip install trace-opt[autogen]Test Dependencies
For running tests:
pip install trace-opt[test]Verify Installation
Test that everything is working:
from opto.trace import node
from opto.optimizers import OptoPrime
print("✅ Trace2 installed successfully!")