Skip to main content

clm-kernel

Card Lifecycle Manager (CLM) Kernel — Sovereign Functional Agentic Operating System.

clm-kernel is the foundational Python implementation of the Cubical Logic Model (CLM), providing a stratified 5-layer architecture for sovereign, functional, deterministically auditable agentic execution.

Architectural Layers

  • Layer 0: Cryptographic Substrate & Storage
    • Content-addressable storage via BLAKE3 hashing
    • Merkle DAG tree synthesis and verification
    • TriDatabase manager and multi-agent Vector Clocks
  • Layer 1: Type Lattice & Schema Model
    • Pydantic-backed invariant validation
    • Deterministic AST transformations and MCard schemas
  • Layer 2: Reactive Graph & CPN-VM
    • Coloured Petri Net (CPN) virtual machine
    • Token passing, transition firings, and concurrency invariants
  • Layer 3: Cordis Spatiotemporal Actor Model
    • Effect isolation, savepoints (SavepointGuard), and cleanup scopes (DisposableList)
    • Monadic execution with rollback guarantees
  • Layer 4: Sovereign Execution & Gateway
    • Full CLI (clm, clmEval)
    • Triad Gateway and Model Context Protocol (MCP) server integration

Installation

pip install clm-kernel

CLI Usage

# Display CLI help
clm --help

# Evaluate an action or workflow manifest
clm evaluate --file workflow.yaml

# Initialize TriDatabase storage
clm init-tridb --path ./data

Python API Quick Start

from clm.layer0.merkle import MerkleTree
from clm.layer4 import SovereignExecutor

# Create and verify Merkle DAG
tree = MerkleTree()
tree.insert("card-1", b"payload data")
root_hash = tree.compute_root()
print(f"Merkle Root: {root_hash}")

License

MIT License. See LICENSE for details.

Monorepo & Documentation

Source code, formal proofs, and multi-language kernels (Rust, JavaScript/TypeScript, WASM) are maintained in the main CLM Repository.

Metadata

Release files for clm-kernel 0.0.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 clm-kernel 0.0.0
File Interpreter ABI Platform Actions
clm_kernel-0.0.0-py3-none-any.whl Python 3 none any Details for clm_kernel-0.0.0-py3-none-any.whl

Release files / clm_kernel-0.0.0-py3-none-any.whl

Download URL clm_kernel-0.0.0-py3-none-any.whl
Size 696.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd00509742d0d7bd8e915453d71f4b79b8846430184c42b0c0900bde7b735b7f
BLAKE2b-256 checksum
How to use checksums
30235319a8d50149d342c29ce16e9d2844be20d299a51433b0b6871b2bdae804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Security for clm-kernel 0.0.0

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.

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