From Answers to Actions: Evaluating AI Agent Capabilities and Deploying Them in Production
As large language models move from answering questions to operating software and completing workflows, evaluation must shift from response quality to trustworthy task delivery. This article presents a layered view of agent capability, a four-level evaluation framework, feedback-driven computer use, long-context and reasoning-budget trade-offs, cost per effective delivery, least-privilege and recovery design, a practical execution architecture, and a phased path from pilot to production. It is intended for teams evaluating, building, and deploying execution-oriented AI agents in real business environments.
1. Evaluating LLMs: From Response Quality to Task Delivery
When a large language model begins operating software, processing files, running tests, and adjusting its steps based on errors, the object of evaluation changes. We are no longer judging only whether a response is correct; we are judging whether an execution system can deliver a trustworthy result.
In traditional question-and-answer settings, a human usually checks and implements the model’s output afterward. An execution-oriented agent enters an actual business environment, changes files, submits forms, adjusts configurations, and may even trigger external workflows. Its errors are therefore no longer limited to wording. They can cause data corruption, permission overreach, and business interruption.
This change can be understood by dividing capability into three layers:
- Understanding layer: identify the user’s goal, business rules, input materials, and constraints.
- Decision layer: break the goal into steps, select tools, and decide when to continue, retry, or ask for human help.
- Execution layer: perform actions through software interfaces or graphical interfaces and verify whether the result meets requirements.
The three layers depend on one another. Strong understanding does not mean reliable software operation, and a successfully executed action does not mean the business goal has been achieved. When discussing a new generation of models, the more important question than “Is it smarter?” is whether it can complete tasks continuously at an acceptable cost and within explicit permission boundaries.
2. Aggregate Scores Cannot Replace Real Business Evaluation
2.1 Single-task scores and end-to-end success rates are different metrics
A model may be good at generating code but unable to reliably complete dependency installation, test execution, error troubleshooting, and delivery validation. Another model may produce a less polished single response but be better at using tool feedback to complete the entire workflow.
What enterprises really care about is the end-to-end result. For example, a reporting task cannot be considered successful merely because “a chart was generated.” It is also necessary to confirm that:
- the data comes from a correct and authorized source;
- missing values, duplicate records, and time ranges are handled according to the agreed rules;
- statistical definitions are consistent with business definitions;
- the chart matches the underlying data;
- the output file can be opened, reused, and traced.
Benchmark results are therefore suitable for screening candidate options, not for directly proving production value. In particular, when different evaluations use different tool permissions, execution budgets, and task sets, comparisons of surface-level scores may hide important differences.
2.2 Build a layered evaluation system
Tests should be divided into four layers:
| Evaluation layer | Core question | Main metrics |
|---|---|---|
| Understanding and reasoning | Does the agent correctly interpret requirements and constraints? | Requirement omission rate, factual error rate |
| Tool execution | Does the agent select and use tools correctly? | Valid action rate, parameter error rate |
| End-to-end task | Does the agent deliver a result that meets requirements? | Completion rate, rework rate, human takeover rate |
| Production operation | Is the agent stable and controllable over time? | Latency, cost, permission violations, recovery capability |
The task set should cover both normal and exception paths. For example, the same file-processing task can be tested with complete input, missing fields, no directory permission, unresponsive software, and an output file that already exists.
Evaluation should also record human intervention. If a task appears complete but requires repeated human correction of steps, it cannot be treated as autonomously completed.
3. Computer Operation Depends on a Feedback Loop
3.1 From recognizing the interface to verifying state
Graphical interface operations usually involve four stages: observation, judgment, action, and verification:
obtain current state → determine available actions → execute action → check state change → update plan
A model’s ability to recognize a button is only the starting point. Real software may show loading delays, modal dialogs that block the view, moving windows, and version differences. If an action is executed without verifying the result, subsequent steps may be built on an incorrect state.
For example, after an agent clicks “Save,” it should confirm that the file was created, that the save location is correct, and that the file can be read, rather than inferring task completion from the click alone.
This requires the system to record “the action was issued” separately from “the business effect occurred.”
3.2 API first, graphical operation as fallback
If a business system provides a stable, authorized, and auditable API, interface operations should generally be preferred. Structured input and output are easier to validate and make it easier to control permissions, implement retries, and record audit information.
Graphical interface operations are suitable for steps that have no API, have insufficient API coverage, or require visual inspection. They should not indiscriminately replace existing automation capabilities.
A reasonable combination is:
- read and process data through structured APIs;
- use deterministic programs for calculations and format checks;
- use graphical interfaces only when an interaction step requires them;
- verify final results through independent validation mechanisms.
This division of work reduces the mechanical work assigned to the model and lowers the probability of failure caused by environmental changes.
3.3 A generated file is not a completed professional design
For professional tasks such as circuit design, 3D modeling, data analysis, and legal documents, it is necessary to distinguish “generating an openable file” from “delivering a usable result.”
In circuit design, for example, component placement and wiring are only part of the work. Electrical rules, manufacturing constraints, and actual functionality also need to be checked. A 3D scene may involve scale, materials, collision, asset completeness, and runtime performance. Legal documents also require verification of facts, applicability of clauses, and approval requirements.
Agents can participate in these stages, but professional quality cannot be considered acceptable merely because the output looks visually complete. Acceptance criteria must come from the specific domain, not from the model’s self-evaluation.
4. Longer Context and Higher Reasoning Effort Are Not Always Better
4.1 Context capacity does not equal effective use
A longer context can help hold multiple materials at once, but being able to receive a large amount of text does not mean the model can accurately find key evidence, resolve version conflicts, or consistently follow earlier constraints.
In practical applications, testing should focus on:
- whether key requirements are still executed when they appear in different parts of the materials;
- whether the model can identify the effective version when similar files and historical versions are mixed together;
- whether the model explicitly points out conflicts when multiple sources contradict one another;
- whether conclusions can be linked back to the original evidence.
Long context therefore cannot replace information governance. Enterprises still need to classify materials, label versions, filter permissions, and perform structured extraction.
Task state should also not be stored only in an ever-growing conversation. Completed steps, key parameters, evidence locations, and open questions should be persisted separately to support recovery and auditing.
4.2 Allocate reasoning budgets by risk and difficulty
Increasing reasoning effort may help with complex problems, but it usually also increases time and cost and does not guarantee consistent benefits.
Tasks can be layered according to their characteristics:
- Simple extraction and format conversion: use a lighter processing flow.
- Multi-source analysis and complex troubleshooting: increase reasoning effort and add intermediate checks.
- High-risk changes: strengthen permission checks, independent validation, and human approval.
- Large-scale batch processing: classify tasks first, then route difficult samples to a stronger processing flow.
It is particularly important to note that increased reasoning effort cannot replace security controls. A system that is better at planning may also execute the wrong objective more efficiently if permission boundaries are unclear.
5. Cost Should Be Measured per Effective Delivery
Comparing only input and output prices can easily overlook the actual operating cost of an agent. A single task may involve multiple observations, tool calls, environment startup, failed retries, and human review.
A more meaningful metric is:
Cost per effective delivery = total cost of all tasks in the period ÷ number of tasks accepted
The total cost of all tasks should include costs generated by both successful and failed tasks, as well as the cost of human takeover, review, and rework.
The following metrics should also be tracked:
- first-pass delivery acceptance rate;
- average number of tool calls;
- average and tail completion time;
- human intervention rate;
- number of qualified tasks completed per unit of time.
A low unit-price solution with frequent rework is not necessarily more economical. A higher unit-price solution that significantly reduces human work must also prove its value with real task data. Cost conclusions must be based on the same acceptance criteria and comparable operating conditions.
6. Production Systems Must Be Designed for Permissions and Recovery
6.1 Least privilege is a prerequisite for execution capability
Being able to operate a computer means that an agent may come into contact with files, credentials, and business systems. Permissions should therefore be scoped by task rather than granting full access to the working environment.
It is advisable to distinguish three types of operations: read-only, modifiable, and requiring approval:
- read-only operations are used for queries, analysis, and previews;
- modifiable operations are limited to explicit directories, data ranges, and test environments;
- operations such as publishing, deletion, transfers, and critical configuration changes enter an approval process.
Sensitive credentials should be injected by the execution environment according to authorization and should not be written into ordinary conversations or task logs. Content read from external web pages, documents, and messages should be treated as data to be processed, not as instructions that can override system rules.
Permission checks must be enforced at the execution layer. They cannot rely only on a model’s promise that it “will not exceed its permissions.”
6.2 Use sandboxing to reduce the impact of errors
During development and testing, agents should run in isolated environments with limited network access, file scope, and resource usage. Important files should be processed as copies, snapshots should be saved before modification, and independent checks should be run before delivery.
Isolation does not mean that business risk can be ignored, but it can reduce the scope of impact and make failures easier to reproduce and analyze.
6.3 Distinguish retryable actions from actions that must not be retried blindly
A failed file read can usually be retried, but submitting an order, sending a notification, or modifying an accounting record cannot simply be executed again.
For actions with external side effects, the system should use unique identifiers, status queries, and duplicate-submission protection. When a timeout occurs, it should first confirm whether the action has already taken effect rather than immediately submitting it again.
For operations that cannot be automatically rolled back, a manual handling process should be designed in advance. Reliability is reflected not only in making fewer errors, but also in being able to stop, explain, and recover after an error occurs.
7. A Practical Agent Execution Architecture
For enterprise tasks, the following layered structure can be used:
task intake → requirement and permission validation → plan generation → policy check → tool execution → result validation → delivery and auditing
The responsibilities of each layer should be clear:
Task intake receives the goal, input materials, deadline, and acceptance requirements, and asks for clarification when information is insufficient.
Permission validation determines which resources can be read, which content can be modified, and which actions require approval.
Plan generation breaks the goal into checkable steps and lists dependencies, expected results, and failure handling methods.
Policy check determines, before each critical action, whether it complies with permissions, budget, and business rules.
Tool execution performs actions through controlled APIs or isolated environments and records actual results.
Result validation should use independent mechanisms whenever possible, such as file structure checks, automated tests, data consistency checks, and human review, rather than having the execution model evaluate its own output alone.
Delivery and auditing preserve artifacts, execution traces, approval records, and known limitations so that subsequent personnel can understand the task process.
The process can be illustrated as follows:
Receive the task and define acceptance criteriaCheck input materials and resource permissionsGenerate a step-by-step planProcess each step in a loop:Check action permissions and remaining budgetRequest human approval when neededExecute the action and record statusVerify the expected resultOn failure, classify the error, adjust the plan, or stopIndependently check the final resultDeliver results, evidence, and unresolved items
The key here is not to give the model unlimited autonomy, but to keep autonomy observable, constrainable, and terminable.
8. From Pilot to Production: Scale Based on Evidence
Enterprises can proceed in three phases.
In the first phase, select low-risk tasks with clear boundaries, such as organizing de-identified materials, generating report drafts, and running software checks in a test environment. First validate whether task definitions, logging, and acceptance mechanisms are effective.
In the second phase, introduce controlled modifications, allowing the agent to operate within limited directories, test data, and specified systems while adding approval, snapshot, and failure recovery capabilities.
Only in the third phase should more complex cross-system workflows be considered, with continuous monitoring of completion rate, cost, human takeover rate, and permission events. When software interfaces are updated, business rules change, or input distributions shift, the system should be retested rather than relying on historical conclusions.
Ultimately, whether a new generation of large models is worth adopting cannot be judged only by launch messaging, parameter speculation, or a single score. Sustainable value comes from repeatable task delivery, clear security boundaries, complete recovery mechanisms, and cost-benefit results that can be validated by business outcomes.
Moving from “can answer” to “can execute” is an important change. Moving from “occasionally succeeds” to “succeeds reliably and auditable” is the core of production deployment.
