Agent Operating System Prototypes: From Tool Calls to Workflow Redesign
This article examines the agent operating system, an architecture in which an AI agent serves as the main entry point for tasks and a runtime framework manages execution. It explains why model capability alone is not enough, and covers the practices that make agent-driven work observable, resumable, safe to run on interfaces and remote environments, and suitable for phased enterprise adoption.
1. The Agent Operating System: The Change Happens at the Task Entry, Not the Kernel
Traditional software organizes functions around the user interface. Users find menus, fill in forms, switch between pages, and combine the outputs of different tools into a business process. Even when each application is mature, planning, coordinating, and verifying work across applications is often still done by people.
An agent-centered workflow aims to change this division of labor. The user first describes the goal, constraints, and acceptance criteria. The system then breaks the goal into steps, calls tools to carry them out, adjusts the plan based on feedback, and asks for human confirmation when necessary.
This article uses the term “agent operating system” for an architecture in which an agent is the primary entry point for tasks and a runtime framework carries out the execution.
This is not yet a uniformly defined technical standard, and it does not mean that agents replace the kernel of a traditional operating system. It is closer to a task control layer that sits above infrastructure and below applications. Upward, it interprets user intent. Downward, it coordinates files, programs, services, and user interfaces. It also manages task state and execution permissions.
Whether this approach has practical value cannot be judged only by whether it can generate code or operate a page. The question is whether it can move a goal forward to completion in a way that is continuous, reliable, and auditable.
2. Why Model Capability Alone Is Not Enough
A model is responsible for understanding information, proposing plans, and generating actions. However, a real business environment is not a single question and answer exchange.
For example, “fix a defect and verify the result” may involve reading requirements, locating code, modifying files, running tests, analyzing failures, making further changes, and submitting the changes. Along the way, the process may encounter connection interruptions, insufficient permissions, missing dependencies, and vague acceptance criteria.
These problems cannot be solved by better text generation alone. They require a runtime framework, often called the harness, that manages the full task lifecycle.
The overall architecture can be summarized as follows:
User goals and constraints
↓
Task planning and execution strategy
↓
Runtime framework: state, permissions, scheduling, auditing, recovery
↓
Tool execution: files, programs, service interfaces, graphical interfaces
↓
Environment feedback and result verification
↓
Continue execution, request confirmation, or end the task
In this design, the model should not have unrestricted control over the environment. The model proposes actions. The framework checks permissions and inputs. The executor carries out the operations. The verification step decides whether the result meets the requirements. High-risk actions must also go through human approval.
Therefore, the maturity of an agent system depends on the combined performance of the model, the runtime framework, the quality of the tools, and the governance mechanisms. It does not depend on how well a single model performs on an isolated task.
3. Execution Observability: Making the Task Process Inspectable
When an agent executes a task, the most common problem users face is not a lack of answers. It is that they do not know what the agent is doing, and they cannot tell whether the result is trustworthy.
A reliable system needs to provide an inspectable execution trace. At minimum, it should record the following:
- The current task goal, constraints, and acceptance criteria.
- Changes to the plan, along with the public evidence behind them.
- The tools that were called and the inputs used, with sensitive data redacted.
- The results the tools returned and any errors that occurred.
- The files, configurations, or external resources that were modified.
- The verifications the task finally passed, and the uncertainties that remain.
Transparency here does not mean showing all of the model’s internal reasoning. What engineering needs is a verifiable record of operations, a necessary summary of decisions, and evidence of results. Unverifiable internal reasoning text does not serve that purpose.
The logs themselves can also become a source of risk. Access credentials, personal information, business secrets, and sensitive file contents should not enter the execution trace without processing. Observability must be designed together with data redaction, tiered access control, and retention policies.
One important practice is to distinguish between “the action succeeded” and “the goal was achieved.” A successful file write only shows that the executor completed one write operation. A passing test only shows that no problems were found within the scope of that test. The final conclusion must state the scope of its evidence. A local success should not be presented as overall correctness.
4. Session Resumption: From Chat History to Persistent Task State
Long tasks do not fit well with relying entirely on chat context. Conversations grow longer, a model can only process a limited amount of information, people may hand work over to one another, and the execution environment may be interrupted. If resumption depends only on an automatic summary, key constraints and execution details are easily lost.
A more reliable approach is to store task state independently. This state should include:
- The original goal, scope boundaries, and acceptance conditions.
- Completed steps, failed steps, and pending items.
- The locations and version information of key artifacts.
- Confirmed facts and assumptions that still need verification.
- The current environment identifier, permission scope, and actions awaiting approval.
- The most recent reliable checkpoint and the conditions for recovery.
A session address or task identifier gives users and systems a stable entry point. However, being able to open the same session does not mean being able to resume the same task.
For example, when a task resumes, the original files may have been changed by someone else, the remote environment may have been rebuilt, and earlier approvals may have expired. Before continuing, the system should validate the state and confirm that the records match the actual environment. Only then should it decide whether to continue, re-plan, or hand the task to a human.
A task reference should also not serve as authorization for access. Even if someone obtains a task address, that person must still pass identity verification and permission checks.
5. Interface Operation: Wider Coverage, New Uncertainty
Many business systems lack complete APIs, or their key processes must be completed through a graphical user interface. By observing the screen, locating controls, entering content, and triggering actions, an agent can bring these systems into automated workflows.
However, a graphical interface is not a naturally stable execution protocol. Window sizes, page load times, pop-ups, focus changes, and changes in control layout can all lead to incorrect operations.
For this reason, a sound order for tool selection is usually as follows. Prefer authorized and stable structured interfaces first. When no interface is available, consider controlled interface operation. Interface automation works best as a supplement to other capabilities, not as the default replacement for every integration method.
A robust operation loop should include the following steps:
Observe the current state → Check the preconditions for the action → Execute the action → Wait for the interface to stabilize → Verify the change in state.
For example, after clicking “Submit,” the system should not declare success just because the button was clicked. It should check whether a valid receipt appeared, whether the record status changed, or whether a verifiable result page is shown.
For high-risk operations such as payments, deletions, external sending, and permission changes, the system should also define clear confirmation boundaries. Where necessary, use a pattern of “the agent prepares, a human confirms, the system executes.” This prevents a single interface recognition error from turning into an irreversible business loss.
6. Remote Execution: Reconnecting Is Not the Same as Recovering the Task
Remote environments provide isolated resources and sustained compute capacity. They also create the problem that the connection state and the execution state can fall out of sync.
The most typical case is this: the client receives no response, and it cannot tell whether the remote operation was never executed or was executed while the return message was lost. Retrying blindly in this situation may create duplicate resources, submit data twice, or send duplicate notifications.
Therefore, a remote execution framework should give priority to the following:
- Querying execution status with an independent task identifier.
- Decoupling the execution lifecycle from the front-end connection lifecycle, as appropriate.
- Designing idempotency mechanisms or deduplication checks for operations that can be retried.
- Saving checkpoints and intermediate artifacts for long tasks.
- Setting up timeout, cancellation, and resource reclamation mechanisms.
- Rechecking the environment and task state after reconnecting.
It is especially important to distinguish communication failure from business failure. The former means the result was not reliably obtained. Only the latter means that the operation clearly did not reach the expected outcome. The two call for different recovery strategies.
For actions that cannot be safely retried, query the actual result first instead of executing the action again.
7. Sub-Agent Collaboration: The Core Is Clear Division of Labor, Not Adding More Agents
A complex task can be split among different sub-agents. For example, different roles might handle requirement clarification, implementation, testing, and result review separately. However, adding more participants does not necessarily improve efficiency.
If several sub-agents modify the same file at the same time, or if each advances its work based on different assumptions, the coordination cost may outweigh the benefits of parallel work.
Effective collaboration first requires a clear task contract, which should specify:
- The inputs, and which background information must be shared.
- The tools that may be used, and where the permission boundaries lie.
- The deliverables, and the acceptance criteria they must meet.
- Whether shared resources may be modified.
- Who makes the final decision when conflicts arise.
- The conditions under which work must stop and be escalated.
Tasks suited to parallel execution usually have clear boundaries, few shared write targets, and results that can be checked independently. For highly coupled changes, serial execution or coordination by a single responsible party is usually more reliable.
In addition, another agent’s approval should not be treated as sufficient verification. Different roles may repeat similar mistakes. For critical results, combine automated tests, rule-based checks, independent data checks, and human spot checks to build multiple sources of evidence.
8. Enterprise Adoption: Redesign One Workflow Before Discussing Full Replacement
The value of an agent workflow should ultimately show up in delivery quality, staffing effort, and risk levels. It should not be measured by how many operations a demo can complete.
Enterprises can move forward in three stages.
Stage 1: Choose Low-Risk, Verifiable Tasks
Give priority to work with relatively clear inputs, results that are easy to check, and errors with controllable impact. Examples include organizing materials, running tests, drafting internal reports, and troubleshooting problems in restricted environments.
The goal of this stage is to determine whether a task suits an agent. It is not to pursue unattended operation.
Stage 2: Build a Controlled Execution Loop
Add task state storage, tool permissions, audit logs, human confirmation, and result verification to the workflow. Move the agent from “giving suggestions” to “executing within constraints,” while keeping a clear path for human takeover.
Pay particular attention to what happens when a failure occurs. Check whether the system can stop, whether it preserves the state at the time of failure, whether it can roll back, and who is responsible for handling exceptions.
Stage 3: Expand Scope After Sufficient Evidence
Increase the share of automation step by step, and only after a given type of task performs consistently on a representative sample and the exception handling mechanism has been tested. For operations involving funds, production environments, and sensitive data, apply stricter evaluation and approval requirements.
Keep tracking the task completion rate, the rate of human intervention, the rework rate, average delivery time, resource consumption, and the number of high-risk errors. Track results separately for tasks of different difficulty levels. Otherwise, a high average score driven by simple tasks can be misleading.
Actual returns should not be calculated based only on model call costs. Consider the full picture:
Net benefit = savings in labor and waiting costs + value of quality improvement − execution resource costs − integration and maintenance costs − review and rework costs − risk handling costs.
9. Interfaces Will Not Disappear, but Their Responsibilities Will Change
An agent-centered design does not mean that user interfaces lose their value.
Natural language and automatic planning have advantages in expressing goals, running work in batches, and coordinating across systems. Graphical interfaces remain important for browsing complex information, making detailed comparisons, understanding spatial layouts, and confirming high-risk actions.
A more reasonable division of labor may be that agents handle cross-step execution, while interfaces handle status display, key decisions, permission confirmation, and exception takeover.
For this reason, teams should not simply stop building interfaces. They should instead reconsider what each interface is for. Rather than adding more entry points that only people can click through by hand, teams should improve structured operation capabilities, task status displays, and auditable control entry points. This lets both people and agents use the system effectively.
10. Conclusion: The Real Threshold Is Controllable Delivery
Whether “agent operating system” becomes a mainstream term is not the most important question. What deserves attention is that software is shifting from being centered on functional entry points to being centered on goals and tasks.
The key to this shift is not giving models more tools. It is giving task execution clear boundaries, persistent state, verifiable results, and reliable recovery.
When users can see what the system did, why it needs confirmation, how it handles failures, and what the final result is based on, agents have a real chance to grow from occasionally useful assistants into execution infrastructure that can take on everyday work.
