|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| ag2_async_agent.ipynb | ||
| ag2_async_agent.py | ||
| groupchat.ipynb | ||
| groupchat.py | ||
| requirements.txt | ||
| tools_wikipedia_search.ipynb | ||
| tools_wikipedia_search.py | ||
README.md
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