XAD documentation

Install for Python

XAD is open source under AGPL-3.0, to try, for research and for open source. Using it in production? See when a subscription applies.

The Python bindings for XAD are available on PyPi for all major platforms and operating systems. They are published with each XAD release, using the same versioning scheme as the C++ version.

The XAD Python bindings can be installed as usual using pip or any other package manager:

pip install xad

The current release, xad 2.2, is built on XAD 2.2 and supports Python 3.10 to 3.14. NumPy (1.25 or later) is only needed for XAD's NumPy arrays (xad.adj_1st.Array, xad.fwd_1st.Array) and is not installed with xad. The package also ships XAD as a shared library with its C++ headers, for building C++ extensions that share the tape with xad.

Questions or issues: GitHub Discussions · issues. Would you rather we AAD-enabled your code? Get a free speed-up estimate.