Skip to main content

p# aria-monitor

Autonomous ML model monitoring with agentic root cause diagnosis.

ARIA detects when your production ML model starts degrading — and tells you why in plain English, using an injected LLM agent that reasons over raw drift signals before any action is taken.

Install

pip install aria-monitor

Quickstart — 3 lines

from aria import ARIA

aria = ARIA(model=clf, feature_names=X_train.columns.tolist(), config="aria.yaml")
result = aria.monitor(X_train, X_production)
print(result.summary)

What it does

  • Drift Detection — PSI + KS tests per feature, computed from scratch (no Evidently dependency)
  • Performance Monitoring — tracks accuracy, F1, ROC-AUC degradation over time
  • Explainability — SHAP-based feature importance shifts between training and production
  • Alerting — console, JSON, or Slack alerts
  • LLM Diagnosis — an LLM agent receives raw signals and reasons about root cause autonomously

Works without an LLM

# No Ollama, no API key needed — drift scores still returned
aria = ARIA(model=clf, feature_names=features)
result = aria.monitor(X_train, X_new)

Swap LLM backends

# aria.yaml
llm:
  backend: "ollama"    # or "openai" or "claude" or "none"
  model: "qwen2.5:3b"

One line at the entry point. All agents upgrade instantly.

Supports any sklearn-compatible model

from aria import ARIA
from aria.adapters import XGBoostAdapter, SklearnAdapter

# Auto-detected for XGBoost and sklearn
aria = ARIA(model=your_model, feature_names=features)

# Or pass adapter explicitly for custom models
aria = ARIA(model=your_model, feature_names=features, adapter=YourCustomAdapter(your_model, features))

Optional dependencies

pip install aria-monitor[xgboost]    # XGBoost support
pip install aria-monitor[shap]       # SHAP explainability
pip install aria-monitor[openai]     # OpenAI LLM backend
pip install aria-monitor[anthropic]  # Claude LLM backend
pip install aria-monitor[all]        # Everything

License

MIT

Metadata

Release files for aria-monitor 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aria-monitor 0.1.0
File Size Uploaded Provenance Actions
aria_monitor-0.1.0.tar.gz 18.3 kB Without provenance Details for aria_monitor-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aria-monitor 0.1.0
File Interpreter ABI Platform Actions
aria_monitor-0.1.0-py3-none-any.whl Python 3 none any Details for aria_monitor-0.1.0-py3-none-any.whl

Total release size: 41.4 kB

Release files / aria_monitor-0.1.0.tar.gz

Download URL aria_monitor-0.1.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3219994a08ba937c69ae40a42e9bc191b11b4550d851eb30d93e327f79791a02
BLAKE2b-256 checksum
How to use checksums
c65cf6d7d3284f36957e7a47d579d6c5a790b9c5395fb9479708a5b8a61638cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / aria_monitor-0.1.0-py3-none-any.whl

Download URL aria_monitor-0.1.0-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7437c7ba973d26e05e0880d8377ef76aeb8dc09c1f1c04ff8920e85cdd40dfaf
BLAKE2b-256 checksum
How to use checksums
f99c1cf03c4945a47ec17206b67a32ff764b4016750af83c765e68d98f8dae41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for aria-monitor 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page