Agents built with the OpenAI Agents SDK run tools, hand off between agents and call models in a loop. AgentPing captures one record per run so you can see what each cost, whether it ran, and whether the output held up.
An OpenAI Agents SDK agent can hand off, retry and call a model several times in a single run. The provider console shows tokens by API key, not which agent or run spent them, and nothing tells you when a scheduled agent simply stopped firing.
Initialise once, then wrap the agent run. Hand-offs, tool calls and model calls inside the wrapper roll up into a single run with cost, status and latency.
npm install @agentping/sdk
import { init, run } from "@agentping/sdk";
import { Agent, run as runAgent } from "@openai/agents";
init({ apiKey: process.env.AGENTPING_API_KEY, agent: "support-triage" });
// Wrap the run; hand-offs and tool calls roll up into one record.
await run({ agent: "support-triage", customerId: "acme-corp" }, async () => {
return await runAgent(agent, input);
});
Full setup, environment variables and options are in the TypeScript SDK docs.
Send one run from OpenAI Agents SDK and see cost, status and latency. Then add an alert for cost spikes or missed runs.
Spend, cost attribution → Pulse, live monitoring → Verify, quality scoring →