Agent libOS enables scheduling, authorization, and auditing of long-running LLM agents
Their runtime lets LLM agents be scheduled, authorized, resumed, and audited without treating tool dispatch as the trust boundary
Systems arXiv 2 Jun 2026 Method Prototype evidence
Published as “Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents”
Why it matters
Agent libOS offers a concrete, test-validated substrate for building safer, long-running LLM agents with OS-like isolation and audit capabilities.
Summary
Agent libOS provides a library-OS-style runtime that enforces capability-based authority boundaries for long-running LLM agents, separating model-facing tool visibility from actual host resource access. The prototype implements async scheduling, per-process namespaces, human approval queues, and JIT TypeScript tools, and its safety claims are validated by a 123-test regression suite in which all listed properties (e.g., tool visibility not being authority, workspace containment, fork attenuation) pass. The evidence is strong for the enforced safety properties, but the paper does not evaluate task performance, latency, cost, or human workload, so practical impact remains unmeasured.
What they found 5
- Tool visibility is not authority; attempts to write without capability are denied.
“Visible write_text_file without write capability is denied; absent tool-table entry is denied without human escalation.”
- Workspace containment prevents path escape outside the process workspace.
“Paths escaping the workspace root are rejected by the filesystem primitive.”
- Forked children do not inherit parent filesystem write authority.
“Forked children do not inherit parent filesystem write authority; spawned children start with fresh process namespaces and goal-only memory views.”
- Per-use human approval grants are consumed after a single use and require re-approval.
“Per-use approval ask_each_time blocks inside the primitive, grants once, consumes the grant, and prompts again on the next use.”
- TypeScript JIT tools can invoke libos.syscall but cannot bypass capability checks or human approval.
“TypeScript tools can call libos.syscall but cannot bypass primitive capabilities or human approval.”
Caveats 4
- The Deno/TypeScript JIT path avoids default host filesystem, network, environment, subprocess, and FFI permissions, but it is not a formal production sandbox; stronger deployments may still need Docker, WASM, Firecracker-style microVMs, or remote sandboxes [18, 1].
- The policy engine is deliberately small: capability constraints, human permission policies, shell policy lists, and image/namespace rights cover the prototype, while richer policy languages, risk scoring, quotas, role-based human authority, and sensitivity labels remain future work.
- Checkpoints cannot roll back external effects.
- Context management is still preliminary: tool-result compaction, long-document paging, duplicate-action suppression, and retrieval policy are not fully developed.
What’s new here 4
- Introduces a process-like AgentProcess abstraction with explicit capabilities and audit records for LLM agents.
- Treats model-facing tools as libc-style wrappers while making runtime primitives the authority boundary.
- Implements an injectable Resource Provider Substrate allowing filesystem, clock, and shell backends to be swapped without changing tool schemas.
- Provides a deterministic demo and a 123-test regression suite that checks containment, revocation, fork attenuation, and JIT syscall isolation.