kailash-ml-protocols
Frozen interface contracts for the Kailash ML ecosystem. This thin package (~160 lines, zero dependencies) breaks the circular dependency between kailash-ml and kailash-kaizen.
Install
pip install kailash-ml-protocols
No dependencies required -- Python 3.10+ stdlib only.
Protocols
MLToolProtocol
Tools that Kaizen agents call via MCP to access ML capabilities.
predict(model_name, features, *, options=None)-- Single-record predictionget_metrics(model_name, version=None, *, options=None)-- Model metricsget_model_info(model_name, *, options=None)-- Model metadata
AgentInfusionProtocol
Protocol for agent-augmented engine methods.
suggest_model(data_profile, task_type, *, options=None)-- Suggest model familiessuggest_features(data_profile, existing_features, *, options=None)-- Suggest feature engineeringinterpret_results(experiment_results, *, options=None)-- Interpret experiment resultsinterpret_drift(drift_report, *, options=None)-- Interpret drift report
Schemas
FeatureField-- Single feature column definitionFeatureSchema-- Schema for a feature set withto_dict()/from_dict()round-tripModelSignature-- Input/output schema for a trained modelMetricSpec-- A single evaluation metric with its value
License
Apache 2.0 -- Terrene Foundation
Metadata
Release files for kailash-ml-protocols 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kailash_ml_protocols-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / kailash_ml_protocols-0.1.0-py3-none-any.whl
| Download URL | kailash_ml_protocols-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ba510da5d45f4ab3087aacc46bc1037ccc90e9bec9ebd3737e17bf8dec0ea8a
|
|
BLAKE2b-256 checksum How to use checksums |
360c53670b0c56b7bad7d4728466ce03dd4966551ed3e3af52885da5094e7043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 1, 2026.
Transparency log