Alethic
A governed cognitive substrate for AI systems.
Models propose. Alethic decides what may enter state and what may become action.
Alethic places a small, enforceable kernel between reasoning components and external effects. It maintains typed state, links beliefs to evidence, applies declarative constraints, and records why each proposal was committed or invalidated. The kernel contains no model, prompt, tool, task, or domain logic.
Install
The Python distribution is named alethic-kernel; its single import namespace
is alethic.
pip install alethic-kernel
Use
from alethic import Kernel
kernel = Kernel()
trace = "episode-001"
kernel.write(
"tool",
"percepts",
"COMMIT",
"observation",
{"value": 42, "stale": False, "conflict": False},
trace,
confidence=0.9,
)
proposal = kernel.write(
"planner",
"beliefs",
"PROPOSE",
"threshold_reached",
{"value": True, "depends_on": ["observation"]},
trace,
input_refs=["observation"],
)
committed, reason = kernel.commit_belief_from_proposal(proposal.id, trace)
print(committed, reason)
Every worker can propose. Only the kernel can commit. State lives in seven semantic slots: percepts, beliefs, constraints, plans, evidence, predictions, and actions.
What belongs here
This repository contains only the domain-neutral Alethic substrate:
- the governed blackboard kernel and typed record schema;
- evidence, confidence, conflict, constraint, and prediction validation;
- in-memory and SQLite stores;
- worker orchestration, sessions, simulation, and adaptive constraints;
- tests, architectural documentation, and a domain-neutral example.
The controlled study, results, and verification artifacts live separately in governed-cognition.
Documentation
Source layout
The repository name is Alethic exactly once. Setuptools maps src/ directly to
the installed alethic namespace.
src/
__init__.py
kernel.py
schema.py
permissions.py
validators.py
store.py
sqlite_store.py
worker.py
orchestrator.py
session.py
sim_worker.py
adaptive_worker.py
Development
python -m pip install -e ".[dev]"
pytest
mypy --strict src
License
MIT © Emil Uzelac
Metadata
Release files for alethic-kernel 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alethic_kernel-0.3.0.tar.gz | 164.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alethic_kernel-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 186.3 kB
Release files / alethic_kernel-0.3.0.tar.gz
| Download URL | alethic_kernel-0.3.0.tar.gz |
|---|---|
| Size | 164.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0c02fef21665c70826ccd65185ef84fd8de1aea5661be6086fd5f3a2b665f17
|
|
BLAKE2b-256 checksum How to use checksums |
219330fd047c60ebd4174fb2a0ec89df4a3b95b51f42f32f25c9e01a533fce7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 18, 2026.
Transparency logRelease files / alethic_kernel-0.3.0-py3-none-any.whl
| Download URL | alethic_kernel-0.3.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40562aa9789163506c7bc2426b0e4e4217993cd4e91c8cc21c57fdf71cc7ed3a
|
|
BLAKE2b-256 checksum How to use checksums |
04d7a2bd4325759e24d76d461c6ca2628178fbff9ee681bc47c12bff721746e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 18, 2026.
Transparency log