---
title: python-agent-110500
source: https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110500
---

## Notes

This release of the Python agent adds trace/span support for Hybrid Agent, New Relic's integration with OpenTelemetry. It also adds entity GUIDs to Agent Control health check files,  `subcomponent` attributes to agentic AI instrumentation, support for new [Redis](https://pypi.org/project/redis/) client methods, fixes a bug where there may be duplicate ImportHookFinder instances and a bug in [OracleDB](https://pypi.org/project/oracledb/) `Cursor.callproc()` instrumentation.

Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic), using `conda` via the [Conda-Forge Package Index](https://anaconda.org/conda-forge/newrelic), or download it directly from the [New Relic download site](https://download.newrelic.com/python_agent/release).

## Features

-   Add Hybrid Agent tracing support

    -   Hybrid Agent is designed to bridge the gap for teams looking to adopt OpenTelemetry standards while maintaining backwards compatibility with their existing New Relic dashboards. Hybrid Agent offers a "best-of-both-worlds" experience by combining New Relic’s deep visibility with OpenTelemetry API compatibility. It provides an observability solution with integrated support for the following OpenTelemetry APIs:
        -   Tracing
        -   Standalone library and native framework instrumentation
    -   Key enhancements like Span Links and Events on Spans are now available, ensuring seamless interoperability in mixed-mode environments.

-   Introduces a new Trace ID Ratio based sampler

    -   A new Trace ID Ratio based sampler. This sampling algorithm is based off the sampler of the same name from OpenTelemetry, and can be configured to sample a set percentage of transactions.

-   Add `subcomponent` attributes to agentic AI instrumentation

    -   Instrumentation for [LangChain](https://pypi.org/project/langchain/), [MCP](https://github.com/modelcontextprotocol/python-sdk), and [Strands](https://pypi.org/project/strands-agents/) now includes a `subcomponent` attribute on spans that represent tool or agent calls. This is used to provide more enhanced entity mapping in the New Relic UI.

-   Add entity GUID to Agent Control health check files

    -   When the agent is started within an Agent Control environment, a health check file is created at the configured file location for every agent process. This file now includes the GUID of the entity related to the agent when available.

-   Add instrumentation for new [Redis](https://pypi.org/project/redis/) methods

    -   Add instrumentation for the following methods new methods on Redis clients:
        -   hotkeys_get
        -   hotkeys_reset
        -   hotkeys_start
        -   hotkeys_stop
        -   vrange
        -   xcfgset

## Bugs

-   Fix duplicate ImportHookFinder instances

    -   Previously it was possible for duplicates of the import hook finder to be added to `sys.meta_path`.

-   Fix incorrect signature on [OracleDB](https://pypi.org/project/oracledb/) `Cursor.callproc()`

    -   Previously attempting to use keyword arguments with `Cursor.callproc()` would cause crashes as the argument names were incorrect in our instrumentation. This has been fixed, and the additional argument `keyword_parameters` is now also supported.

## 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](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date.

See the New Relic Python agent [EOL policy](https://docs.newrelic.com/docs/apm/agents/python-agent/getting-started/python-agent-eol-policy/) for information about agent releases and support dates.
