alibi-detect
Algorithms for outlier detection, concept drift and metrics.
Decision gist · record as of 2026-08-14
Yes, with conditions. Alibi Detect is well-maintained (active repository, recent release) and covers a broad range of detection tasks across data types. However, the Business Source License 1.1 is proprietary and may restrict commercial use—verify licensing terms before deploying. The aging maintenance window (246 days) is not a blocker for stable use but suggests slower feature updates. Install if your use case aligns with the license and you need production-grade drift or outlier detection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9.
- Optional TensorFlow or PyTorch backends must be installed separately for drift detection with those frameworks.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
Business Source License 1.1 (unclear) — Licensed under Business Source License 1.1 with unclear treatment. This is a proprietary license that may restrict commercial use or require a separate commercial agreement; review the license terms carefully before deploying in production.
last release 2025-12-11 (246 days) · last repo commit 2025-12-11 · 2,546 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,379 downloads/mo, #13,926 on PyPI
Alternatives
Verify before relying
pip install alibi-detect
from alibi_detect.od import OutlierVAE
from alibi_detect.saving import save_detector, load_detector
od = OutlierVAE(threshold=0.1, encoder_net=encoder_net, decoder_net=decoder_net, latent_dim=1024)
od.fit(x_train)
preds = od.predict(x_test)
save_detector(od, './my_detector/')
od = load_detector('./my_detector/')- Whether Business Source License 1.1 permits your intended use case (commercial, internal, or research only).
- Performance characteristics and scalability limits for large-scale tabular or image datasets.
- Whether aging maintenance (246 days since last release) affects stability for your production timeline.
What it is and what it does
Alibi Detect is a detection library for identifying anomalies, distribution shifts, and adversarial examples in machine learning pipelines. It implements multiple algorithms—Isolation Forest, VAE, Seq2Seq, Prophet, and others—each suited to different data types (tabular, images, time series, text) and detection scenarios (online vs. offline). The library returns predictions as dictionaries containing metadata and detection scores, allowing you to flag suspicious instances or monitor for concept drift in production.
The package depends on standard scientific Python tools (numpy, pandas, scikit-learn, transformers) and optionally supports TensorFlow or PyTorch for neural network–based detectors. It is designed for both research and production monitoring, though its Business Source License 1.1 requires careful review for commercial deployments.
Use it for
- Detect outliers in tabular data using Isolation Forest or Mahalanobis Distance for real-time anomaly flagging.
- Monitor for concept drift in production models by comparing training and live data distributions.
- Identify adversarial examples in image classifiers using Adversarial AE or model distillation.
- Detect anomalies in time series data with Seq2Seq or Prophet for sensor or financial data streams.
- Flag unusual text inputs in NLP pipelines using model distillation–based adversarial detection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Alibi Detect is well-maintained (active repository, recent release) and covers a broad range of detection tasks across data types. However, the Business Source License 1.1 is proprietary and may restrict commercial use—verify licensing terms before deploying. The aging maintenance window (246 days) is not a blocker for stable use but suggests slower feature updates. Install if your use case aligns with the license and you need production-grade drift or outlier detection.
Install
alibi-detect on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release 246 days ago—but the repository remains active with 2546 stars and no archived status. The 17 runtime dependencies are all common scientific Python packages.
Requires Python >=3.9. Optional TensorFlow or PyTorch backends must be installed separately for drift detection with those frameworks.
License in practice
Licensed under Business Source License 1.1 with unclear treatment. This is a proprietary license that may restrict commercial use or require a separate commercial agreement; review the license terms carefully before deploying in production.
Quickstart
pip install alibi-detect
from alibi_detect.od import OutlierVAE
from alibi_detect.saving import save_detector, load_detector
od = OutlierVAE(threshold=0.1, encoder_net=encoder_net, decoder_net=decoder_net, latent_dim=1024)
od.fit(x_train)
preds = od.predict(x_test)
save_detector(od, './my_detector/')
od = load_detector('./my_detector/')
Verify before relying
- Whether Business Source License 1.1 permits your intended use case (commercial, internal, or research only).
- Performance characteristics and scalability limits for large-scale tabular or image datasets.
- Whether aging maintenance (246 days since last release) affects stability for your production timeline.
Package facts
| License | Business Source License 1.1 unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 17 packagesmatplotlibnumpypandasPillowopencv-pythonscipyscikit-imagescikit-learntransformersdilltqdmrequestspydantictomlcataloguenumbatyping-extensions |
| Maintenance | Aging 246 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,379 / month, #13,926 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Science/ResearchLicense :: Other/Proprietary LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Scientific/Engineering |
Evidence: alibi_detect-0.13.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “drift detection”
- alibi-detectAlibi Detect provides outlier, adversarial, and drift detection…
- riverRiver provides online machine learning algorithms that learn from…
- whylogswhylogs generates statistical profiles of datasets to track data…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also pyod · adtk · hampel · gibberish-detector · anomalo · river · autogluon.timeseries · lime · autogluon.vision · darts