hummbl-kernel
HUMMBL orchestration kernel — lightweight workflow execution with security and compliance enforcement.
Overview
The Mission Mode Kernel is a lightweight orchestration layer that combines Conductor-style deterministic YAML workflow execution with security and compliance enforcement for SOC 2, ISO 27001, and PCI frameworks.
Design Principles
1. Lightweight Architecture
- Minimal Dependencies: Stdlib-only Python (no third-party runtime dependencies)
- Single Responsibility: Kernel handles orchestration, security, and compliance only
- No Heavy Runtime: No built-in LLM inference or complex ML models
- Fast Startup: Sub-second initialization time
- Low Memory Footprint: < 100MB memory usage at idle
2. Security First
- Capability Admission Policy: All capabilities must be admitted before execution
- Risk-Based Enforcement: High-risk capabilities require explicit approval
- Least Privilege: Agents only get capabilities they need for their task
- Audit Trail: All security decisions logged to immutable audit trail
- Secret Protection: No secrets in logs or audit events
3. Compliance Native
- Framework Mapping: Native support for SOC 2, ISO 27001, PCI controls
- Evidence Validation: Automatic evidence quality and provenance validation
- Chain of Custody: Immutable evidence chain with cryptographic signatures
- Audit Report Generation: Automated compliance report generation
- Checkpoint Enforcement: Mandatory approval points for critical operations
4. Fleet Aware
- Hybrid Deployment: Seamless coordination between user-supplied compute nodes
- Health Monitoring: Continuous fleet health monitoring
- Automatic Fallback: Automatic task rerouting on node failure
- Resource Awareness: Task routing based on hardware capabilities
Architecture
Components
- Workflow Orchestrator (Conductor): YAML workflow parsing and validation, step execution and state management
- Capability Admission Policy: Capability registration and validation, risk-based admission decisions
- Security Enforcement Layer: Grant generation and validation, capability escalation prevention
- Compliance Enforcement Layer: Control mapping and validation, evidence quality checks
- Audit Trail System: Immutable event logging, evidence chain of custody
- Fleet Coordination Layer: Health monitoring, task routing and fallback
- Adapter Interface: Adapter manifest validation, admitted call envelope
Quick Start
import asyncio
import json
from hummbl_kernel import MissionModeKernel
# Initialize kernel
kernel = MissionModeKernel()
# Define workflow
example_workflow = {
"name": "example_workflow",
"intent": "Collect and assess compliance evidence",
"success_criteria": ["All controls documented"],
"workflow": [
{
"step": "collect_evidence",
"agent": "evidence_collector",
"outputs": {"evidence_refs": ["ev_001", "ev_002"]}
}
]
}
# Execute workflow
async def main():
receipt = await kernel.execute_workflow(
workflow_yaml=json.dumps(example_workflow),
inputs={
"audit_period_start": "2025-01-01T00:00:00Z",
"audit_period_end": "2025-12-31T23:59:59Z",
"organization_id": "org_001"
}
)
print(f"Mission completed: {receipt.receipt_id}")
print(f"Audit trail: {receipt.audit_trail_ref}")
asyncio.run(main())
Documentation
hummbl_kernel/audit/audit_trail_system.md— Audit trail architecturehummbl_kernel/audit/checkpoint_system.md— Checkpoint enforcementhummbl_kernel/adapters/adapter_interface.md— Adapter interface specificationhummbl_kernel/workflows/schema.md— Workflow YAML schemahummbl_kernel/security/— Capability admission policy
License
Apache-2.0 — see LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 hummbl_kernel-0.1.0.tar.gz.
File metadata
- Download URL: hummbl_kernel-0.1.0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3908b2105621741b29bf524e5ab0b64a26a6f88b80cfd2772b2c1d6a836a30bf
|
|
| MD5 |
4c3c340b04219023a69ed480620280d2
|
|
| BLAKE2b-256 |
533d463cfebdf0fd2116eecd52ef1a038c2126c774a84a0d197245e6b475a66d
|
Provenance
The following attestation bundles were made for hummbl_kernel-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on hummbl-io/oss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hummbl_kernel-0.1.0.tar.gz -
Subject digest:
3908b2105621741b29bf524e5ab0b64a26a6f88b80cfd2772b2c1d6a836a30bf - Sigstore transparency entry: 2582648833
- Sigstore integration time:
-
Permalink:
hummbl-io/oss@b1b05813832d14185bba12284dd8a6cede2f19c3 -
Branch / Tag:
refs/tags/hummbl-kernel/v0.1.0 - Owner: https://github.com/hummbl-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b1b05813832d14185bba12284dd8a6cede2f19c3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hummbl_kernel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hummbl_kernel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6899a16868fbd9bc5363ac47b0b3d3fd2191530d438dbed5a31332a2390b641
|
|
| MD5 |
f2dbf8755b0bac59ce116639872cbe98
|
|
| BLAKE2b-256 |
e0a361d4d951e333fe3ce18b140e7d27ef2f82d22941f33e6d53cf248a856363
|
Provenance
The following attestation bundles were made for hummbl_kernel-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on hummbl-io/oss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hummbl_kernel-0.1.0-py3-none-any.whl -
Subject digest:
a6899a16868fbd9bc5363ac47b0b3d3fd2191530d438dbed5a31332a2390b641 - Sigstore transparency entry: 2582648836
- Sigstore integration time:
-
Permalink:
hummbl-io/oss@b1b05813832d14185bba12284dd8a6cede2f19c3 -
Branch / Tag:
refs/tags/hummbl-kernel/v0.1.0 - Owner: https://github.com/hummbl-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b1b05813832d14185bba12284dd8a6cede2f19c3 -
Trigger Event:
push
-
Statement type: