Agent OS: The Shift Toward Agent-Centric Operating Systems

    This article explains why interaction with computing systems is moving from graphical, interface-driven workflows to intent-driven execution, and how Agent OS formalizes that shift. It breaks the architecture into five layers—intent, planning, execution, observability, and governance—and highlights four capabilities that define the experience ceiling: full execution traces, portable and resumable sessions, specialized sub-agents, and hybrid execution that combines tool calls with interface automation. It also covers where the economic benefits come from, a low-risk adoption path, and three common pitfalls to avoid. The goal is a practical reference for developers building observable, governable, and rollback-capable agent runtimes.

    1. From Interface-Driven to Intent-Driven: The Problem Agent OS Addresses

    For decades, human interaction with computing systems has relied primarily on graphical interfaces. Users translate intent into precise sequences of operations through windows, menus, buttons, and forms. This model assumes that the user understands the system’s internal structure and can convert a goal into an action sequence. As software complexity grows, that assumption is breaking down: systems are becoming more capable, but the operational surface exposed to users is becoming increasingly fragmented.

    Agent OS does not reject the interface. Instead, it proposes a new way of layering: decouple intent expression from execution implementation. The user only describes the goal, while the agent handles planning, tool invocation, result verification, and requests confirmation when necessary. The interface shifts from being an operation entry point to a status dashboard and supervision panel.

    The feasibility of this shift comes from three areas maturing at the same time:

    • Improvements in model capability have significantly increased the stability of multi-step reasoning and tool calls.
    • Engineering maturity of execution frameworks (harnesses) gives agents controllable runtime sandboxes, permission boundaries, and trace recording.
    • Observability of the execution process turns “black-box execution” into a “reviewable process,” which is a prerequisite for enterprise acceptance.

    2. The Agent OS Capability Stack: A Practical Layered Reference

    To avoid empty abstraction, Agent OS can be broken into five layers. Each layer can evolve independently, and the return on investment of each can be evaluated independently.

    1. Intent layer: natural language, structured instructions, and hybrid expressions. The key design principle is “clarification-friendly”—when an instruction is ambiguous, the system should ask rather than guess.
    2. Planning layer: task decomposition, dependency ordering, and failure fallback strategies. Mature implementations typically use a two-phase pattern of “produce a plan first, then execute step by step,” which makes early human correction easier.
    3. Execution layer: tool sets for file read/write, command execution, API calls, and interface operations. This layer must default to least privilege and require secondary confirmation for high-risk actions.
    4. Observability layer: record the input, output, latency, and state changes of every step to form a replayable trace. This is the dividing line between “usable” and “trustworthy enough to rely on.”
    5. Governance layer: auditing, quotas, cost allocation, sensitive-data masking, and policy checks determine whether the system can enter production.

    A simplified execution loop can be illustrated as follows:

    1. def run(task, ctx):
    2. plan = planner.decompose(task) # Planning: produce a reviewable plan first
    3. for step in plan:
    4. if step.risk >= ctx.risk_threshold:
    5. if not ctx.approve(step): # Governance: human confirmation for high-risk actions
    6. return report("blocked", step)
    7. result = executor.invoke(step, ctx) # Execution: run inside a least-privilege sandbox
    8. tracer.record(step, result) # Observability: persist the full trace
    9. if not verifier.check(result):
    10. plan = planner.replan(task, result) # Fallback and replanning
    11. return report("done", tracer.summary())

    3. Four Capabilities That Define the Experience Ceiling

    3.1 Full Execution Trace Visibility

    Traditional tools only present the final result, leaving users unable to tell whether a failure came from understanding, planning, or execution. A complete trace turns the process into a reviewable object: which step read the wrong file, which command returned a non-zero exit code, and which assumption did not hold can all be located. For enterprises, the trace is both audit evidence and optimization data, and its value often exceeds the output of the single task itself.

    3.2 Portable and Resumable Sessions

    Cross-tool and cross-device collaboration only works when task context can be fully exported, referenced, and restored. This reduces reliance on “automatically summarizing context”—summarization is lossy compression, whereas directly migrating a session is nearly lossless. Engineering practice requires clear session boundaries, lifecycle, and storage location to avoid unbounded context growth.

    3.3 Sub-Agents and Role Specialization

    Splitting complex tasks among specialized sub-agents (such as retrieval, coding, verification, and review) can significantly reduce noise in the main context. There are three design points: single responsibility, clear interfaces, and verifiable results. Sub-agents should not share their full history; they should pass only conclusions and necessary evidence, otherwise context costs will quickly spiral out of control.

    3.4 Hybrid Execution of Interface Operations and Tool Calls

    Not all systems provide APIs. When the target application lacks a programmable entry point, simulated operations based on interface elements become a fallback. Its value lies in coverage, and its cost is fragility: a UI redesign breaks it. A reasonable strategy is therefore “API first, interface as fallback,” with stricter confirmation and more complete recording for interface-based paths.

    4. Where the Economic Benefits Come From

    The gains from agent-centric workflows do not come from “replacing people,” but from three structural improvements:

    • Lower context loss: tasks no longer need to be restated repeatedly across multiple tools and sessions.
    • Verification cost shifts earlier: corrections can be made at the planning stage, avoiding full rework after a long execution chain.
    • Knowledge assets accumulate: traces and sub-agent configurations themselves become reusable assets that new team members can inherit directly.

    Conversely, if a team continues to invest most of its resources in a “prettier interface layer” while the underlying layer lacks observable and governable execution capability, the return on investment will keep getting worse. The interface is an easily copied shell; execution and governance are the barriers that are hard to catch up on.

    5. Adoption Advice: Start with Low-Risk Scenarios

    1. Choose the scenario: prioritize read-only, rollback-friendly tasks with easily verifiable results, such as log inspection, document organization, and test generation.
    2. Define boundaries: specify the allowed tool list, data egress rules, and the list of high-risk actions.
    3. Build observability: have traces first, then talk about optimization; agent improvements without data are guesses.
    4. Control cost: set step and call quotas for each task type to avoid runaway long chains.
    5. Grant autonomy gradually: move from “suggest + human execution” to “execute + human confirmation,” and then to “limited autonomy.”

    On the infrastructure side, general-purpose capabilities are already sufficient: container platforms provide isolated runtime environments, object storage holds traces and artifacts, message queues decouple long-running tasks, and logging services plus monitoring and alerting handle observability. Baidu AI Cloud offers corresponding capabilities in these general categories and can serve as one of the foundation options for building your own agent runtime.

    6. Three Pitfalls to Watch Out For

    • Over-autonomy: granting autonomy on systems without rollback mechanisms amplifies failures at execution speed.
    • Context bloat: history that is not trimmed pushes up both cost and error rate at the same time.
    • Missing metrics: looking only at task completion rate while ignoring human intervention rate and rework rate masks the real benefits.

    The essence of Agent OS is to refactor the operating system from a “human-facing operation surface” into an “agent-facing execution surface.” It will not replace existing interfaces overnight, but it will keep eroding scenarios that “can only be completed by humans clicking step by step.” For developers, the most worthwhile investment now is not another interface layer, but an observable, governable, and rollback-capable execution foundation.