Guide
Pydantic AI gives you typed, structured agents. AgentPing instruments them so each run reports cost, status and the quality of the structured output, without touching your agent definitions.
Install the SDK and point it at your Pydantic AI 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="extractor")
agentping.instrument_pydantic_ai()
# Run the agent as usual; every run is captured.
result = await agent.run("…")
instrument_pydantic_ai() captures each agent run, including tool calls and retries, as one record. Full reference is in the docs.
Add the SDK, send one run, and watch cost, status and quality land in the dashboard.