Skip to main content

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 with python-dotenv for managing API keys:

Setting Up API Keys

You’ll need API keys for AgentOps and OpenAI (since CrewAI’s built-in LLM uses OpenAI models by default): Set these as environment variables or in a .env file.
Then load them in your Python code:

Usage

Simply initialize AgentOps at the beginning of your CrewAI application. AgentOps automatically instruments CrewAI components—including its LLM—to track your agent interactions. Here’s how to set up a basic CrewAI application with AgentOps:

Examples

Job Posting

Create job postings with a crew of specialized agents

Markdown Validator

Validate and improve markdown content using CrewAI agents