Kailash Enterprise
free to use · proprietary · source withheld · not open source
High-performance Rust-powered workflow engine — a drop-in replacement for the kailash Python SDK.
kailashis the complete, open, Foundation-owned reference engine — build the whole protocol on it, free, forever.kailash-enterpriseis Integrum's own optimized build of the same capability, also free to use; the one reserved right is reselling the engine itself as a rival engine.
Licence
kailash-enterprise is free to use under a proprietary, binary-only licence —
you may install, run, build upon, and redistribute it bundled inside your own
applications, for any purpose. It is proprietary and source-withheld (a
compiled wheel; the Rust source is not distributed) and is not open source.
The full terms are in the LICENSE-EULA file that ships inside every wheel:
after pip install kailash-enterprise, run
python -c "import importlib.metadata as m, pathlib; print(pathlib.Path(m.distribution('kailash-enterprise').locate_file('LICENSE-EULA')))"
to print its path. The single reserved right is reselling the engine itself,
standalone, as a rival governance engine.
Changelog
This repository's source is private, so there is no public URL to link here.
Instead, CHANGELOG.md ships
inside every wheel (its own file, next to LICENSE-EULA): after
pip install kailash-enterprise, run
python -c "import importlib.metadata as m, pathlib; print(pathlib.Path(m.distribution('kailash-enterprise').locate_file('CHANGELOG.md')))"
or unzip the wheel directly. It is a headline-only summary (version, date,
one line per change) generated from this SDK's internal engineering
changelog — if you are upgrading to resolve a specific report, search it for
the issue number or symptom before assuming a fix is not yet released.
Capability parity
The "same capability as kailash" statement above is a maintained fact, not a
slogan: the Foundation's kailash implements the full governance/trust
capability in the open (pure Python, native-independent), and parity between the
two implementations is held by the cross-implementation conformance vectors under
tests/parity/ and the PACT conformance vectors under
crates/kailash-pact/tests/conformance/. A divergence in either is treated as a
narrative-integrity incident, not merely a test failure.
Installation
pip install kailash-enterprise
Replaces pip install kailash. Existing kailash workflow code that uses the
entry points listed under Compatibility runs through that layer; unsupported
v0.12 runtime options are ignored with a DeprecationWarning.
One 5.1.0 change to know when upgrading from 5.0.x: TenantContext refuses a
blank tenant id. kailash.TenantContext(...) accepted a tenant id that is
empty, or made only of whitespace, control or invisible format characters,
before 5.1.0. It now raises kailash.TenantInvalidError, a RuntimeError
subclass with model and reason attributes (the refused id is never
included). A missing tenant id still raises kailash.TenantRequiredError,
which is not a RuntimeError. Catch the one you mean.
Wheels are published for Linux x86_64 and aarch64, macOS arm64 and Windows
x86_64. Each is one cp310-abi3 wheel that installs on Python 3.10 through
3.14 (standard builds; free-threaded 3.13t/3.14t are not supported). On Python 3.14, 5.1.0 has one known issue: a background thread still
calling into Python at interpreter shutdown can abort the process after its
work is done (Fatal Python error: gilstate_tss_set).
Usage
# Existing kailash code — no changes needed
from kailash.runtime import LocalRuntime
from kailash.workflow.builder import WorkflowBuilder
builder = WorkflowBuilder()
builder.add_node("NoOpNode", "step1")
workflow = builder.build()
runtime = LocalRuntime()
results, run_id = runtime.execute(workflow)
Why Enterprise?
- Compiled Rust engine — workflow build and execution run in native code, with the GIL released while a workflow executes
- Familiar API — a compatibility layer for
kailashv0.12 code (see below) - Binary-only — source code stays protected
Compatibility
kailash.runtime (LocalRuntime, AsyncLocalRuntime, get_runtime) and
kailash.workflow.builder.WorkflowBuilder keep the kailash v0.12 signatures,
including runtime.execute(workflow) returning (results, run_id). The legacy
entry points emit DeprecationWarning to guide migration to the new v2 API.
New v2 API:
import kailash
reg = kailash.NodeRegistry()
builder = kailash.WorkflowBuilder()
builder.add_node("NoOpNode", "step1")
workflow = builder.build(reg)
runtime = kailash.Runtime(reg)
result = runtime.execute(workflow)
# result["results"], result["run_id"], result["metadata"]
Domain event bus (kailash.events)
A pluggable publish/subscribe event bus for cross-service domain events,
with structured envelopes (correlation/causation tracking, schema
version, JSON payload). Distinct from kailash.EventBus (which is the
Nexus lifecycle broadcast bus and is unchanged).
from kailash.events import EventBus, DomainEvent
bus = EventBus()
received = []
bus.subscribe("orders", lambda e: received.append(e))
event = DomainEvent(
"order.created", "orders", "checkout-service", {"order_id": 42}
).with_correlation("44444444-4444-4444-8444-444444444444")
bus.publish(event)
time.sleep(0.05)
Each subscriber receives a dict with the event's fields (id,
event_type, topic, actor, schema_version, correlation_id,
causation_id, timestamp, payload, metadata).
Choosing an event-bus backend
kailash.events ships two backends. They are not unified — the
choice is a deployment-topology decision, not a convenience toggle:
| Backend | Delivery scope | Durability | When to use |
|---|---|---|---|
InMemoryEventBus |
Same Python process ONLY | None | Dev / test / single-process. EventBus is an alias for this. |
NatsEventBus |
Cross-process, cross-host | At-least-once | Multi-process / multi-service production (requires a NATS JetStream broker). |
Cross-process divergence is deliberate and silent if mis-chosen: a
subscriber registered in one process on InMemoryEventBus will NEVER see
events published from a different process — that is a no-delivery, not a
degraded delivery. Pick NatsEventBus whenever publisher and subscriber
are not the same OS process:
import os
from kailash.events import NatsEventBus, DomainEvent
# URL threaded in explicitly — the binding never reads the environment
# itself. TLS is required by default; allow_plaintext=True is only for a
# localhost test broker.
bus = NatsEventBus(os.environ["KAILASH_NATS_URL"])
bus.subscribe("kailash.events.acme.orders.created", lambda e: ...)
bus.publish(
DomainEvent("order.created", "kailash.events.acme.orders.created",
"checkout-service", {"order_id": 42})
)
bus.shutdown()
NatsEventBus delivers at-least-once via JetStream durable consumers;
subjects MUST live under kailash.events.<tenant>.<domain>.<event> (the
broker's stream captures that subtree for tenant-isolated routing).
Metadata
Release files for kailash-enterprise 5.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| kailash_enterprise-5.1.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for kailash_enterprise-5.1.1-cp310-abi3-win_amd64.whl |
| kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details for kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_x86_64.whl |
| kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details for kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_aarch64.whl |
| kailash_enterprise-5.1.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for kailash_enterprise-5.1.1-cp310-abi3-macosx_11_0_arm64.whl |
Total release size: 120.7 MB
Release files / kailash_enterprise-5.1.1-cp310-abi3-win_amd64.whl
| Download URL | kailash_enterprise-5.1.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 29.4 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
8429e94fef0aca2aca421a290a73cda13214ca543b5092add42dd2394957c0f9
|
|
BLAKE2b-256 checksum How to use checksums |
0a2e3ff3a7f2f9042af4cb06f300d182bc75ade0a180bcfa643c954552db826c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.21
|
Release files / kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 31.7 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6279af23a8cd29f92e2623ab3feee159f7015901955d08a4bbecb4f0c5c5cbf6
|
|
BLAKE2b-256 checksum How to use checksums |
be2dac66c9bbd320b908a7aba3969805875e24919951d887c7fc9be0931450a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | kailash_enterprise-5.1.1-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 29.4 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
7a69802059989bbecbea07de880fb6effaf40b48022ed688d556ffe9b681ae51
|
|
BLAKE2b-256 checksum How to use checksums |
fe4edbd1e7ee8a655b6ed1657904ceb9546ac30056dab81eaa1619791e7e9314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / kailash_enterprise-5.1.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | kailash_enterprise-5.1.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 30.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d818b9a0d7f9f365815d1215bb162f9d5a669988bae1ba7c6852fc4cb4148cd6
|
|
BLAKE2b-256 checksum How to use checksums |
bd711feff508550604823f8b80a8d2d1e3efb558dc060bd8ff4db576dc632591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for kailash-enterprise 5.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.