Exact-argument authority
Bind authorization to the effective values a handler receives, including defaults and nested parameters.
A deterministic control plane for AI-agent actions. Verify signed permits, bind authority to exact tool arguments, and preserve auditable evidence — before a trusted handler acts.
tool.executeThe model provides a request, not its own authority. Shards-Kernel sits in the trusted execution path to verify what was permitted and capture what happened.
An untrusted model proposes a tool operation.
Verify identity, scope, and effective arguments.
Explicit allow or deny. No implied authority.
Execute admitted actions and capture evidence.
Small, composable controls for consequential agent actions. Built around determinism rather than asking a language model to police itself.
Bind authorization to the effective values a handler receives, including defaults and nested parameters.
Cryptographic permit verification through the optional Ed25519-backed crypto path.
Apply nonce and permit-consumption controls to resist repeated or stale authorization.
Record decisions and outcomes in tamper-evident audit structures that can be inspected later.
Guard concurrent tool admission and distinguish queued control requests from confirmed outcomes.
Use the Python API, command-line interface, and optional MCP integration as a control layer around trusted tools.
Switch between sample requests to see how an authorization gate responds when permit conditions change.
Interactive illustration. These fixed examples simulate outcomes for explanation only; they do not contact a running Shards-Kernel instance or execute tools.
{
"tool": "files.read",
"args": {
"path": "/report.txt"
},
"permit": {
"scope": "files.read",
"expires": "valid",
"signature": "valid"
}
}Start with the published PyPI package. Run an offline demonstration to inspect the control flow without connecting a real agent or external service.
✓One Python package, with opt-in integrations
✓Built-in CLI demonstration
✓Source, issues, and release notes are public
Shards-Kernel is an authorization and audit component, not a claim that every surrounding system is automatically secured.
Local control-plane integration, permit enforcement, replay resistance, decision accounting and evidence around trusted handler calls.
It is not an operating-system sandbox, a hosted remote MCP gateway, or a guarantee of exactly-once external effects. Process isolation, network controls and operational safeguards remain your responsibility.
Review the implementation, run the demo, and integrate deterministic authorization where your agents reach real tools.