PyAutoLens-JAX: Open-Source Strong Lensing
Installation Guide | readthedocs | Introduction on Colab | HowToLens
When two or more galaxies are aligned perfectly down our line-of-sight, the background galaxy appears multiple times.
This is called strong gravitational lensing and PyAutoLens makes it simple to model strong gravitational lenses, using JAX to accelerate lens modeling on GPUs.
Getting Started
Human-Readable Documentation and Examples
The following human-readable documentation and examples are useful for new starters:
- The PyAutoLens readthedocs: which includes an overview of PyAutoLens's core features, a new user starting guide and an installation guide.
- The introduction Jupyter Notebook on Google Colab: try PyAutoLens in a web browser (without installation).
- The autolens_workspace GitHub repository: example scripts covering every PyAutoLens use case.
- The HowToLens GitHub repository: a Jupyter notebook lecture series teaching strong lensing and lens modeling from the ground up.
PyAutoLens AI Assistant
The PyAutoLens AI Assistant lets you do gravitational lensing science in natural language from inside an AI coding agent. You can get started simply by asking it a question about gravitational lensing or describing the task you would like to perform with PyAutoLens. See the autolens_assistant GitHub page for its full scope and instructions.
The assistant runs inside an AI coding agent: Claude Code or Codex are recommended. Sustained scientific use normally needs paid access to one of them (a personal subscription, institutional access or API billing). OpenCode is an experimental alternative whose client is free but whose model access, cost and capability depend on the provider. Browser chat routes (ChatGPT or Claude with a GitHub connector) are no longer supported.
Community & Support
Support for PyAutoLens is available via our Slack workspace, where the community shares updates, discusses gravitational lensing analysis, and helps troubleshoot problems.
Slack is invitation-only. If you'd like to join, please send an email requesting an invite.
For installation issues, bug reports, or feature requests, please raise an issue on the GitHub issues page.
HowToLens
For users less familiar with gravitational lensing, Bayesian inference and scientific analysis you may wish to read through the HowToLens lectures. These teach you the basic principles of gravitational lensing and Bayesian inference, with the content pitched at undergraduate level and above.
A complete overview of the lectures is provided on the HowToLens readthedocs page, and the notebooks themselves live in the PyAutoLabs/HowToLens repository.
Citations
Information on how to cite PyAutoLens in publications can be found on the citations page.
Contributing
Information on how to contribute to PyAutoLens can be found on the contributing page.
Hands on support for contributions is available via our Slack workspace, again please email to request an invite.
i found you, i found you, i found you beautiful, exploding, i found you
Metadata
Release files for autolens 2026.9.19.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autolens-2026.9.19.1.tar.gz | 7.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autolens-2026.9.19.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 MB
Release files / autolens-2026.9.19.1.tar.gz
| Download URL | autolens-2026.9.19.1.tar.gz |
|---|---|
| Size | 7.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65b47c15785a75f27dc46d314c9c7fb58b81a06e5cdeb1349ef350d6801022b9
|
|
BLAKE2b-256 checksum How to use checksums |
9124da2dbd133ef4549d8f6d6f56d7772f3d935b0e55b781147e11bbf7cc0bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.14
|
Release files / autolens-2026.9.19.1-py3-none-any.whl
| Download URL | autolens-2026.9.19.1-py3-none-any.whl |
|---|---|
| Size | 7.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9edf67030ff9c3ca092800d1b2fc3b306882a388b38d4eff4ccddfa3d2eb43e
|
|
BLAKE2b-256 checksum How to use checksums |
356040d5027bfcef4a10d2c6488175b4403316e4567139dc11633263c4f26dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.14
|