Live Kernel demo
7 browser-executed scenarios
Run the published Python Kernel in your browser and inspect what each scenario proposes, validates, and commits.
Kernel checks AI proposals against evidence and records decisions. Guard enforces execution boundaries for local agents in enrolled VMs.
Kernel commits the decision. Guard authorizes dispatch separately. A matching receipt confirms the outcome.
An agent can propose a change to a local record or try to call an external service. The application can evaluate the proposal, and the host can enforce the authority the workload actually has.
Models propose. Alethic governs. Guard enforces.
A convincing inference can conflict with a tool result. Keep each belief linked to the evidence used to validate it.
A model can propose replacing a record. Validate the change before it reaches the state the system relies on.
An agent can propose running a command or contacting a service. Check the operation against the authority the host actually granted.
Use the Python library to evaluate proposals against evidence and application rules, then commit accepted decisions to structured state. Install Kernel independently in the application you trust.
pip install alethic-kernelRun local inference and agents in an enrolled VM on a supported Ubuntu 24.04 x86-64 KVM host. The host controls network access, can approve a specific collector operation, and can verify shutdown.
v0.4.0 · Ubuntu 24.04 · x86-64 · KVM
Download Guard for LinuxKernel evaluates the evidence and records the application’s decision. In mediated mode, Guard’s controller uses Kernel to evaluate the collector request. The Guard daemon checks execution authority separately, and a receipt or host observation tells you what happened.
7 browser-executed scenarios
Run the published Python Kernel in your browser and inspect what each scenario proposes, validates, and commits.
1,200 controlled episodes
The study compared four agent architectures on six tasks in a controlled Stripe refund workflow over 50 seeds. It observed zero unsafe actions in the 600 governed episodes.
300/300 verified KVM shutdowns
The release used a firmware-only KVM fixture with 100 runs each at idle, under CPU contention, and alongside another VM. A separate nested KVM test measured 403 ms with an enrolled SmolLM2 guest and two operator requests queued.
Run the published Python wheel through WebAssembly and inspect the decision for each scenario.
Choose a case
The same proposal, from a source that is only 30% sure. Below the 0.5 threshold.
The proposal
from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": False}, "demo", confidence=0.9)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
ok, code = k.commit_belief_from_proposal(prop.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": False}, "demo", confidence=0.3)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
ok, code = k.commit_belief_from_proposal(prop.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": True, "conflict": False}, "demo", confidence=0.9)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
ok, code = k.commit_belief_from_proposal(prop.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": True}, "demo", confidence=0.3)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
ok, code = k.commit_belief_from_proposal(prop.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": True}, "demo", confidence=0.9)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
ok, code = k.commit_belief_from_proposal(prop.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": False}, "demo", confidence=0.9)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
k.commit_belief_from_proposal(prop.id, "demo")
k.write("symbolic_validator", "constraints", "COMMIT", "no_duplicate_refund",
{"enabled": True, "blocks_field": "is_duplicate"}, "demo")
act = k.write("planner", "actions", "PROPOSE", "issue_refund",
{"type": "issue_refund", "amount": 4200,
"is_duplicate": True,
"requires_beliefs": ["refund_due"]}, "demo")
ok, code = k.commit_action_from_proposal(act.id, "demo")
f"{ok}|{code}"from alethic import Kernel
k = Kernel()
k.write("tool", "percepts", "COMMIT", "charge",
{"stale": False, "conflict": False}, "demo", confidence=0.9)
prop = k.write("planner", "beliefs", "PROPOSE", "refund_due",
{"value": True, "depends_on": ["charge"]}, "demo")
k.commit_belief_from_proposal(prop.id, "demo")
k.write("symbolic_validator", "constraints", "COMMIT", "no_duplicate_refund",
{"enabled": True, "blocks_field": "is_duplicate"}, "demo")
act = k.write("planner", "actions", "PROPOSE", "issue_refund",
{"type": "issue_refund", "amount": 4200,
"is_duplicate": False,
"requires_beliefs": ["refund_due"]}, "demo")
ok, code = k.commit_action_from_proposal(act.id, "demo")
f"{ok}|{code}"The kernel
COMMITTEDInvalidatedLOW_CONFIDENCEInvalidatedSTALE_EVIDENCEInvalidatedUNRESOLVED_CONFLICTCOMMITTEDInvalidatedNO_DUPLICATE_REFUND_BLOCKEDCOMMITTED
No decision yet.
Improve the Kernel, test Guard on a supported host, or reproduce the research.
Write a validator example, try a storage integration, or improve the docs.
Contribution guide Public issuesTry the supported installation, reproduce a recovery procedure, or verify a release checkpoint.
Contribution guide Public issuesReproduce the published analysis, examine its assumptions, or propose an alternative workload.
Research repositoryFor suspected vulnerabilities, use the private reporting channels in the Kernel security policy and the Guard security policy.