菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-06-02
📄 Abstract - Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents

Large language model (LLM) agents are evolving from request-response assistants into long-running software actors: they maintain state across model calls, fork subtasks, wait for external events, request human authority, generate tools, and perform side effects that must be resumed and audited. This paper presents Agent libOS, a library-OS-inspired runtime substrate for LLM agents. Agent libOS runs above a conventional host operating system; it does not implement hardware drivers, kernel-mode isolation, or a POSIX-compatible operating system. Instead, it treats an agent as an AgentProcess: a schedulable execution subject with process identity, parent-child lineage, lifecycle state, a tool table derived from an AgentImage, typed Object Memory, explicit capabilities, human queues, checkpoints, events, and audit records. Its central design rule is tools are libc-like wrappers; runtime primitives are the authority boundary. Filesystem access, object access, sleeps, human approval, JIT tool registration, and external side effects are checked at primitive boundaries under explicit capabilities and policy. We describe the design, threat model, Python prototype, and safety-oriented evaluation. The current prototype implements async scheduling, namespace-local Object Memory, runtime-integrated human approval, one-shot permission grants, per-process working directories, shell and image-registration primitives, Deno/TypeScript JIT tools over a libOS syscall broker, filesystem/object bridge tools, an injectable Resource Provider Substrate, deterministic demos, real-model smoke scripts, and 123 regression tests at the time of writing. Rather than improving planner accuracy, Agent libOS demonstrates a runtime substrate in which long-running LLM agents can be scheduled, authorized, resumed, and audited without treating tool dispatch as the trust boundary.

顶级标签: llm agents systems
详细标签: runtime substrate long-running agents capability control audit state management 或 搜索:

Agent libOS:面向长期运行、能力可控的LLM代理的类库操作系统运行时 / Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents


1️⃣ 一句话总结

本文提出了Agent libOS,一个受库操作系统启发的运行时框架,它将大语言模型代理视为可调度、可审计的长期运行进程,通过明确的权限边界和类似libc的工具封装,实现了对代理状态、资源访问、人工授权及工具注册的精细控制,从而解决了传统方式中将工具调用本身作为信任边界的安全与可管理性问题。

源自 arXiv: 2606.03895