Guide
Agents built with the OpenAI Agents SDK hand off between agents, run tools and call the model in a loop. AgentPing hooks into that lifecycle so one record lands per run with the cost, status and output behind it.
Install the SDK and point it at your OpenAI Agents SDK agent. One record lands per run with the cost, status, latency and output behind it.
pip install agentping
import agentping from agentping import AgentPingHooks from agents import Agent, Runner agentping.init(api_key="apk_…", agent="support-triage") agent = Agent(name="triage", instructions="…") # Pass the hooks; hand-offs, tool calls and model calls are captured. result = await Runner.run(agent, input="…", hooks=AgentPingHooks())
AgentPingHooks plugs into the SDK's run lifecycle, so a single run that hands off and retries is still one record with the full cost. Full reference is in the docs.
See the pillars behind these: Spend, Pulse and Verify. For why teams monitor OpenAI Agents SDK with AgentPing, see the OpenAI Agents SDK integration.
Add the SDK, send one run, and watch cost, status and quality land in the dashboard.