Skip to main content

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 prediction
  • get_metrics(model_name, version=None, *, options=None) -- Model metrics
  • get_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 families
  • suggest_features(data_profile, existing_features, *, options=None) -- Suggest feature engineering
  • interpret_results(experiment_results, *, options=None) -- Interpret experiment results
  • interpret_drift(drift_report, *, options=None) -- Interpret drift report

Schemas

  • FeatureField -- Single feature column definition
  • FeatureSchema -- Schema for a feature set with to_dict() / from_dict() round-trip
  • ModelSignature -- Input/output schema for a trained model
  • MetricSpec -- 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)

Table of built distributions (wheels) for kailash-ml-protocols 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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