kailash-ml

Orchestrate polars-native ML lifecycles with ONNX export and registry governance.

Updated Oct 10, 2025
One-click install
npx skills add https://github.com/FFOO6866/lead2cash --skill kailash-ml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kailash-ml
Source: https://github.com/FFOO6866/lead2cash/tree/main/.claude/skills/34-kailash-ml
Command: npx skills add https://github.com/FFOO6866/lead2cash --skill kailash-ml

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Kailash ML solves the complexity of building reliable end-to-end machine learning lifecycles—from feature ingestion and training to registration, ONNX serving, and drift monitoring—while enforcing safety and consistency constraints that prevent common production failures.

Core Features & Use Cases

  • Polars-native ML lifecycle: keep data in polars end-to-end and only convert at framework boundaries, reducing mismatches and leakage risks.
  • Engine-first API surface (km.*): provides a canonical async workflow for tracking, training, registering, diagnosing, watching drift, resuming, and serving.
  • Production-grade governance: includes model registry lifecycle (staging → shadow → production → archived), SHA256 integrity checks, GDPR erasure controls, and agent guardrails for AutoML.
  • Serving + drift integration: serve production models via Nexus with ONNX-first runtime options, plus drift monitoring triggers and retraining hooks.
  • ONNX export + verification: export sklearn/lightGBM/PyTorch models to ONNX and verify outputs before deployment for cross-language compatibility.

Quick Start

Train and register a production-ready model by running an async pipeline that tracks a run, trains from a polars DataFrame, then registers and serves the resulting artifact using the engine-first km.* verbs.

Frequently Asked Questions about kailash-ml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a production machine learning pipeline that keeps data in polars end-to-end?

You can build a polars-native ML pipeline by running an async workflow that tracks a run, trains directly from a polars DataFrame, and registers the resulting artifact, converting data only at framework boundaries to reduce mismatch risks.

What is the best way to manage a model registry lifecycle from staging to production?

The best way to manage a model registry lifecycle is to enforce controlled stage transitions—staging to shadow to production to archived—while applying SHA256 artifact verification and optional agent guardrails to maintain strict governance.

How do I export sklearn and PyTorch models to ONNX for cross-language inference serving?

Export sklearn, lightGBM, or PyTorch models to ONNX by running the export pipeline that verifies outputs before deployment, enabling cross-language compatibility and serving via an ONNX-first runtime through Nexus.

Can I use asynchronous pipelines for AutoML agents with human approval guardrails?

Yes, asynchronous pipelines support AutoML agents by providing optional agent guardrails with human approval, enforcing safety and integrity constraints during the automated training and model registration lifecycle.

How does drift monitoring trigger retraining hooks in a production ML lifecycle?

Drift monitoring triggers retraining hooks by watching for data drift within the lifecycle, automatically initiating the asynchronous resuming and training stages to update and redeploy the model artifact.

Do I need SHA256 artifact verification for controlled stage transitions in machine learning?

SHA256 artifact verification is required for controlled stage transitions to enforce production-grade governance, ensuring integrity checks pass before a model moves between staging, shadow, and production environments.