Frozen interface contracts for kailash-ml and kailash-kaizen interop
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kailash_ml_protocols-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kailash_ml_protocols-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ba510da5d45f4ab3087aacc46bc1037ccc90e9bec9ebd3737e17bf8dec0ea8a
|
|
| MD5 |
eb156a7a058a5061ede1a3ca24046b00
|
|
| BLAKE2b-256 |
360c53670b0c56b7bad7d4728466ce03dd4966551ed3e3af52885da5094e7043
|
Provenance
The following attestation bundles were made for kailash_ml_protocols-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on terrene-foundation/kailash-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kailash_ml_protocols-0.1.0-py3-none-any.whl -
Subject digest:
4ba510da5d45f4ab3087aacc46bc1037ccc90e9bec9ebd3737e17bf8dec0ea8a - Sigstore transparency entry: 1204926163
- Sigstore integration time:
-
Permalink:
terrene-foundation/kailash-py@269cb7a05f7cded7875fa5dfa1c225d4cbc389f3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/terrene-foundation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@269cb7a05f7cded7875fa5dfa1c225d4cbc389f3 -
Trigger Event:
workflow_dispatch
-
Statement type: