Video Tutorial
CrewAI is a framework for easily building multi-agent applications. AgentOps integrates with CrewAI to provide observability into your agent workflows. Crew has comprehensive documentation available as well as a great quickstart guide.Installation
Install AgentOps and CrewAI, along withpython-dotenv
for managing API keys:
Setting Up API Keys
You’ll need API keys for AgentOps and OpenAI (since CrewAI’s built-inLLM
uses OpenAI models by default):
- OPENAI_API_KEY: From the OpenAI Platform
- AGENTOPS_API_KEY: From your AgentOps Dashboard
.env
file.
Usage
Simply initialize AgentOps at the beginning of your CrewAI application. AgentOps automatically instruments CrewAI components—including itsLLM
—to track your agent interactions.
Here’s how to set up a basic CrewAI application with AgentOps: