Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

835 B
Raw Blame

AutoGen Examples with AgentOps

This directory contains examples of using Microsoft AutoGen with AgentOps instrumentation for various agent-based tasks.

Prerequisites

  • Python >= 3.10 < 3.13
  • Install required dependencies:
    pip install agentops "ag2[retrievechat]"
    

Examples

1. Agent Chat

Example: AgentChat This example demonstrates:

  • Basic agent chat functionality

2. Math Agent

Example: MathAgent

This example demonstrates:

  • A mathematical problem-solving agent

AgentOps Integration

These examples show how to use AgentOps to monitor and analyze your AI applications. AgentOps automatically instruments your AutoGen calls to provide insights into performance, usage patterns, and model behavior.

To learn more about AgentOps, visit https://www.agentops.ai