The SDK shipped extensive AI instrumentation work, expanding beyond OpenAI and Anthropic to cover broader provider ecosystems and streaming patterns. Langchain support gained gen_ai.operation.name and gen_ai.pipeline.name span attributes with detection for providers beyond OpenAI and Anthropic, while Anthropic streaming—both synchronous and asynchronous—now emits proper gen_ai.chat spans with finish reason recording. On the platform side, an experimental async transport arrived alongside new global APIs for setting and removing attributes on logs and metrics independently of transaction/error contexts, and the asyncio integration gained on-demand enablement for multi-loop scenarios.
Focused on AI integrations and span streaming infrastructure. Version 2.52.0 shipped fixes across OpenAI, Google Genai, MCP, and Anthropic integrations—token reporting corrections and proper nesting of MCP spans under HTTP transactions. The 2.52.0 alpha series developed span streaming capabilities with a new batcher and telemetry pipeline integration, while 2.53.0 patched OpenAI Agents functions following a library refactor.