CapabilityWire
// event · sdk

Anthropic Python SDK v1.14.0 adds OpenTelemetry tracing and Managed Agents telemetry

sdk
vendor: anthropicspublished: 1h agoconfidence: 0.90id: 3ca90e1c-788a-4047-b862-aa32a3b7c9dc

Anthropic Python SDK 1.14.0 adds built-in OpenTelemetry tracing for API calls, streaming, and tool runs, plus Managed Agents execution_identity, telemetry destination endpoints in the Admin API, and streaming robustness fixes (dropped-stream cleanup, unknown event pass-through, pre-message_start event handling).

capability delta

An agent can now emit OpenTelemetry traces for Anthropic API calls, streaming, and tool runs, plus manage telemetry destinations and execution identities for Managed Agents via the Admin API.

curator note

OTel tracing is the headline feature — meaningful for agent observability. Managed Agents execution_identity and telemetry destinations are also agent-ops relevant.

// install
pip install anthropic==1.14.0
pypi · anthropic @ 1.14.0
// example
python
# pip install anthropic==1.14.0 opentelemetry-sdk
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import ConsoleSpanExporter, BatchSpanProcessor
from anthropic import Anthropic

# Set up OTel
provider = TracerProvider()
provider.add_span_processor(BatchSpanProcessor(ConsoleSpanExporter()))
trace.set_tracer_provider(provider)

client = Anthropic()

# API calls, streams, and tool runs are now auto-traced
msg = client.messages.create(
    model="claude-sonnet-4-5",
    max_tokens=256,
    messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)
// links
anthropicclaudepython-sdkopentelemetryobservabilitymanaged-agentsstreaming
source: github_release · https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.14.0