What problem does it solve?
It prevents unstructured, error-prone ML workflows by enforcing a production-grade lifecycle for training, drift monitoring, registry management, and ONNX serving.
Core Features & Use Cases
- Engine-first ML lifecycle API: Use the canonical async
km.* verb surface (e.g., train, register, serve, diagnose, watch, resume) to keep workflows consistent.
- Polars-native data correctness: Enforces polars-only engine interfaces to reduce conversion bugs and drift between development and production.
- End-to-end institutional safety: Provides deterministic conversion boundaries (
interop.py), an allowlist for model class strings, and agent guardrails for AutoML recommendations.
- Model lifecycle + reproducibility: Supports staging → shadow → production → archived with SHA256 integrity verification and lineage graphs.
- Monitoring + retraining triggers: DriftMonitor detects distribution shifts with KS/chi2/PSI/Jensen-Shannon tests and can schedule checks or trigger retraining.
- Cross-language deployment: Exports verified ONNX models for serving (including metadata embedding) and exposes inference via Nexus-compatible patterns.
Quick Start
Ask the AI to train a model end-to-end using the km.* pipeline from polars data, then register it for serving and enable drift monitoring for future retraining decisions.