Setup
- Install Langtrace’s SDK and initialize the SDK in your code.
- Install SwarmZero’s SDK:
- Use the
langtrace
SDK to capture traces from your SwarmZero app.
Configuration
- Create a
.env
file in your project directory and add your OpenAI API key:
- Create a configuration file (e.g.,
swarmzero_config.toml
) for your SwarmZero agent:
- Initialize the SwarmZero agent with Langtrace:
Advanced Features
Creating Agent Swarms
SwarmZero allows you to create swarms of collaborative agents:Adding Retrievers
Enable semantic search and document analysis: