TL;DR
Today's compound AI and multi-agent systems are highly fragmented, with every framework reinventing the wheel to manage state, memory, and guardrails. This position paper proposes a Foundation Model Operating System (FMOS) that virtualizes physical models into a stable "Virtual Foundation Model" (VFM) interface. By shifting resource allocation, context management, and safety checks into a self-evolving system layer, FMOS enables portable, optimized, and governable AI applications.
What Problem Does This Paper Address?
AI applications are rapidly shifting from single monolithic models to compound agentic systems where multiple models and tools cooperate. However, the supporting software stack remains deeply fractured. Adopting an orchestration framework (like AutoGen or LangChain) currently means inheriting a bespoke, framework-specific runtime that dictates how prompts are assembled, how state is saved, and how budgets are tracked.
The authors compare this to the "pre-operating system" era of computing, where every computer program had to manually implement its own basic hardware interactions and drivers. While recent connectivity protocols like the Model Context Protocol (MCP) standardize how agents talk to tools, they do not define execution semantics. Without a unified system layer, improvements cannot propagate across applications, behavior remains non-portable, and global enterprise governance (safety, cost, and resource limits) is incredibly difficult to enforce.
Methods
The paper introduces an architectural blueprint for an Foundation Model Operating System (FMOS) designed to sit between agent frameworks and physical foundation models (pFMs).
Key components of the proposed architecture include:
- Virtual Foundation Models (VFMs): The core abstraction exposed to applications. A VFM gives the application the illusion of a dedicated, trustworthy model instance with effectively unbounded context and capabilities.
- Fast Path vs. Slow Path (Traps): By default, requests execute on a lightweight, low-latency "fast path." When specific conditions are met—such as high model uncertainty, budget pressure, or safety risks—the FMOS triggers a learned "trap" (analogous to hardware traps in traditional OSs). This diverts execution to a deliberative "slow path" for targeted knowledge retrieval, model routing, or deep verification.
- Three Cooperating Subsystems:
- Data Agent: Manages a content-aware memory hierarchy (prompt context, vector databases, files) and handles context-management policies like adaptive skill unloading or tool-output offloading.
- FM Composition Optimizer: Dynamically schedules, routes, and composes physical models at runtime based on quality-latency-cost trade-offs.
- Trust & Reasoning Agent: Controls reasoning depth and enforces safety guardrails and escalation paths.
- Self-Evolution: Unlike traditional virtualization which prioritizes exact hardware fidelity, FMOS focuses on progressive quality gain. It continuously analyzes interaction traces to update prompts, memory tiers, and routing rules without needing to retrain the underlying physical models.
Datasets
To evaluate their ideas around reasoning control, the authors conducted a case study using $\tau$-bench (Retail), a benchmark designed to evaluate tool-agent-user interactions in real-world domains. They tested four prominent models under varying reasoning budgets: Qwen3-235B-A22B, Gemini 2.5 Flash Preview, Claude 3.7 Sonnet, and o4-mini.
Key Insights and Ideas
- The Virtualization Shift: Traditional OS virtualization hides hardware details to maintain equivalence. FMOS virtualization abstracts higher-level capabilities (knowledge, models, reasoning) to enable system-level self-evolution.
- The Danger of "Overthinking": More compute at inference time isn't always better. Uncontrolled reasoning can lead to a performance drop, highlighting the need for an OS-level "reasoning knob" (
set_reasoning_level()) to optimize token budgets dynamically. - Co-evolution via Centralization: By pooling interaction traces across multiple applications, the FMOS control plane learns optimal policies (e.g., when to retrieve data or switch models) much faster than an isolated application could on its own.
Key Results
Using the $\tau$-bench benchmark, the authors highlighted the critical need for an OS-level reasoning coordinator by showing how easily models can misbehave without it:
- Moderate deliberation helps: Moving from "no-thinking" to a modest reasoning budget gave Gemini 2.5 Flash a significant reliability boost, raising its success rate from 0.49 to 0.61 Pass^1 (using a 4096-token budget).
- Excessive reasoning hurts: Increasing Gemini 2.5 Flash's reasoning budget further to 16,384 tokens actually lowered its success rate to 0.57, despite quadrupling token usage.
- The Overthinking Penalty: Qwen3-235B-A22B, which lacks fine-grained reasoning controls, suffered from severe overthinking when its reasoning mode was enabled, causing its success rate to drop from 48.3% to 43.1%.
Limitations and Future Work
As a position paper, the primary limitation is that a fully realized, universally compatible FMOS does not yet exist. The authors outline several open challenges for future work:
- Defining "Privileged" Operations: Unlike fixed hardware instruction sets (ISAs), defining what constitutes a "sensitive" or "privileged" operation in natural language processing is highly complex and must be learned adaptively in context.
- Ecosystem Alignment: Realizing this vision requires broad collaboration across the ML and systems communities to standardize VFM abstractions, lifecycle controls, and isolation semantics.
- New Benchmarking Paradigms: The community needs to move beyond evaluating simple task accuracy and develop system-level benchmarks that measure context efficiency, knowledge reuse, and robustness under changing system policies.
Summary updated