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
Python agentagentopsagents-sdkaianthropicautogencost-estimationcrewaievalsevaluation-metricsgroqlangchainllmmistralollamaopenaiopenai-agents
AG2 Examples with AgentOps
This directory contains examples of using AG2 (AutoGen 2.0) with AgentOps instrumentation for various multi-agent conversation tasks.
Prerequisites
- Python >= 3.10 < 3.13
- Install required dependencies:
pip install agentops ag2
Examples
1. Asynchronous Human Input
Example: async_human_input
This example demonstrates:
- Asynchronous human input handling
2. Wikipedia Search Tool
Example: tools_wikipedia_search
This example demonstrates:
- Wikipedia search tool integration
AgentOps Integration
These examples show how to use AgentOps to monitor and analyze your AI applications. AgentOps automatically instruments your AG2 calls to provide insights into performance, usage patterns, and model behavior.
To learn more about AgentOps, visit https://www.agentops.ai