Guide
AutoGen agents converse and call the model many times to reach an answer. AgentPing instruments the underlying provider and wraps the conversation in a run, so one record carries the cost, status and output.
Install the SDK and point it at your AutoGen agent. One record lands per run with the cost, status, latency and output behind it.
pip install agentping
import agentping
agentping.init(api_key="apk_…", agent="autogen-team")
agentping.instrument_openai() # or instrument_anthropic()
# Wrap the conversation so the model calls roll up into one run.
with agentping.run(agent="autogen-team") as run:
result = await team.run(task="…")
AutoGen has no native hook, so you instrument the provider and wrap the conversation; the model calls inside roll up into the run. Full reference is in the docs.
Add the SDK, send one run, and watch cost, status and quality land in the dashboard.