{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/3"}],"enrichment":{"capability":"Auto-instruments Claude Agent SDK calls to emit OpenTelemetry-compatible traces capturing prompts, results, token counts, and tool execution as OpenInference AGENT spans.","skillfed_tags":["llm-observability","opentelemetry","agent-tracing"],"use_cases":["Monitor agent query latency, token usage, and cost per call in production.","Debug multi-turn conversations by viewing the full trace of prompts, responses, and tool calls.","Analyze tool invocation patterns and failure rates across agent runs.","Export traces to Phoenix Cloud or Arize AX for centralized LLM observability dashboards.","Correlate agent spans with downstream application metrics in a unified OpenTelemetry backend."],"what_it_does":"This package wraps Claude Agent SDK calls (query() and ClaudeSDKClient) with OpenTelemetry instrumentation to emit traces compatible with OpenInference conventions. Each call generates an AGENT span containing the prompt input, result output, session and model metadata, token counts, and nested TOOL spans for any tool invocations. Traces are sent to an OTLP collector\u2014Phoenix (local or cloud), Arize AX, or any standard OpenTelemetry backend\u2014enabling observability of agent behavior, tool usage, and LLM costs.\n\nThe package uses hook injection into the Claude Agent SDK to capture tool execution (PreToolUse, PostToolUse, PostToolUseFailure events) without modifying application code beyond a single instrumentation call. It depends on openinference-instrumentation, opentelemetry-api, opentelemetry-instrumentation, and related semantic convention packages. For deeper visibility into internal Anthropic API calls within the agent, pair it with openinference-instrumentation-anthropic.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and directly solves a concrete problem\u2014observing Claude Agent SDK behavior in production. Install it if you run Claude agents and need traces for debugging, monitoring, or cost analysis. Pair it with openinference-instrumentation-anthropic if you also need visibility into the underlying Anthropic API calls."},"id":"openinference-instrumentation-claude-agent-sdk","links":{"html":"https://skillfed.io/packages/openinference-instrumentation-claude-agent-sdk","md":"https://skillfed.io/packages/openinference-instrumentation-claude-agent-sdk.md","pypi":"https://pypi.org/project/openinference-instrumentation-claude-agent-sdk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"openinference-instrumentation-claude-agent-sdk","python_support":"supports_current","summary":"OpenInference Claude Agent SDK Instrumentation"},"popularity":{"monthly_downloads":432529,"position":6707,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.10"}
