Skip to main content

ODL (Organizational Definition Language) Execution Kernel & Physics

Project description

ODL Kernel

The Physics Engine for AI Agents.
Deterministic Foundation for Probabilistic Systems.

License Python Version Coverage Determinism


The Deterministic Execution Engine for Organizational Definition Language (ODL).

odl-kernel is the reference implementation of the ODL "Physics." It is a stateless, pure-functional execution engine designed to manage the lifecycle of autonomous AI agents and human-AI collaboration.

Unlike traditional workflow engines, the Kernel acts as a rigorous state machine that derives the next organizational state and necessary side effects (Commands) based on a provided JobSnapshot and KernelEvent.

⚛️ Core Principles

  • Functional Core: The Kernel is side-effect-free. It does not access databases or external APIs directly; it only calculates the transition.
  • Deterministic Identity: Every node is assigned a mathematically derived UUID v5 based on its structural path. This ensures that process IDs remain consistent across restarts, replays, and forks.
  • Deep Analyze: The engine performs fixed-point iteration to advance states until a stable equilibrium is reached, allowing the host to observe only meaningful state changes.

Usage

The integration follows a strict "Load -> Analyze -> Apply" pattern.

import odl_kernel
from odl_kernel.types import JobSnapshot, KernelEvent

# 1. Prepare Input (Stateless)
snapshot = JobSnapshot(job=job_data, nodes=node_map)
event = KernelEvent(type="TICK", occurred_at=datetime.now())

# 2. Analyze (Pure Physics)
# The Kernel calculates the next state and required commands.
result = odl_kernel.analyze(snapshot, event)

# 3. Apply Output (Side Effects)
# The Host runtime persists updated_nodes and executes result.commands.
my_db.save(result.updated_nodes)

📖 Deep Dive: The Physics of Execution

The code above is just the entry point. The Kernel is a stateless, pure-functional "Physics Engine" designed to run inside your application.

To understand the architecture (Functional Core / Imperative Shell) and how to implement the Host Runtime (Database persistence, LLM API connections, and the Event Loop), please read the full implementation guide:

USAGE.md: The Host Implementation Guide

🏗 Relationship with odl-lang

This repository provides the execution environment. To define the organizational structures and compile them into an executable format, use the odl-lang library.

🌹 Dedication

Dedicated to the memory of Prof. Kazuhisa Seta, and to all researchers who continue to push the boundaries of Knowledge Engineering in his lineage.

⚖️ License & Commercial Terms

Copyright (c) 2026 Centillion System, Inc. All rights reserved.

This software is licensed under the Business Source License 1.1 (BSL 1.1).

Additional Use Grant

You are authorized to use this software in a production environment under the following conditions:

  1. Managed Service Restriction: You may not use this software to provide a competing "Managed ODL Service" to third parties.
  2. Revenue Limit: Use is free for individuals, academic institutions, and organizations with annual gross revenue less than $10,000,000 USD.
  3. Transition to OSS: This software will convert to Apache License 2.0 exactly two years after the release date of each version.

Organizations exceeding the revenue limit or wishing to provide managed services must obtain a commercial license from Centillion System, Inc.


The deterministic ID generation logic in this Kernel uses a proprietary signature for provenance tracking and identity verification.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odl_kernel-0.9.1.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odl_kernel-0.9.1-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file odl_kernel-0.9.1.tar.gz.

File metadata

  • Download URL: odl_kernel-0.9.1.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/22.1.0

File hashes

Hashes for odl_kernel-0.9.1.tar.gz
Algorithm Hash digest
SHA256 289bb7d6dadfc87d58aaf1f68070af7de33a722f3e2db71dbbec3b05b04f5601
MD5 734dc0348f684d9610433ef9437a31e8
BLAKE2b-256 22aff8d50e61a21da01c393c6ee9afe0326a8ea046440e9f4433e3656b476f3e

See more details on using hashes here.

File details

Details for the file odl_kernel-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: odl_kernel-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/22.1.0

File hashes

Hashes for odl_kernel-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33ec9ac0bdc98dd6475ec4e02ce7ab7162c1ae38b98874a10823c1752f86b0f9
MD5 3f6f9d84f111d2af6f7a6c0914421a76
BLAKE2b-256 0cb52b77919547ea44eee708f010c301db92f4cbe8994a68b18f1602a4382c97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page