Open-source anomaly detection

Anomaly detection,
as an ecosystem.

PyOD is the hub library and API standard for outlier detection in Python: 60+ algorithms across five data types, a 9,000-star knowledge base, and thousands of projects building on top.

50M+
installs
60+
detectors
5,500
dependent projects
2018
maintained since
19,000
GitHub stars, two hubslibrary 9,930 · resources 9,350
57
code contributorsdistributed development
120
community merged PRsof 217 total, ~55% external
113
released versionssemantic-versioned since 2018

What it is

An ecosystem, not a package

Four parts hold together under one API: a hub library, a knowledge base, a contributor community, and the projects built on top.

Hub library

PyOD 9,930 ★

One interface for 60+ outlier detectors across tabular, time-series, graph, text, and image data, with an orchestration core and a natural-language investigation layer. The detector others reach for first.

60+ detectors5 data types50M+ installs
github.com/yzhao062/pyod ↗
Knowledge base

Resources hub 9,350 ★

The field's reading list: curated books, papers, courses, benchmark datasets, and toolboxes for anomaly detection, maintained alongside the library.

papersdatasetstoolboxes
anomaly-detection-resources ↗
Community

Contributor base

Detectors arrive by pull request. 57 contributors have merged 217 changes, 120 of them from outside the core team, including the fix for the library's first reported CVE.

57 contributors120 community PRs
contributors ↗
Dependent web

Built on PyOD

About 5,500 public projects depend on PyOD, and sibling libraries extend its API to new data types. The interface has become a shared standard for the field.

5,500 dependentsPyGODTODS
dependent projects ↗

One hub, many projects

The ecosystem, connected

A real ecosystem is layered. PyOD sits at the core; around it orbit the family that shares its API, the tools that embed it in production, and the institutions, books, and courses that build on it. Hover any node to trace its ties.

Hover a node to trace its ties. The rings are ecosystem layers.

Where it runs

Named by governments, industry, aerospace, and Nature

Independent, verifiable records name PyOD in production systems and peer-reviewed methods, not vendor testimonials.

US DoD CDAOGenerative AI Responsible AI Toolkit lists PyOD as a production-tier out-of-distribution detection tool. OpenAIOpenAI's official careers listing names PyOD as an anomaly-detection tool in the role's qualifications. ESA OPS-SATAll 30 detectors in the spacecraft-telemetry benchmark built on PyOD (Nature Scientific Data, 2025). Oracle FCCMOracle Financial Services FCCM ships PyOD as a bundled dependency, with a dedicated license page in its product docs. UK GovernmentPyOD named in a gov.uk algorithmic-transparency record for a live public service. Saudi SDAIAPyOD in the national deepfake-detection guidelines. Nature journalsPyOD and ADBench in Scientific Reports and Communications methods sections. Industry patentsGranted patents build on PyOD detectors such as COPOD and the sibling TODS.

And built into the tools teams already run

Apache BeamA first-class PyOD detector handler ships in Beam's ML pipelines (Apache Software Foundation; Beam underlies Google Cloud Dataflow). PostHogThe production alerting subsystem of this 34k-star analytics platform wraps eight PyOD algorithms. MLflowA documented PyOD community model flavor logs and serves detectors through MLflow. DatabricksKakapo pairs PyOD with MLflow and Hyperopt for scalable detector search.

Anomaly detection guards the input to decisions: fraud screens, telemetry health, intrusion alerts. When a defensive detector is poisoned or silently degraded, the systems downstream stop seeing what they were built to catch. That blast radius is the case for hardening the ecosystem, not only the library.

Why it compounds

The ecosystem dynamic

A package is used. An ecosystem grows on its own contributions. PyOD works the second way: the community adds a new detector as a pull request, that detector reaches everyone on the next release, more usage brings more contributors, and the API becomes the interface newcomers learn first.

Aggregation is the mechanism. As model hubs collect models behind one interface, PyOD collects anomaly detectors behind one API. Sixty-plus algorithms now sit under the same three-line calling convention, which is why downstream libraries copy it rather than invent their own.

The clearest proof is reach beyond one lab and one data type. The PyOD-style API now carries graph outliers (PyGOD), time-series detection (TODS), and a shared benchmark (ADBench), and the surrounding research has published at NeurIPS, JMLR, MLSys, AAAI, EMNLP, and ACL. That is a standard taking hold, and it is what a reviewer means by a real, distributed ecosystem.

Learn PyOD

The practitioner's companion

A hands-on book teaches anomaly detection through PyOD, from classic detectors to modern models.

Handbook of Anomaly Detection: With Python Outlier Detection

Chris Kuo (Dr. Dataman), Columbia University

Ten-plus PyOD detectors, from kNN, LOF, and HBOS to XGBOD and deep models, each with code and worked examples. The most direct path for practitioners into the library.

Maintained and accountable

Governance

An ecosystem this widely deployed needs governance a reviewer can inspect: an external advisory committee, reviewed contribution, coordinated security, and predictable releases.

Advisory committee

Chris Kuo

Columbia University · "Dr. Dataman"

Author of the Handbook of Anomaly Detection and a leading PyOD educator; the adoption and education voice.

Guansong Pang

Singapore Management University

A leading deep anomaly-detection researcher and author of the field's standard deep-AD survey.

Alicia Guo

IBM Consulting · AI Service Partner

Leads enterprise AI at IBM Consulting, with deep financial-services fraud and AML experience: anomaly detection applied at scale.

How it is run

Reviewed contribution

Every detector and fix lands through pull-request review by the core maintainers before it reaches the release stream, keeping a single quality bar across 217 merged changes.

Coordinated disclosure

The library's first reported vulnerability was disclosed by an outside contributor, patched, and shipped in a point release. That response path is the security governance the ecosystem is now formalizing.

Predictable releases

113 semantic-versioned releases since 2018 give the 5,500 dependent projects a stable upgrade contract, so a security fix propagates without breaking downstream installs.