by selimfirat
Streaming anomaly detection in Python: 50+ online multivariate and univariate detectors (LODA, RRCF, Half-Space Trees, xStream, DAMP, SAND) with calibrated alerts, drift handling, and prequential evaluation.
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
# Add to your Claude Code skills
git clone https://github.com/selimfirat/pysadGuides for using ai agents skills like pysad.
Last scanned: 11/22/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-22T12:17:19.864Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how pysad compares with popular alternatives.
Batch detectors train on a fixed dataset. Streaming detectors update as points arrive, without waiting for a complete dataset. PySAD provides a common interface for scoring and learning from each point across both multivariate and univariate streams, including streams with concept drift. More than 60 publications on Google Scholar cite it, and 30+ public repositories on GitHub use it.
Every detector learns from and scores one point at a time with fit_partial, score_partial and fit_score_partial. Most detectors keep a bounded window, sketch, or set of trees rather than the full stream history.
Covers multivariate and univariate streams: robust/seasonal statistics (MAD, SeasonalHybridESD, FluxEV), forests and sketches (LODA, HalfSpaceTrees, RobustRandomCutForest, RSHash, xStream), subsequences (DAMP, MatrixProfile, SAND), graphs (MIDAS), and 10 drift monitors (ADWINMeter, PageHinkleyMeter, DriftAdaptiveDetector).
ConformalProbabilityCalibrator, extreme-value SPOTProbabilityCalibrator, and GaussianTailProbabilityCalibrator normalize arbitrary raw scores onto a [0, 1] scale, paired with ThresholdFilter and QuantileFilter for binary alerts.
evaluate_stream, ArrayStreamer, PandasStreamer, PolarsStreamer, and CSVStreamer replay streams without loading everything into memory, while AUROCMetric, AUPRMetric, and WindowedMetric update per point across 17 labeled ODDS datasets, 58 NAB series, and ULB credit-card fraud.
Chain preprocessing, projections, log parsing (DrainLogParser), detection, postprocessing, and calibration with |, combine detectors with &, and attribute anomalous features with LODA.explain_partial().
Wrap any PyOD detector on a sliding window (ReferenceWindowModel), drop PySAD detectors into River (PySADToRiverAdapter) or scikit-learn (PySADToScikitLearnAdapter) pipelines, or score River forecasters (PredictiveAnomalyDetector).
Batch outlier detectors such as PyOD can score new points after training, but need retraining to update what they have learned. General online learning frameworks such as River and CapyMOA treat anomaly detection as one module among many (and CapyMOA requires Java). PySAD is built specifically for streaming anomaly detection: fast pure-NumPy/SciPy detectors, pipeline composition, score calibration, drift handling, and prequential evaluation in one lightweight package.
pip install pysad
Or with Conda / Mamba / Pixi:
conda install -c conda-forge pysad
PySAD supports Python 3.11 to 3.14 on Linux, macOS and Windows. Every detector works after installation, with no optional extras or JVM required.
To install the latest development version from master:
pip install git+https://github.com/selimfirat/pysad.git
For an editable installation with development dependencies, follow the contributing guide.
Score a stream point by point, and measure the detector while it runs:
pysad is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by selimfirat. Streaming anomaly detection in Python: 50+ online multivariate and univariate detectors (LODA, RRCF, Half-Space Trees, xStream, DAMP, SAND) with calibrated alerts, drift handling, and prequential evaluation. It has 321 GitHub stars.
Yes. pysad passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/selimfirat/pysad" and add it to your Claude Code skills directory (see the Installation section above).
pysad is primarily written in Python. It is open-source under selimfirat on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pysad against similar tools.
No comments yet. Be the first to share your thoughts!