AgentOps has first party support for SwarmZero via its Python SDK. Explore development with SwarmZero by visiting their docs.

Steps to integrate SwarmZero with AgentOps

1

Install SwarmZero

2

Install the AgentOps SDK

3

Install additional dependencies

4

Add AgentOps to your code

Make sure to call agentops.init before calling any openai, cohere, crew, etc models.

Set your API key as an .env variable for easy access.

Read more about environment variables in Advanced Configuration

5

Run your Agent

Execute your program and visit app.agentops.ai/drilldown to observe your Agent! 🕵️

After your run, AgentOps prints a clickable url to console linking directly to your session in the Dashboard

Clickable link to session

Full Example

Using the Agent

Once your agent is running, you can interact with it using HTTP requests:

This example can be found in this notebook This full code for this example can be found in this repository.