AgentKernel:信任原生的智能体操作系统
研究论文 · 2026/09/25
现代AI代理经常跨越信任边界:它们摄入不可信内容,将其与特权指令结合,将中间信念持久化到长期记忆中,并调用特权工具。这创造了一个攻击面,恶意载荷可以通过模型输入进入并导致有害的工具操作。然而,当前的治理栈仍然是应用级中间件,与其监控的代理共享进程信任边界。我们认为代理需要一个操作系统基板,为身份、输入调解、内存治理和执行控制提供强制性的、不可绕过的服务。我们介绍AgentKernel,一个以信任为本的代理操作系统,其构建前提是安全性必须是一流的设计约束。AgentKernel将代理生命周期包裹在一个强制执行的边界中,该边界组织为四个支柱:身份、感知、认知和执行。每个支柱都适应经典的操作系统安全原则,以应对语义层面的故障,包括委托滥用、提示注入、内存中毒和工具误用。AgentKernel将结构安全性视为能力倍增器。内核管理的身份支持可信的跨组织协作;分级感知取代了脆弱的单点过滤器;信息流控制的内存提高了检索保真度,同时限制了中毒;语义到内核的执行允许在不可绕过的边界后面获得更广泛的工具权限。我们将AgentKernel定位为编排框架、代理运行时、治理平台和执行沙箱之下缺失的操作系统层,并使用系统比较和安全分析来展示一个单一的集成架构如何在完整的代理生命周期中强制执行安全性。
本文提出了一种新的操作系统级安全架构,以解决AI代理在跨信任边界时的安全漏洞,对于构建可信AI系统具有重要参考价值。
Modern AI agents routinely cross trust boundaries: they ingest untrusted content, combine it with privileged instructions, persist intermediate beliefs in long-term memory, and invoke privileged tools. This creates an attack surface in which malicious payloads can enter through model inputs and cause harmful tool actions. Yet current governance stacks remain application-level middleware that share a process trust boundary with the agents they monitor. We argue that agents need an operating-system substrate providing mandatory, non-bypassable services for identity, input mediation, memory governance, and execution control. We introduce AgentKernel, a trust-native agent operating system built around the premise that security must be a first-class design constraint. AgentKernel wraps the agent lifecycle in a mandatory enforcement boundary organized into four pillars: Identity, Perception, Cognition, and Execution. Each pillar adapts classical OS security principles to failures at the semantic plane, including delegation abuse, prompt injection, memory poisoning, and tool misuse. AgentKernel treats structural security as a capability multiplier. Kernel-managed identity supports trustworthy cross-organization collaboration; graduated perception replaces brittle single-point filters; information-flow-controlled memory improves retrieval fidelity while limiting poisoning; and semantic-to-kernel enforcement permits broader tool privileges behind a non-bypassable boundary. We position AgentKernel as the missing OS layer beneath orchestration frameworks, agent runtimes, governance platforms, and execution sandboxes, and use systematic comparison and security analysis to show how a single integrated architecture can enforce security across the full agent lifecycle.