---
title: python-agent-14-03-00
source: https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-14-03-00
---

## Notes

This release of the Python agent enables AI monitoring by default with the new `ai_monitoring.basic_telemetry.enabled` setting, deprecates the `ai_monitoring.enabled` setting, and fixes a crash in LangChain tool 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).

## Changes

-   AI monitoring is now enabled by default

    -   LLM instrumentation is now enabled by default and the agent sends `Llm*` custom events, spans, and metrics (without message content) unless configured otherwise.
    -   To record prompt and response content, set [`ai_monitoring.record_content.enabled`](https://docs.newrelic.com/docs/apm/agents/python-agent/configuration/python-agent-configuration/#ai-monitoring-record-content) to `true`.
    -   To opt out, set [`ai_monitoring.basic_telemetry.enabled`](https://docs.newrelic.com/docs/apm/agents/python-agent/configuration/python-agent-configuration/#ai-monitoring-basic-telemetry-enabled) to `false` in newrelic.ini, or set the environment variable `NEW_RELIC_AI_MONITORING_BASIC_TELEMETRY_ENABLED=false`.
    -   The [`ai_monitoring.enabled`](https://docs.newrelic.com/docs/apm/agents/python-agent/configuration/python-agent-configuration/#ai-monitoring-enabled) setting and the `NEW_RELIC_AI_MONITORING_ENABLED` environment variable are deprecated, but setting either one to `false` also opts out of AI Monitoring.

## Bug fixes

-   Fixed a crash in [LangChain](https://pypi.org/project/langchain/) `StructuredTool.invoke` and `StructuredTool.ainvoke` instrumentation when `config` or its `metadata` was `None`.

## 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.
