yzhao062/pyod
A Python library for anomaly detection across tabular, time series, graph, text, image, and audio data. 60+ detectors, benchmark-backed ADEngine orchestration, and an agentic workflow for AI agents.
What it solves
PyOD is a comprehensive toolkit for anomaly detection (outlier detection) across various data types. It simplifies the process of identifying abnormal patterns in data, providing a unified API for a vast array of algorithms, and automating the selection and assessment of the best detector for a given dataset.
How it works
PyOD provides three levels of interaction:
- Classic API: A standard
fit/predictinterface for users who already know which specific algorithm (e.g., Isolation Forest) they want to use. - ADEngine: An orchestration core that automatically chooses, compares, and assesses multiple detectors to find the most effective one.
- Agentic Investigation: An AI-driven layer where users can interact with the library via natural language. This is powered by the
od-expertskill (for Claude Code/Codex) and an MCP server that exposes tools for knowledge queries, planning, and detection to LLM agents.
Who it’s for
- Data Scientists and ML Engineers: Who need a scalable, benchmark-backed library to detect outliers in tabular, time series, graph, text, image, or audio data.
- AI Agent Developers: Who want to integrate professional anomaly detection capabilities into LLM-based agents via MCP or specific skills.
- Researchers: Who require a standardized framework to benchmark different outlier detection algorithms.
Highlights
- Multi-Modal Support: Includes 61 detectors covering tabular, time series, graph, text, image, and audio data.
- Agent-Ready: Integrates with Claude Code, Codex, and MCP-compatible LLMs to turn natural language requests into detection workflows.
- Full Lifecycle Management: Handles everything from raw data profiling to explained anomalies and next-step guidance.
- High Performance: Built on SUOD for parallel training and utilizes Numba JIT for per-model speedups.
- Widespread Adoption: Over 46 million downloads and used by organizations like the European Space Agency and Walmart.
Related
- Project
- Project
- Project
- Project
- Project