• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Python agent v13.2.0

July 6, 2026Download

Notes

This release of the Python agent adds instrumentation support for Google ADK, adds token counting for multiple AI providers (Anthropic, Google GenAI, OpenAI, and AWS Bedrock), reduces outbound tracestate header size, and fixes a crash in graphql-core instrumentation.

Install the agent using easy_install/pip/distribute via the Python Package Index, using conda via the Conda-Forge Package Index, or download it directly from the New Relic download site.

Improved Features

  • Added instrumentation for Google ADK

    • The Python agent now instruments Google ADK (Agent Development Kit) AI agent workflows.
    • Instrumented components include:
      • LlmAgent linked to Gemini or VertexAI backends via google.genai
      • User-defined FunctionTool instances
      • Sub-agent workflows including child agents and AgentTool instances
      • Multi-agent workflows including the Workflow class and deprecated LoopAgent, ParallelAgent, and SequentialAgent classes
  • Added token counting for Anthropic, Gemini, OpenAI, and Bedrock

Bugs

  • Fixed instrumentation crash for graphql-core v3.2.10

    • Previously, graphql-core v3.2.10 renamed the errors attribute to collected_errors in ExecutionContext, causing the agent to crash. This has been fixed, and the agent now works correctly with graphql-core v3.2.10 and later.
  • Removed spanId from outbound tracestate header

    • Previously, the agent included spanId in the outbound tracestate header. Because spanId is already present in the traceparent header, this was unnecessary duplication. The spanId has been removed from tracestate to reduce outbound header size.

Support statement

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.

See the New Relic Python agent EOL policy for information about agent releases and support dates.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.