ax-platform
Adaptive Experimentation
What it is and what it does
Ax is a machine-learning-guided optimization platform designed to automate the process of exploring parameter spaces and finding optimal configurations with minimal resource expenditure. It abstracts away complex optimization details by providing sensible defaults while remaining highly configurable for researchers and practitioners. The platform supports Bayesian optimization (via BoTorch) and bandit optimization, handles complex search spaces with multiple objectives, parameter constraints, and noisy observations, and can suggest multiple designs for parallel evaluation.
The package is built for production deployment with automation, orchestration, and robust error handling. It integrates with visualization tools (plotly, graphviz) and optional storage backends (MySQL via extras), making it suitable for both interactive experimentation in notebooks and large-scale automated optimization workflows. Its main dependencies are BoTorch for Bayesian optimization algorithms, pandas and scipy for data handling, scikit-learn for machine learning utilities, and various visualization and symbolic computation libraries.
Use it for:
- Hyperparameter tuning for machine learning models by iteratively exploring configurations and identifying optimal settings.
- Multi-objective optimization where you need to balance competing goals and constraints across a parameter space.
- Automated experiment design and execution in research or engineering where you want to minimize evaluation cost.
- A/B testing and online experimentation with adaptive allocation of resources to promising variants.
- Bandit-style exploration problems where you need to balance exploration and exploitation in real time.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Ax is a platform for adaptive experimentation that uses machine-learning-guided optimization to iteratively explore parameter spaces and identify optimal configurations. It supports Bayesian optimization and bandit optimization strategies powered by BoTorch.
Yes. Ax is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively (MIT). It is production-stable and suitable for anyone doing Bayesian or adaptive optimization. Install it if you need a general-purpose optimization platform; the main constraint is the Python 3.11+ requirement.
Install
ax-platform on PyPI
pip
pip install ax-platformuv
uv add ax-platformpoetry
poetry add ax-platformInstalling ax-platform
Before you install
Low friction: pure Python wheel distribution. Active maintenance with recent releases; last commit 2026-08-13. Requires Python 3.11 or newer. Eleven runtime dependencies including botorch, scipy, scikit-learn, and visualization libraries (plotly, graphviz) are all standard packages.
License in practice
MIT license (permissive) means you can use, modify, and distribute Ax with minimal restrictions in commercial and open-source projects, provided you include the license notice.
Quickstart
pip install ax-platform
from ax import Client, RangeParameterConfig
from ax.utils.common import ParameterType
client = Client()
client.configure_experiment(
parameters=[
RangeParameterConfig(
name="x",
bounds=(-10.0, 10.0),
parameter_type=ParameterType.FLOAT,
)
]
)
client.configure_optimization(objective="my_metric")
for trial_index, params in client.get_next_trials(max_trials=1).items():
client.complete_trial(trial_index=trial_index, raw_data={"my_metric": 0.5})
Requires Python 3.11 or newer.
Verify before relying
- Whether the notebook extra (ipywidgets integration) is required for Jupyter use or optional.
- Performance characteristics and scalability limits for large parameter spaces or many parallel trials.
- Whether fully_bayesian extra (JAX/NumPyro) is necessary for production use or only for specific model types.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — botorch, jinja2, pandas, scipy, scikit-learn, ipywidgets, plotly, pyre-extensions, sympy, markdown, graphviz |
| Maintenance | actively maintained — 66 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 218,740/month — #9,335 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ax_platform-1.3.1-py3-none-any.whl
Keywords: Experimentation, Optimization
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
botorchBoTorch provides a modular, PyTorch-based…
permissive · top 5,000 on PyPI
hyperoptHyperopt performs serial and parallel…
permissive · top 5,000 on PyPI
mabwiserMABWiser implements multi-armed bandit…
permissive · top 15,000 on PyPI
bayesian-optimizationBayesian optimization using Gaussian processes…
permissive · top 15,000 on PyPI
deapDEAP is an evolutionary computation framework…
copyleft · top 15,000 on PyPI
ConfigSpaceConfigSpace defines and manipulates…
permissive · top 15,000 on PyPI
keras-tunerKerasTuner automates hyperparameter…
permissive · top 15,000 on PyPI
optimizely-sdkProvides A/B testing, feature flagging, and…
permissive · top 15,000 on PyPI
bddlBDDL is a domain-specific language for defining…
unclear · top 15,000 on PyPI
azureml-train-automlAutomatically discovers and trains the best…
unclear · top 15,000 on PyPI