
Actenon Kernel
io.github.Actenon由 GitHub 帳號 Actenon 發布v1.2.2更新於 Oct 24, 2026
Verify consequential AI actions before they execute.
概覽
Actenon Kernel 的 MCP 伺服器讓助理在執行前驗證針對某個確切動作的證明,並讀回結構化的拒絕或回執。
- 可以做什麼
- 驗證某份證明是否對確切的動作、目標、受眾與時間窗有效
- 對動作給出 ALLOW 或附機器碼與可讀原因的拒絕
- 讀取先前決策對應的雜湊鏈回執
- 以展示模式離線執行,使用臨時金鑰與記憶體狀態
- 適用情境
- 適用於智慧體會執行退款、付款、刪除或 IAM 變更等有後果的操作,並希望在執行邊緣先依簽章證明檢查每一次嘗試的情境;也適合排查某次操作為何被拒絕。
- 執行需求
- 透過 uvx 從 actenon-kernel 套件(含 mcp 附加項)以 stdio 在本機執行,需要 Python 3.10 以上版本。文件中的展示設定使用 --demo 參數,以臨時金鑰與記憶體狀態離線執行。未宣告需要帳號、API 金鑰或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Actenon Kernel,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Actenon Kernel
The open verifier for proof-bound consequential execution. Defines what a valid proof is. Verifies proofs at the execution edge; issues no grants; runs no policy decisions.
[PyPI: actenon-kernel] [Conformance 1.1.0] [Spec v1] [Versioning: SemVer 1.x] [SDKs: Py · TS · Go · Rust] [CI] [Invariants] [claims: machine-verified] [MCP server] [Code style: ruff] [No runtime cloud dependency] [Offline verification] [Kernel independence]
Every claim above is machine-verified
The claims: machine-verified badge links to a CI gate
(verify-claims.yml) that fails on
every PR, push to main, and once a day if any factual claim this README
makes about the kernel stops being true:
- Zero network calls during verification —
tests/test_neutrality.pyruns in the gate, not just behind a badge link. - Runs without Permit, Cloud, or Scan —
tests/test_independence.py, plus a source scan proving the kernel never imports Cloud or Permit, plusscripts/assert_dep_direction.py(runtime deps are exactlyactenon-protocol). - The conformance count — every "N conformance vectors" / "N tests pass" here is compared against
what
actenon-kernel conformance runactually executes; the vector files themselves are hash-locked byscripts/verify_conformance_manifest.py. - Install commands — every
pip installin this README is resolved against the live registry; the Python badge is generated, not hand-edited. - The ecosystem table — rendered from the protocol's
ecosystem.yaml, never hand-edited.
The Invariants workflow additionally proves on every PR that a clean, no-extras install verifies the full conformance surface — 33/33 tests, zero skips — including Ed25519.
If a claim drifts, the badge goes red before a human notices.
The Actenon ecosystem
The Kernel is one of the independent repositories that together close the execution gap — the gap between upstream authorization and the execution edge that actually performs a consequential side effect.
Optional: actenon-cloud — a managed control plane (private repository, not publicly available). Not required by any component above; every capability in this ecosystem works without it.
Every repo can be adopted independently. The Kernel in particular can be wired in at the agent framework (LangChain tool, MCP tool, Claude Managed Agents custom tool, etc.) or independently at the resource boundary (FastAPI route, Express route, Go HTTP handler). Both placements are first-class.
What this is
The Kernel is the trust anchor of the Actenon ecosystem. It is:
- Independent — runs without Permit, Cloud, or Scan. Zero network calls during verification.
- The verifier at the execution edge — the
PCCBVerifieris pure and stateless; theProtectedExecutorenforces replay, escrow, idempotency, and credential brokering at the edge before any side effect, then emits the Receipt or Refusal. - Conformance-locked — 53 conformance vectors define exactly what "a valid PCCB" means, in any language.
- Multi-language — Python reference, plus TypeScript, Go, and Rust verifier SDKs that all conform to the same vectors.
- Framework-agnostic — proof verification is a function call, not a framework. The same verifier runs inside a LangChain
_run, an MCP tool handler, an Express route, or a Go HTTP handler.
The Kernel does one thing: it verifies that a PCCB (Proof of Constrained Capability Bound) authorizes an exact Action Intent for this caller, this target, this audience, this scope, this time window, and this single execution attempt — and the ProtectedExecutor refuses the attempt (no side effect, structured Refusal emitted) if verification fails. The Kernel does not issue grants or make policy decisions — that's Permit's job.
Guarantee precondition: the edge guarantee holds when the protected edge is the only path to the resource, the backend accepts only brokered credentials issued after verification, and the agent has no standing credential or alternate route. If those conditions are not met, the Kernel still refuses invalid proofs — but it cannot prevent a caller that bypasses it from reaching the resource. Full scope in
docs/SCOPE_AND_GUARANTEES.md.
Why it exists
Modern agent stacks already answer the upstream question — should this requester be allowed to do this kind of thing? — with authentication, policy engines, approval workflows, and audit logs. They still leave open the question the execution edge needs to answer:
Is the exact action about to execute still the exact action that was authorized — for this endpoint, this tenant, this subject, this target, and this time window?
That unanswered question is the execution gap. It is where parameter mutation between approval and execution, replay of valid-looking proof, presentation to the wrong endpoint, tenant/subject rebinding, and stale-proof reuse actually happen. The Kernel closes it.
Read the canonical problem statement in THE_EXECUTION_GAP.md.
The two places you can wire it in
This is the single most important architectural decision in any Actenon adoption, and the Kernel is explicitly designed for both placements.
Placement A — at the agent framework (brokered mode)
The Kernel verifier runs inside the agent's tool implementation. The agent calls a tool; the tool verifies proof; the tool executes. The agent never holds a production credential — the broker resolves it after verification.
This is the path you take when you control the agent framework and want to bind every tool call to proof. See INTEGRATIONS.md for the six ranked framework paths.
Placement B — independently at the resource boundary (resource-owned mode)
The Kernel verifier runs inside the resource itself — a FastAPI route, an Express endpoint, a Go HTTP handler, an internal service method. The resource is the protected endpoint. The agent (or any caller) must present a valid PCCB to cause a side effect, regardless of how it got there.
This is the path you take when you cannot fully trust the agent framework, when the resource is shared by multiple callers, or when the resource team and the agent team are different organizations. See the Boundary Kit in actenon-permit and the BoundaryVerifier API in this repo. BoundaryVerifier verifies a signed PCCB against the exact Action Intent; it does not treat a token string as proof.
Both placements use the same Kernel, the same PCCB shape, the same conformance vectors, and the same Receipt/Refusal artefacts. You can mix them in one deployment.
The 15-step verification pipeline
Pre-auth failures collapse to a single public-safe code PROOF_INVALID. Post-auth failures disclose the specific code (AUDIENCE_MISMATCH, ACTION_MISMATCH, REPLAY_DETECTED, etc.) only to trusted callers. This two-layer refusal model is part of the protocol — see actenon-protocol.
What the Kernel produces
Signed receipts — what the agent had permission to do, what it did or tried, and how
Every execution attempt produces one of two canonical, machine-readable artefacts:
- A Receipt when the side effect executed (or was definitively refused before execution, in the refused-receipt path).
- A Refusal when the protected endpoint refused the attempt before any side effect.
Both are structured, hash-chained, and stable at the contract level. They answer, for any retrospective reviewer (engineer, auditor, regulator, insurer):
- What the agent had permission to do — the Grant's
scopes.allow,scopes.deny,budget,rate,expires_at, and approval rules. The receipt cites the exact grant and proof that authorized this attempt. - What it did or tried to do — the exact
Action Intent(action name, target, tenant, subject, audience, parameters), the action-hash (SHA-256 over RFC 8785 canonical JSON), and the execution state (succeeded,failed,refused,outcome_unknown). - How it did it — the brokered or resource-owned execution mode, the credential reference (not the secret), the adapter / endpoint that performed the side effect, the provider response or refusal code, and the receipt's own signature.
For deployments that need portable cryptographic attestation of origin, the Kernel can wrap any v1 Receipt or Refusal in an Outcome Attestation envelope (v2alpha1, opt-in). The attestation is signed with an Ed25519 key whose lifecycle (active / retired / suspended / soft-revoked / hard-revoked) is itself part of the public contract. A hard-revoked key's historical artefacts remain verifiable only if an independently verified external anchor proves the artefact digest existed before the compromise — see REVOCATION_AND_RECEIPT_DURABILITY.md.
Outcome Attestation is v2alpha1 and is excluded from the 1.0 compatibility promise. It is opt-in, alpha, and may change or be removed in any release until it reaches v2. See VERSIONING.md §1.2.
Install
Python 3.10+ for the Kernel alone. The full stack including Permit requires 3.11+.
Since 1.1.0 the base install verifies everything the ecosystem produces,
including Ed25519 proofs and Outcome Attestations. (The [asymmetric] extra
still resolves for backward compatibility; it installs nothing additional.)
Connect it to an agent (MCP, 60 seconds, zero install)
The Kernel ships a runnable MCP server, so a model can ask it whether an action is allowed before the action runs — and read back exactly why it was refused. Paste this into any MCP client (Claude Desktop, ChatGPT, or anything else that speaks MCP):
Using Claude Code? One command registers the same server:
uvx fetches and runs it — nothing to install first. --demo runs offline
with an ephemeral key and in-memory state; it is clearly marked DEMO MODE
in every tool description and must not be used in production.
Three tools: actenon_verify (is this proof good for this exact action?),
actenon_gate (ALLOW or a typed refusal), actenon_receipt (the
hash-chained receipt for a prior decision). Every refusal carries both the
machine code and the human-readable reason.
Full walkthrough, including a real transcript of an agent being refused for
widening a refund and then succeeding within scope:
docs/integrations/MCP_QUICKSTART.md.
Use as a verifier (resource boundary)
Production key custody: the local HMAC signer above is for development only. For production, use a file-based Ed25519 key or a KMS-backed signer. See
docs/PRODUCTION_INTEGRATION.md§1 for the three custody tiers and theACTENON_ALLOW_PILOT_LOCAL_EDDSA_IN_PRODUCTIONflag documentation.
Use as a boundary verifier (Boundary Kit, resource-owned mode)
BoundaryVerifier() with no trust root refuses every token (ISSUER_UNTRUSTED), including a long or v1.-prefixed string. Pass the same PCCBVerifier the issuer's key can satisfy, and the exact Action Intent the request is performing:
How Airlock calls the Kernel
Airlock is the cooperative Python broker in front of an agent. Scan names the powers, Permit signs a grant for those powers, and Airlock asks the Kernel to verify the proof before a side effect. That call, from src/actenon_airlock/broker.py, is:
capabilities is the edge allow-list (the grant's Scan powers). A proof for any other capability is refused with SCOPE_CAPABILITY_MISMATCH before dispatch.run. revocation_checker(pccb, context) must return true when the authority is not revoked; a false result or an exception is AUTHORITY_REVOKED. Ed25519PublicKeyVerifier and StoreRevocationChecker are Permit types that satisfy those Kernel interfaces. The Kernel does not import Permit or Scan.
The pipeline is Scan vocabulary, then a signed grant, then this Kernel check, then a signed receipt. Airlock writes its own hash-chained receipt around outcome.to_dict(). The Kernel's job inside that pipeline is the check and the Receipt or Refusal for the protected call.
Use as a minter + executor (brokered mode, full local proof)
Then protect a real endpoint:
Multi-language SDKs
Every SDK runs the same hash-locked verifier vectors (actenon/conformance/vectors/verifier_sdk_v1, locked in conformance/vector-lock.json; the Go and Rust SDKs vendor them byte-identically). See SDK_SELECTION_GUIDE.md.
Framework & platform adapters
The repo ships ranked, ready-to-run examples showing the Kernel wired into the major agent surfaces. MCP is the hero path; the rest are distribution-supporting.
Additional examples (not in the ranked launch set, but production-quality):
Every example keeps the same boundary: the protected endpoint receives an Action Intent + PCCB + local context, verifies proof before any side effect, and returns a canonical Receipt or Refusal. No example requires a hosted control plane.
The incident library — see the gap, then see it closed
The repo ships a local simulator that lets you watch real-world incident patterns unfold, then watch the same pattern get refused at a protected endpoint. Run any of them in seconds:
These pages are source-disciplined: they use incident names as pattern language, not as factual incident reports, and they explicitly do not assert uncited facts about any named incident. They show where the execution gap appears and how a protected Actenon boundary would require preflight, proof, credential brokering, and Receipt/Refusal artefacts before side effects. Use INCIDENT_ANALYSIS_TEMPLATE.md to write your own.
Then open the local Trace Viewer to inspect the Intent Record, Action Intent, PCCB, Receipt, Refusal, replay entries, and protected-endpoint state for any simulation:
The viewer renders local artefacts produced by the repo's existing proof paths — Intent Record, Action Intent, PCCB, Receipt, Refusal, replay entries, protected-endpoint state, and execution flow reconstructed from those artefacts. It requires no hosted services, operator workflow state, or paid-layer runtime infrastructure. See TRACE_VIEWER.md.
Multi-agent execution model
In a multi-agent system, every additional hop between decision and execution creates more room for proof laundering — treating proof, approval state, or "allowed" context gathered upstream as if it were sufficient authorization for a different downstream execution edge. The Kernel's rule does not weaken because an orchestrator "already checked":
Each protected execution edge verifies its own proof before side effects.
A PCCB is bound to a specific audience, tenant, subject, action, target, scope, expiry, and nonce. Forwarding it across an agent boundary does not make it valid for a different tool. Full doctrine in MULTI_AGENT_EXECUTION_MODEL.md.
Key lifecycle & receipt durability
Issuer signing keys move through five states, each with explicit verification semantics:
Hard revoke is used only when key compromise means the issuer's own timestamps can no longer separate legitimate historical artefacts from backdated ones. The Kernel's external-anchor MVP lets a deployment preserve verifiability of historical artefacts even after hard revoke, without changing the issuer-signed bytes. Full lifecycle in REVOCATION_AND_RECEIPT_DURABILITY.md.
Compliance mappings (partial, honest)
The Kernel maps cleanly to the execution-edge portions of common frameworks. It is not a certification, a full crosswalk, or a claim of complete coverage.
Full mapping in COMPLIANCE_MAPPING.md.
Conformance
The active v1 compatibility surface is: Action Intent, PCCB, Receipt, Refusal, Protected Endpoint, Replay. Reserved surfaces (Reconciliation, Policy Bundle) are not active v1 conformance targets. Third-party verifier implementers should target these surfaces and run the same suite. See CONFORMANCE.md.
Audit responses
The repo ships an auditor-readable THREAT_MODEL.md and an AUDIT_RESPONSES.md that ties common diligence questions to specific source files:
- Payload tampering — strict RFC 8785 JCS canonicalisation; floats rejected; duplicate object keys rejected before canonicalisation.
- Clock drift — configurable, validated
clock_skew_toleranceonnot_beforeandexpires_at; strict zero by default. - Concurrency replay (double-spend) — atomic transactional claim against a unique
replay_keyin a durable store, plus mutation lock and monotonicity assertion. Verified under a 32-worker concurrency race: exactly one execution succeeds; the rest are refused withREPLAY_DETECTED.
No external cryptographic review has been performed. The self-review above is good practice but is not a substitute for an independent pair of eyes. See
docs/CRYPTO_REVIEW.mdfor the exact surfaces that need external review, the file pointers for each, and the specific questions a reviewer should answer.
What the Kernel does NOT do
Actenon gates explicit execution-edge actions; it does not inspect or filter prompts, model output, or in-band response content. It can require proof for an explicit export or transmit action, but it does not stop data disclosed inside ordinary output unless that disclosure is itself modeled and routed as a protected action.
- Act as an operating-system jail. It does not intercept syscalls, confine a process, sandbox native code, or stop a program that never calls
protect()orBoundaryVerifier. Hostile native code and same-user programs need OS isolation; Airlock's own docs say the same about the broker around this Kernel. - Issue grants or proofs — that's Permit's job.
- Name which powers a program uses — that's Scan's job. The Kernel checks a proof against an allow-list the caller declares (
capabilities=). - Resolve credentials — that's the broker's job.
- Execute provider calls — that's the adapter's job.
- Manage tenants — that's Cloud's job.
- Inspect prompts, model output, or in-band response content. It is not a prompt filter or general DLP.
- Prove that an upstream policy or approval was correct.
- Prove that a provider executed correctly on its end (it observes the provider response; it does not validate the provider's internal state).
- Stop a malicious or buggy adapter that lies after control passes to it.
- Replace production key custody or HSM-backed signing (the interface is ready; the deployment wires the provider).
The edge guarantee applies only when the protected edge is the only path to the resource, the backend accepts only brokered credentials issued after verification, and the agent has no standing credential or alternate route. Full scope in docs/SCOPE_AND_GUARANTEES.md.
Signing backends
See the signing backends table above for the exact wiring paths. The full production integration guide is in this repo at docs/PRODUCTION_INTEGRATION.md (Apache-2.0, self-contained, does not require actenon-cloud).
What's in this repo
Independence
The Kernel depends only on actenon-protocol. It does not depend on Permit, Cloud, or Scan. A third-party proof that conforms to the Kernel's conformance vectors will be accepted by the Kernel verifier, regardless of who issued it. The verifier makes zero network calls during verification.
License
Apache-2.0 — see LICENSE.
Effect ownership at a protected edge
For consequential retry safety, configure EffectProtector from
actenon.execution.effects with a resource-owner namespace and the authority
engine's atomic ledger claim hook. Kernel recomputes the effect identity and
requires the signed extensions.effect reference to match the exact execution
attempt before acquiring credentials. An edge without this hook refuses
effect-bearing proofs. A trusted boundary must return matching effect_evidence
with COMMITTED, NOT_EXECUTED, or AMBIGUOUS certainty; transport success alone
does not establish a committed consequence. Ambiguity holds the reservation
until trusted reconciliation. See integration requirements and attack evidence.
Python resource boundaries and VerifierSDK also enforce mandatory signed effect constraints. Legacy escrow middleware refuses effect-bearing proofs. Verification never establishes that a consequence committed: receipt construction requires matching trusted effect evidence. See entry-point coverage and preserved attacks.
來源:README.md,提交 9dd6af8
工具
0版本歷史
1- v1.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分