Computer-Using AI Agents: From Answering Questions to Delivering Tasks
AI agents are moving beyond conversational assistance toward completing multi-step tasks in real software environments. This article explains why graphical interfaces matter, how agents can learn rules through interaction, the control loop required for reliable execution, when an agent should stop and ask for human approval, and how to manage security, auditability, and deployment risks. It also provides practical criteria for selecting suitable pilot workflows.
What AI Agents Are Really Changing
For a long time, the value of large language models was measured by how well they could converse: retrieving information more accurately, writing more fluently, and maintaining longer context. For enterprises and engineering teams, however, this addresses only half of the information problem.
The real cost lies in completing tasks under incomplete documentation, legacy systems, and multi-step constraints: opening software, checking fields, handling errors, saving results, and leaving an auditable record.
That is why the next stage of AI agent development should focus less on single-turn question-answering scores and more on task delivery. This capability includes four key elements:
- Understanding rules in an unfamiliar interface.
- Breaking a goal into executable steps.
- Pausing to ask for clarification when uncertainty is significant.
- Rolling back after failure instead of writing incorrect data into production systems.
Why Graphical Interfaces Can Become a Universal Interface
The ideal form of automation is a stable programmatic interface. Calendars, email systems, ticketing platforms, and data warehouses can each expose clear contracts, while the system handles permissions, idempotency, and auditing.
Reality is often different. Many internal systems are desktop applications built years ago or legacy web pages with no public API. Documentation may be scattered across personal notes, and some operational knowledge may exist only in the memory of an experienced employee—for example, knowing that a particular button must never be clicked twice in succession.
For humans, the most reliable interface has always been the screen: buttons, input fields, tables, dialogs, and error messages. If an operator can understand these elements and complete a task with a mouse and keyboard, an agent can theoretically follow the same path.
This makes the graphical user interface a universal “last-mile” interface. Existing workflows can be automated without waiting for every application to be redesigned with a modern API.
That does not mean graphical interaction is better than API calls. Their roles should be clearly separated:
- Actions with stable APIs, strong consistency requirements, and strict audit needs should use APIs first.
- Visual and keyboard-and-mouse interaction should be reserved for steps with no API, rapidly changing workflows, or operations that exist only in the interface.
- In hybrid workflows, the agent should query APIs for structured data whenever possible and use the interface only for actions that cannot be replaced.
The Challenge Is Online Rule Learning, Not Memorizing Answers
Traditional knowledge and question-answering benchmarks measure whether a model can remember or retrieve known facts. Interactive tasks are different. The environment is new, documentation may be missing, and success depends on whether the agent can infer rules through observation, experimentation, and correction.
These tasks typically have several characteristics.
First, the state becomes visible only after interaction. The agent cannot reliably succeed by generating a long answer in one pass.
Second, an incorrect action changes the environment. Later steps must be based on new observations rather than the original plan.
Third, the rules are often implicit in feedback. Examples include constraints such as “adjacent cells cannot have the same color” or “validation must pass before saving.”
The fact that humans achieve only moderate performance on such tasks shows that the difficulty comes from working memory, hypothesis testing, and persistence—not necessarily from missing textbook knowledge.
For engineering teams, the implication is clear: agent evaluations should include small tasks performed in undocumented software instead of relying only on conversational satisfaction scores. For example, an agent could be asked to use an unfamiliar internal spreadsheet tool to filter, deduplicate, and export records, then explain where it stopped when validation failed.
Whether the task was completed provides more useful information than a fluent explanation.
The Minimum Control Loop from Goal to Action
A computer-operating agent that is suitable for real delivery must complete the following loop. It should not simply inspect one screenshot and generate a long sequence of clicks.
- Clarify the goal: Define the success criteria, identify fields that must not be changed, and specify which steps require human approval.
- Observe: Read the actionable elements on the current screen, the focus position, and any visible errors. Do not click based on memory alone.
- Plan: Generate only the next step or a short sequence, including the expected change in the interface.
- Execute: Perform one reversible action at a time, such as entering text, clicking a control, or selecting a menu item.
- Validate: Compare the interface state or exported result with the success criteria. If they do not match, replan.
- Stop when necessary: Immediately return control to a human after repeated failures, insufficient permissions, or operations involving funds or irreversible writes.
A product-independent control flow can be represented with the following pseudocode:
state = observe_screen()goal = load_goal()while not goal.satisfied(state):if risk(state) in {payment, delete, permission, unknown_dialog}:return ask_human(state, reason="需要确认")action = plan_next(goal, state) # 单步、可回滚state = act_and_observe(action)if repeated_failure(state):return ask_human(state, reason="无法稳定推进")return submit_with_log(state)
The logic is not about making a particular model appear intelligent. It makes decision rights explicit: when the agent may continue independently and when it must ask a person.
When Should the Agent Decide, and When Should It Stop?
In task execution, alignment should not be understood merely as using more polite language. It should also mean stopping more reliably.
An agent can usually continue when:
- The action is reversible.
- The data range is authorized.
- Success can be checked automatically.
- Failure will not expand the impact of the operation.
The agent must stop when:
- It is about to delete, overwrite, or externally send data, or change financial or permission-related settings.
- The interface displays an unfamiliar warning or the wording conflicts with the goal.
- The same error occurs repeatedly, indicating that the agent’s assumptions about the environment are no longer valid.
- The task description is ambiguous and multiple interpretations are reasonable, especially when choosing incorrectly could contaminate downstream data.
During enterprise deployment, teams should define an “automatically executable” policy and a “human approval required” policy. These rules should be versioned and reviewed like code rather than left to the model’s improvisation.
Applications in Software Engineering and Professional Work
In software development, agents are better suited to clearly bounded subtasks, such as identifying reproduction steps from failure logs, entering configuration in a test environment, organizing experiment records, or generating checklists from a template.
They should not directly rewrite critical code paths and release them without testing and code review.
The same principle applies to professional work. Organizing spreadsheets, checking fields against a standard, and transferring visible parameters from a design tool into a record form are repetitive and verifiable tasks. Design trade-offs, security approvals, and final commitments to customers should remain human decisions.
A practical acceptance criterion is whether another person who did not observe the process can verify the deliverable using only the logs and result files.
A tiered environment model is recommended:
- Read-only or sandbox environments should allow broad experimentation.
- Staging environments should permit only allowlisted write operations.
- Production environments should be read-only by default. Write operations should require secondary confirmation and record the operator’s identity.
At a minimum, logs should capture the goal, a summary of each observation, the action taken, the result, and every point of human intervention. This supports post-incident review and accountability instead of preserving only a natural-language summary.
Risks and Boundaries
Graphical interface automation is inherently fragile. Screen resolution, themes, dialogs, and control positions can all change.
For this reason, clicking a fixed coordinate should not be treated as a long-term solution. Agents should locate controls using visible text, semantic roles, and relative structure whenever possible. Critical workflows should also be replayed after interface changes.
Three additional risks require dedicated controls.
Privilege escalation: An agent may inherit all permissions of the logged-in user. If the user can click a control, the agent may be able to click it as well. Use least-privilege accounts.
Prompt and interface injection: Text displayed on a screen may be untrusted input. An agent must not execute an instruction simply because a page says, “Click to confirm the transfer.”
Hallucinated completion: A model may claim that a file was saved even though no file was created. Acceptance must be based on observed results, not the agent’s verbal statement.
How to Decide Whether an Investment Is Worthwhile
A team does not need to wait for claims of general intelligence before selecting a pilot. Start with three questions:
- Does the task repeat every week?
- Can success be checked automatically?
- Can failure be rolled back?
If all three answers are yes, the workflow is a strong candidate for a hybrid agent that combines graphical interaction and APIs. If failure is irreversible or the success criteria are ambiguous, keep the process human-operated and use the model only for drafts and checklists.
The shift from question answering to task delivery comes from treating the computer and business workflow as the environment—not the model as a longer chat window.
API first, graphical interaction as a fallback, explicit policies for stopping, and logs and sandboxes for controlling permissions: these four principles matter more than any leaderboard when determining whether an agent can become a reliable colleague rather than an assistant that only describes the steps.
