Skip to main content

PythonAgent Support Matrix

warning

If there are other Python importer implementations in the environment, they may conflict with the agent importer.
This table only tests and verifies the minimum and maximum minor version numbers for each major version.

CPU Architecture​

ArchitectureNotes
amd64/i386Supported
aarch64(ARM)Supported starting from SmartAgent 9.3.0

Operating Systems​

System TypeSupported Versions
CentOS/Red Hat Linux7 x86_64
CentOS/Red Hat Linux6 x86_64
Ubuntu16.04
Ubuntu14.04
Tencent Cloud Serverless
Docker Image python:3.10-alpinealpine 3.15.0+python3.10+ldd1.2.2

Containers​

Container TypeSupported Versions
Apache2.4.54 ~ 2.4.56
uWSGI2.0.0 ~ 2.0.24
Gunicorn19.10.0 ~ 21.2.0
Uvicorn0.16.0 ~ 0.17.6
Daphne2.3.0 ~ 3.0.2

Python Versions​

TypeSupported Versions
Python2.6
Python2.7
Python3.4
Python3.5
Python3.6
Python3.7
Python3.8
Python3.9
Python3.10
Python3.11
Supported starting from 8.4.0 [SmartAgent: 9.6.0]
Python3.12
Supported starting from 8.4.0 [SmartAgent: 9.6.0]
Python3.13
Supported starting from 8.9.0 [SmartAgent: 10.4.0]
Python3.14
Supported starting from 8.9.0 [SmartAgent: 10.4.0]

Profiling​

ItemNotes
ProfilingPython 3.7, 3.8, 3.9, 3.10, glibc >= 2.14, supports x86-64 architecture only
Supported since SmartAgent 9.0.0

Databases​

TypeSupported Versions
PyMySQL0.7.1 ~ 0.10.1
mysqlclient1.3.0 ~ 2.0.1
mysql-connector-python8.0.5 ~ 8.0.22
psycopg22.6.2 ~ 2.8.6
SQLAlchemy0.6.0 ~ 1.4.26
cx-Oracle6.0 ~ 8.0.1
PyHive0.1.6 ~ 0.6.3

NoSQL​

TypeSupported Versions
PyMongo2.7.0 ~ 3.11.1
python-memcached1.57 ~ 1.5.9
pyssdb0.4.0 ~ 0.4.2
Redis2.10.0 ~ 3.5.3
redis-py-cluster0.1.0 ~ 2.1.0

Message Queues​

TypeSupported Versions
kafka-python1.3.0 ~ 2.0.2
stomp.py4.1.20 ~ 6.1.0
kombu3.0.30 ~ 5.0.2
librabbitmq1.6.0 ~ 2.0.0

Remote Calls​

TypeSupported Versions
urllib31.18 ~ 1.26.2
requests2.12.0 ~ 2.25.0
httplibPython (Built-in)
tornado_httpclient3.1 ~ 6.1
elasticsearch5.2.0 ~ 7.10.0
grpcio1.0.0 ~ 1.33.2
xmlrpclibPython 2.6/2.7
xmlrpcPython 3.4/3.5/3.6/3.7/3.8/3.9
Thrift0.10.0 ~ 0.13.0
httpx0.24.1
Supported starting from 8.4.0 [SmartAgent: 9.6.0]
aiohttp3.0.0 ~ 3.7.3 (Python 3.7+)

Frameworks​

FrameworkSupported Versions
Flask0.10 ~ 1.1.2
Django1.5/1.6/1.7/1.8/1.9/1.10/1.11/2.0/2.1/2.2/3.0/3.1
Tornado3.0 ~ 6.1
Web.py0.33/0.34/0.35/0.36/0.37/0.38/0.39/0.40/0.5.1/0.6.1/0.6.2
Pyramid1.3 ~ 1.10.5
Bottle0.12 ~ 0.12.19
CherryPy10.0 ~ 18.6.0
Sanic0.5.0 ~ 21.9.1
FastAPI0.23.0 ~ 0.63.0 (Python 3.6+)
Quart0.11.0 ~ 0.14.1 (Python 3.7+)
Starlette0.12.0 ~ 0.14.1 (Python 3.6+)
WebOb1.0.0 ~ 1.8.7
Gevent1.0.0 ~ 21.8.0

Platforms​

TypeSupported Versions
Odoo8, 9, 10, 11, 12, 13, 14
OpenStackCloud System Pike Version

Logging Modules​

TypeSupported Versions
LoggingPython (Built-in)
Logbook1.3.0 ~ 1.5.3
Eliot0.8.0 ~ 1.12.0

Background Tasks​

TypeSupported Versions
Invoke0.12.0 ~ 1.4.1

LLM​

Supported starting from python agent 8.7.0 【SA 10.0.0】.

TypeSupported Versions
openai2.26.0, 2.31.0
langchain1.2.10, 1.2.15
dify1.4.3, 1.11.0, 1.11.2
mcp1.25.0, 1.27.0
a2a-sdk1.1.0 in LangChain scenarios