Pydantic AI + PostHog AI Examples Track Pydantic AI agent calls with PostHog via OpenTelemetry. Setup cp .env.example .env # Fill in your API keys in .env uv sync Examples agent_with_otel.py - Agent with tool calling, instrumented via OTEL Run source .env uv run python agent_with_otel.py