AgentKernel: A Trusted Native Operating System Kernel for AgentsAgentKernel: The Trust-Native Agentic Operating System
The authors propose AgentKernel, using four pillars—identity, perception, cognition, execution—for enforced mediation; the paper has no empirical numbers, and Table 3 is a qualitative comparison.
§5.1: The adversary can manipulate inputs, supply malicious tools, poison memory, impersonate and replay, inject into the supply chain, and exploit overly broad policies; they cannot forge Ed25519, extract the kernel private key, bypass the three adapters, or modify eBPF without host kernel privileges. GAR keys are assumed uncompromised. Physical attacks, side channels, and host OS kernel compromise are out of scope.
- Long-horizon agents put untrusted content in the same pipeline as privileged instructions, persistent memory, and tool calls. The authors argue that existing governance is mostly application-layer middleware in-process with the agent, and what is missing is an enforced, non-bypassable OS substrate for identity, input, memory, and execution.
- AgentKernel wraps agents in an enforced kernel. GAR uses Ed25519 to issue AICs, with the private key remaining only in the local kernel. Perception filters at four levels, cognition propagates taint per entry, and execution takes the intersection of permissions and installs an eBPF allowlist. Applications connect only through three adapters: LLM, tools, and storage.
- In §5.5 and §7, the authors list taint splitting, P3 blind spots, GAR single point, adapter bypass, eBPF portability, and unperformed formalization and load evaluation. The comparison is only the six systems in Table 3; the scores are the authors' qualitative judgment of the May 2026 document.
The researchers propose AgentKernel, a trusted native agent operating system with security as the primary design constraint, providing mandatory and non-bypassable services for identity, input mediation, memory governance, and execution control. The authors argue that existing governance solutions remain application-layer middleware, sharing the same process trust boundary as the monitored agents, thus requiring an OS-level foundation. AgentKernel wraps the agent lifecycle in an enforcement boundary, divided into four pillars—identity, perception, cognition, and execution—addressing delegation abuse, prompt injection, memory poisoning, and tool misuse, respectively. Kernel-managed identity supports cross-organization collaboration; tiered perception replaces single-point filtering; information-flow-controlled memory limits poisoning while improving retrieval fidelity; and semantic-to-kernel execution mechanisms place broader tool permissions behind a non-bypassable boundary. The paper is 38 pages with 5 figures, and through systematic comparison and security analysis, it argues the architecture can enforce security constraints across the entire agent lifecycle.
Paper analysis
What problem does this paper attempt to solve?
The authors argue that enforced OS mediation is missing and propose the four-pillar AgentKernel.
The current agent stack lacks an enforced, non-bypassable semantic-layer OS mediation, so long-horizon tasks are simultaneously constrained by security gaps and capability limits.
- Scenario: The authors state that LLM agents are becoming the control plane through which organizations read, edit, and operate software; they ingest untrusted web and repository content, fuse it with privileged instructions, write intermediate beliefs into long-term or persistent memory, and call privileged tools.
- Gap: The authors divide remedies into four layers—orchestration frameworks, agent runtimes, governance platforms, and execution sandboxes—and state the weakness is fragmentation, blurred trust boundaries, and non-enforced execution. They cite AGT as claiming to provide application-layer governance rather than OS-kernel-level isolation, sharing a process trust boundary with the agent.
- Observation: The authors argue that what is missing is not another policy or plugin, but an always-on, composable semantic-layer service that reaches down to syscalls. Table 1 pairs security consequences and capability consequences for each of identity, perception, cognition, and execution.
- Proposal: The authors propose AgentKernel, calling it the first trust-native agent operating system with security as the first constraint, with four pillars: Identity, Perception, Cognition, Execution. The authors' central claim is that structural security is a capability multiplier.
- Threat model: Guarantees are stated in §5.1. The adversary can be strong, but the authors assume it cannot pass cryptographic and enforcement boundaries.
- Adversary capabilities: Can construct arbitrary inputs, supply tools that exceed authority at runtime after passing semantic checks, poison memory through normal channels, impersonate or replay, publish malicious skills with narrowly stated claims, and exploit overly permissive policies.
- Outside assumptions: Cannot forge Ed25519 without the private key, cannot extract Kpriv from the kernel, cannot bypass the three adapters, cannot modify eBPF without host kernel privileges; GAR signing keys are assumed uncompromised.
- Explicitly excluded: Physical attacks, side channels, host OS kernel compromise; reasoning errors that do not violate the stated invariants are treated by the authors as reliability issues.
- Victim system: Agent sessions spanning an input world, a protected core, and an auditable output world (Figure 2). §1 uses a multi-agent DevOps pipeline to illustrate that delegation, injection, memory poisoning, and tool side effects can chain into one attack.
What related research exists?
Related systems are divided into four layers of harness; the authors state none is a mandatory full-lifecycle kernel.
In §6, the authors divide related systems into four layers of harness and state that no layer makes identity, perception, cognition, and execution a mandatory kernel service with shared provenance.
Orchestration frameworks
- Workflow layer: LangChain/LangGraph, AutoGen, Microsoft Agent Framework, Semantic Kernel, CrewAI, MetaGPT, AutoGPT, and smolagents manage workflows, tool routing, retries, and inter-agent messages. The authors state that their contribution is mainly making agents more capable, with security ranging from absent to optional plugins.
- Named gaps: The authors note that smolagents documentation states the built-in LocalPythonExecutor is not a security sandbox and recommends external isolation for untrusted code.
Agent runtimes
- AIOS: Mei et al. (2024) run agents as an HTTP service with an in-process thread pool and provide FIFO/round-robin scheduling and syscall-like APIs. The authors state that the separation is only an API convention: in-process agents can bypass the syscall layer, remote endpoints have no authentication middleware, and the PermissionManager is a stub without cryptographic identity or taint labels.
- OpenFang, SmythOS, Letta: OpenFang applies quotas, capability filtering, WASM metering, Ed25519 manifest signing, Merkle audit chains, and TaintSource/TaintLevel to hosted agents. The authors state that model calls, memory, and tools of external A2A peers remain outside the perimeter, and taint does not enter long-term memory retrieval. SmythOS SRE is an in-process library; the authors state it has no cryptographic workload identity or kernel-level boundary. Letta manages tiered memory, with tool sandboxing in-process and no isolation by default, and memory items have no information-flow labels.
- Other work in the same column: KAOS, AutoAgent, and two OS surveys are only listed as runtimes or roadmaps, without Table 3-style line-by-line scoring.
Governance platforms and execution sandboxes
- AGT and tracing: AGT provides an in-process policy engine as an application-layer package, AgentMesh's SPIFFE/SVID, execution rings, and SRE. The authors state that governance shares an address space with agents, and same-interpreter code can alter policies or skip hooks; SPIFFE binds to runtime workloads, not simultaneously tracing developers, code artifacts, and operators. AgentOps and LangSmith use decorators and client wrappers for tracing; the authors state the path remains optional.
- Sandboxes: nono uses Landlock/Seatbelt, Sigstore, and network allowlists; E2B provides cloud-side isolation; Anthropic's sandbox-runtime restricts filesystem and network when no container is used. The authors state that they do not inherently include tiered perception and full-pipeline memory taint; isolation is mainly a binary inside/outside sandbox distinction.
- Comparison objects: The paper sets no experimental baseline and does not run scores on a benchmark. Table 3 compares AGT, AIOS, OpenFang, SmythOS, Letta, and nono; orchestration frameworks are not included, as the authors state they do not claim to provide these OS-level services.
Memory, protocols, and interface agents
- Memory systems: MemOS and MemoryOS optimize capacity and retrieval. The authors state that their published designs do not center on information-flow labels or cross-subsystem taint propagation.
- Protocols: MCP, A2A, ANP, Agent-OSI, and the authors' earlier BlockA2A specify what agents can say or provide cryptographic identity. The authors state that AgentKernel constrains what can be done, and the two are complementary; the four-dimensional binding is an input enforced by the kernel in this paper.
- GUI and engineering platforms: The authors classify GUI/computer-use agents and OSWorld, OS-Harm, PASB, etc., as application-layer interaction and security benchmarks. OpenHands, SWE-agent, Magentic-One, and AgentStore are called engineering platforms where security is optional.
The authors position AgentKernel as a mandatory OS kernel beneath these layers, complementary rather than replacing them. They state it is the first integrated agent OS with security as the organizing principle throughout the full lifecycle; Table 3's purpose is not to claim feature parity but to mark where mandatory lifecycle mediation is missing.
How does the paper address this problem?
Use an out-of-kernel mandatory reference monitor to chain identity, perception, cognition, and execution into a mediation chain.
AgentKernel wraps the agent core in a semantic reference monitor: inbound content, outbound actions, and inter-agent communication all pass through the security kernel. The four pillars are not interchangeable plugins but divisions of the same mandatory mediation at the semantic layer.
Design principles
- External enforcement layer: Principle 1 places the kernel outside the LLM context that can be manipulated by injection, contacting models, tools, and storage only through adapters.
- Default-deny intersection: The effective set of multi-party permissions is the intersection, not the union, i.e., Seff=Sdev∩ Sops∩ Sctx, meaning the developer cap, operator subset, and context constraints take the strictest. This rule applies to AIC capability chains, skill permissions, and work-phase tokens.
- Depth and dual layers: Principle 3 requires each of the four pillars to reduce residual risk. Figure 3 maps impersonation, injection, poisoning, and privilege escalation to identity, perception, cognition, and execution, respectively. Principle 4 looks at intent, memory, and plans at the semantic layer, with eBPF and process sandboxing as the base.
- Narrow boundary: Principle 5 exposes only three adapters: LLM, tools, and storage. Identity is a kernel control plane, not a fourth application-side adapter. The authors state that if there remain environment credentials, direct tool connections, or paths bypassing the storage adapter, mediation is incomplete. Deployment can be a library, gateway, sidecar, or tool facade, but the enforcement layer must be the sole authority for these resources.
Trust anchors and identity
- Two anchors: A remote GAR handles developer registration, Ed25519 signing of AICs, policies, and revocation; the local Agent Kernel holds private keys that are never exported, mutual attestation between mediators, manages OIDC secrets, and mounts pillar modules. Applications only receive opaque signed handles.
- Four-dimensional binding: At provisioning, the kernel generates an Ed25519 key pair. The AIC binds developer, code artifact, operator, and deployment context, is signed by the GAR, and cached locally. Optional TEEs include Intel SGX, ARM TrustZone, or Nitro-like enclaves; when enabled, signing still uses non-exportable primitives.
- Smax: The AIC's capability boundary is the structural input to each enforcement decision. E1 compares tool calls against the intersection of Smax and the tool manifest; E3 installs that intersection as an eBPF allowlist before process tree generation. Multiple skills intersect with Smax; the authors state combinations can only narrow.
- Sessions and delegation: The kernel generates a nonce, verifies the AIC against the GAR, and issues a session token whose scope is the intersection of both parties' Smax, invalidated when either end terminates. Spawning sub-agents is a kernel operation: child capabilities must be a strict subset of the parent's Smax, the depth limit is configurable (no numeric value given in the paper), and child AICs do not exceed the parent's remaining lifetime. Revoking a parent AIC atomically invalidates the entire subtree.
Perception and cognition
- P1–P4: P1 labels sources as SYSTEM, USER, TOOL, EXTERNAL, UNTRUSTED, and writes a ProvenanceTag composed of source, time, trust level, and detection warnings. P2 is a sub-millisecond, deterministic rule layer that blocks known injection templates, role impersonation, encoding bypasses, and token padding. P3 uses a lightweight LLM as a binary semantic firewall, stricter for low-trust sources. P4 checks multi-turn role redefinition, progressive safety degradation, and known jailbreak templates. Sources with valid AICs get higher initial trust in P1.
- Entry-level taint: Cognition is divided into Agent Host, Memory Gateway, Memory Control Plane, and Storage. Labels propagate per entry on the product lattice of integrity and confidentiality, rather than inheriting the worst label for the whole session. Steps are: split into sourced segments, extract candidates, determine supporting segments, find the minimal label that still supports the entry when utility loss does not exceed λ, and output a set of incomparable minimal labels. The paper does not give λ.
- Sharing: Private by default; sharing requires explicit authorization; high-sensitivity labels are not automatically shared across agents. Retrieved historical context is labeled as non-executable data. The authors state that whether entry-level taint holds depends on the accuracy of segmentation.
Execution governance
- E1–E4: E1 performs sub-millisecond, LLM-free denylisting, capability alignment, path/command/domain constraints, and deny-first resolution. E2 uses a lightweight LLM only when E1 escalates, to see if an action aligns with user goals, and may require human confirmation. E3, a privileged daemon, computes file, network, and DNS allowlists before execution, installs them into eBPF or system hooks, monitors the entire process tree, and pauses then remediates on violation. E4 records an immutable trace, compares against the declared plan, and flags missing, extra, reordered actions, and actions the model claims to have done but are absent from the trace.
- Manifests and concurrency: Skill manifests declare filesystem, network, execution, messaging, and other surfaces; workflows intersect. Concurrent contexts use short-lived execution tokens or sub-AICs, which E3 maps to separate BPF namespaces and process trees. The authors state that concurrent tasks of the same skill cannot touch each other's memory, file descriptors, or sockets. The main path is a deterministic allowlist; E2 is optional.
How invariants compose
- Table 2: Identity side: AICs are unforgeable, child Smax is contained in parent Smax, traces are signed by the kernel with Kpriv, and sessions use one-time nonces. Perception side: all content entering context has provenance labels, and P1–P4 operate on what the authors call orthogonal features. Cognition side: derived labels dominate source segments, and cross-agent sharing must be explicit. Execution side: effective permissions are the intersection, allowlists are installed before process generation and inherited by child processes, and plan-trace deviations are detected rather than pre-blocked.
- Two properties: Delegation chains satisfy SmaxAn⊆⋯⊆ SmaxA0, meaning successors cannot exceed the previously signed envelope, and policies can only deny within the envelope. Property 5.2 states that syscalls of a tool and its descendants are restricted to Allow(t) computed from Smax, manifests, and taint, independent of tool implementation. The authors state that to their knowledge this is unique in agent security architectures.
- Composition boundary: The authors use the §1 DevOps chain to show that completing a harmful push requires simultaneously bypassing identity, perception, taint, and execution. Figure 3 states that compromise of one pillar does not cascade; §5.3 explicitly does not claim full independence because of shared provenance metadata. The authors state that each pillar rechecks upstream claims with its own invariants rather than blindly trusting.
What experiments did the paper conduct?
The paper has no empirical experiments; Table 3 is the authors' qualitative comparison of six classes of systems.
Experimental Setup
- No benchmark experiments: The paper does not report tested models, benchmark scores, sample sizes, number of repetitions, or evaluation models. §7.4 states that performance and safety characterization under real workloads is not yet complete.
- Qualitative comparison: Table 3 in §6 compares AgentKernel with AGT, AIOS, OpenFang, SmythOS, Letta, and nono. Orchestration frameworks are not included in the table; the authors state this is because they do not claim to provide these OS-level services.
- Symbols: • indicates comprehensive, architecturally integrated support as a core design element; ◦ indicates partial or optional; — indicates absent or not a design focus. The authors state the basis is public documentation and open-source repositories as of May 2026, and that this is a qualitative author judgment, not an independent audit.
- Security analysis: §5 and Table 2 give invariants and Properties 5.1 and 5.2; these are arguments, not measurements.
- Metrics: The paper does not define ASR, latency, or utility metrics. The symbols in the table are not measured scores. The text states the comparison has 15 dimensions; the table rows that align with the item-by-item discussion in §6 number 14, and the one row that does not align is not transcribed.
Main Results
Per Table 3. The AgentKernel column is • in every row of the table; this is a design self-assessment. The table below lists only the five rows that distinguish the comparison systems; SmythOS and Letta are — on all five rows, so they are not listed, and their • entries are given in the notes after the table.
Swipe horizontally to read the table
System Multi-source provenance Semantic-to-syscall Cryptographic identity Syscall sandbox Cross-lifecycle AgentKernel • • • • • AGT — — • — — AIOS — — — — — OpenFang — — ◦ ◦ ◦ nono — — ◦ • — - The authors state that multi-source provenance, source-aware retrieval, and semantic-to-syscall are not design focuses in the comparison systems. Source-aware retrieval is not placed in the table above; in Table 3 that row is — for all systems except AgentKernel, which is •.
- The table above should not be read as the other systems having no •. AGT's cryptographic workload identity is •, nono's syscall sandbox is •; among rows not listed, Letta's context and memory management is •, AIOS's scheduling is •, and OpenFang and SmythOS's tool and workflow orchestration is •.
- The authors state these symbols are not feature-parity claims, but are used to mark where enforced lifecycle mediation is missing today. OpenFang's cross-lifecycle is ◦; the authors' reason is that its taint, audit, and capability gating are composed only within the runtime and do not extend to externally connected agents.
Authors' Reading of Implementation Forms
- What is measured is documentation and repositories, not reproduction: §6.1.2 distinguishes deployments by source code and public documentation. The authors state that AIOS has no authenticated middleware; OpenFang enforces mediation for hosted agents, while the models, memory, and tools of external A2A are outside the perimeter; SmythOS's ACL can be bypassed by code that obtains the connector object; Letta's service boundary does not add information-flow constraints to memory entries.
- AGT: The authors state the core policy engine is an in-process library, and a compromised agent or code with interpreter access could modify policies, skip hooks, or call tools directly. AgentMesh is written as out-of-process SPIFFE/SVID, hence cryptographic identity is •, cross-organization attestation is ◦, and multi-source provenance is —.
- Sandbox row: nono's syscall sandbox is •, and semantic-to-syscall is —. The authors state the sandbox provides non-bypassability but no intent awareness, while guardrails are the opposite; AgentKernel's two-stage protocol connects the two. This is an architectural claim; the paper reports no corresponding measurements.
Trade-offs in the Security Argument
- Property 5.1: The authors state that capabilities monotonically shrink along the delegation chain, and a single-stage policy cannot exceed the previously signed envelope. This is used to support cross-organization delegation; the paper reports no delegation experiments.
- Entry-level vs. session-level: The authors state that session-level taint has no such false negatives, but one untrusted excerpt contaminates the entire session, making information-flow control unusable for interactive agents. Entry-level trades segmentation accuracy for usability, and the authors state that even with cognitively underestimated labels, the E2–E3 allowlist remains constrained by Smax and the manifest.
- Mechanism independence is not outcome independence: §5.3 states that upstream identity or segmentation failure can make the downstream allowlist too permissive. Figure 3 states that compromise does not cascade; the text limits the guarantee to per-layer review, not mutually unaffected outcomes.
Other Ablations and Analyses
- The paper reports no ablations, parameter sweeps, query counts, or repetition counts.
- Utility loss threshold λ, delegation depth cap: the paper only says configurable or not exceeding λ, with no values given.
- P2 and E1: the paper describes them as sub-millisecond and deterministic; no distribution or load is reported.
- §7.4 items pending testing are not results: latency distribution of eBPF probe install/teardown under concurrency, lattice search over millions of provenance-bearing entries, taint fidelity under adversarial fuzzy segmentation, and cross-domain semantic firewall calibration.
- The paper reports no measured samples of failure cases. The negative content is architectural residual risk, see §5.5, not experimental negative results.
What are some points that can be further explored?
The authors list taint segmentation, GAR, eBPF portability, and the absence of empirical characterization as open problems.
Limitations and Future Directions Noted by the Authors
- Taint segmentation: If adversarial content blurs the boundary between trusted and untrusted fragments, entry-level labels may underestimate true taint. The authors state that robust segmentation remains an open problem (§5.5, §7).
- Classifiers: P3 trades off false positives and false negatives; the authors state that an adversary who understands the decision boundary can construct blind spots; P1–P4 reduce but do not eliminate this risk (§5.5). §7.4 further states that the adversarial robustness of P3 and E2 has not yet been characterized on agent-safety workloads, and the defense-in-depth argument cannot remove the risk of classifier compromise propagating across pillars.
- Root of trust and TCB: Compromise of the GAR signing key is treated by the authors as invalidating the identity pillar; cross-GAR federation is listed as future work and would introduce cross-certification issues (§5.5, §7.5). The authors state the combined TCB is large and spans implementation domains and has not yet been minimized (§7.4).
- Non-bypassability and portability: The three adapters as the only path is written as a deployment responsibility; guaranteeing this in heterogeneous environments is an operational challenge (§5.5, §7.4). E2 depends on eBPF, which the authors state is Linux-native with limited availability on macOS and Windows, requiring alternative backends with equivalent non-bypassability (§5.5, §7).
- Verification and measurement: Invariants are enforced by construction but not mechanically verified; formal proofs are deferred by the authors to a companion paper (§5.5, §7). §7.4 states that performance and safety characterization under real workloads is not yet complete, listing eBPF latency, lattice search over millions of entries, and end-to-end posture under adversarial stress.
- Policy and scope: The authors state the paper does not address who writes Smax, how tool manifests are checked against implementations, or how cross-organization policy conflicts are resolved (§7.4). The four pillars are described as suited to interactive, tool-using agents with persistent memory; purely reactive agents, populations with emergent rather than hierarchical delegation, and those without persistent memory may not need all pillars, and the minimal configuration is an open question (§7.1).
Experimental Coverage
- The system comparison is Table 3, listing AgentKernel, AGT, AIOS, OpenFang, SmythOS, Letta, and nono; orchestration frameworks are discussed in §6.1.1, and the authors state they are excluded from the table.
- The ratings are described as qualitative author judgments of public documentation and open-source repositories as of May 2026; the paper reports no independent audit or reproduction experiments.
- Security properties are stated in §5 and Table 2, including Properties 5.1 and 5.2; the paper reports no mechanical proofs, adversarial evaluation numbers, tested models, or sample sizes.
- §6.1.2 distinguishes AIOS, OpenFang, SmythOS, and Letta by deployment form: security mechanisms are either enforced only for hosted agents or optional. AgentKernel's deployment form is described as secondary, and non-bypassability of the three adapters is written as an invariant.
- The execution substrate written in the paper is eBPF, process-tree monitoring, and allowlists; perception is P1–P4; cognition is entry-level lattice taint. The paper reports no query counts, latency, or utility numbers for these mechanisms.
Summarize the main content of the paper
AgentKernel is a four-pillar agent OS design; the security argument is not accompanied by measured numbers.
AgentKernel is an agent OS architecture that makes security an organizing principle, not an attack-defense evaluation with scores.
- Problem: Long-horizon sessions connect untrusted inputs, privileged instructions, persistent memory, and tool side effects. The authors argue that orchestration frameworks, runtimes, governance platforms, and sandboxes each cover one segment, and are often in-process with the agent or optional.
- Approach: The reference monitor sits outside the LLM context. GAR uses Ed25519 to issue AICs binding developers, code artifacts, operators, and deployment context, with the private key remaining in the local kernel. Inputs pass through four levels of perception; memory propagates taint per entry on a lattice and is private by default; tool permissions take the intersection and are constrained by eBPF on the process tree, then checked against the plan and trajectory. Applications connect only through three adapters: LLM, tools, and storage.
- Comparison: The paper has no ASR, latency, or utility numbers. In Table 3, the three rows for multi-source provenance, source-aware retrieval, and semantic-to-syscall are • only for AgentKernel, with — for all other baselines. On the same table, AGT's cryptographic identity, nono's syscall sandbox, Letta's memory management, AIOS's scheduling, and OpenFang and SmythOS's tool orchestration each have •. The authors state the symbols are qualitative judgments based on documents dated May 2026, and the AgentKernel column is a design self-assessment.
- Argument: The authors claim that capabilities can only shrink along the delegation chain, and that the syscall limits of a tool and its descendants are constrained to an allowlist computed at the semantic layer; they do not claim the four pillars are fully independent in outcome.
- Conclusion: The authors argue that non-bypassable structural security can simultaneously relax delegable inputs, memory, and tools, and that AgentKernel should sit beneath existing harnesses rather than replace them. The authors also state that formal verification and real-workload characterization are not yet complete.