Evaluating Execution Agents: Capabilities, Reliability, and Engineering Value in Production
Execution-oriented agents differ from general-purpose models because they must turn user goals into verified outcomes through tools and external systems. This article explains how to evaluate them beyond single-response quality: controlling error accumulation in long-horizon tasks, treating context as capacity rather than reliable memory, separating specialized capabilities, building repeatable test sets, calculating cost per accepted delivery, and establishing production controls such as least privilege, risk-based automation, audit logs, and staged rollout.
1. From Answering Questions to Completing Tasks: The Evaluation Standard Must Change
When discussing a new generation of intelligent models, it is easy to rely on a simple assumption: a version update means all capabilities improve together. For agents built for engineering tasks, that assumption is not reliable.
General-purpose models mainly produce text, code, or analytical conclusions. An execution-oriented agent must interact with the external environment through tools and turn user goals into actual results. It must not only understand what to do, but also determine in what order to do it, whether it has succeeded, how to recover from failure, and which operations require human confirmation.
For example, “analyze a sales report” mainly tests understanding and reasoning. “Find the report, verify definitions, generate the analysis, submit it for approval, and archive it” involves file access, data checks, process state, permission control, and result verification. The difficulty in the latter case is not writing more text, but maintaining goal consistency across a sequence of operations.
Therefore, evaluating an execution agent should shift focus from single-response quality to complete task delivery:
- Whether all constraints are satisfied, not just the most visible requirement;
- Whether tools are called correctly and tool-returned exceptions are handled;
- Whether intermediate state is preserved to support recovery after interruption;
- Whether the result of an operation can be proven, rather than merely claimed as “completed”;
- Whether execution stays within permission, time, and budget boundaries.
This does not mean language, reasoning, and creativity are unimportant. It means engineering execution capability must be measured separately and cannot be inferred directly from an overall capability score.
2. The Hard Part of Long-Horizon Execution Is Controlling Error Accumulation
Reliability in multi-step tasks is usually harder to guarantee than in single-step tasks.
Suppose a process contains ten steps, each with a 95% success probability, and assume for the moment that the steps are independent. The probability that all steps succeed on the first attempt is about 60%. This illustrative calculation is not a measured result for any system, but it highlights a key issue: good local performance does not mean reliable end-to-end delivery.
In real tasks, steps often depend on one another. Incorrect data produced by an earlier step can cause later operations to drift further from the goal. A single misread of an interface can also cause the system to perform subsequent actions on the wrong page.
1. Convert Natural-Language Goals into Acceptance Criteria
An instruction such as “organize project materials” is too broad. A task description better suited for execution should specify:
- Where the input materials come from;
- Which files may be read;
- What deliverables must be generated;
- Which information must be preserved;
- Which modifications are not allowed;
- How task completion will be determined.
For example, the goal could be rewritten as: “Read the design materials in the specified directory, generate an index grouped by module, list missing items, do not modify the original files, and submit the results for human review.”
The clearer the acceptance criteria, the easier it is to detect task drift and build automated checks.
2. Use a Plan–Execute–Observe–Verify Loop
An agent should not generate a plan and then execute it blindly to the end. After each important operation, it should read environmental feedback and confirm whether the expected state has been reached.
A typical closed loop includes:
- Identify the current goal and constraints.
- Select the next necessary operation.
- Execute the operation and record the result.
- Compare the actual state with the expected state.
- Based on the deviation, continue, retry, adjust the plan, or request human intervention.
Result verification should rely on structured evidence whenever possible. For example, after a file is generated, check whether it exists and whether its contents are complete; after a process is submitted, query its status; after code is modified, run the relevant checks. A model’s self-report alone is not a reliable form of acceptance.
3. Define Clear Rules for Retry and Recovery
More retries are not always better. If an operation has already succeeded but the response is lost, executing it again may cause duplicate submissions or duplicate notifications.
Therefore, operations with external side effects should support idempotent handling where possible, or the system should check whether the operation has already taken effect before retrying. At the same time, two types of failure should be distinguished:
- Transient failures, such as a brief connection interruption, can be retried a limited number of times;
- Logical failures, such as invalid parameters or insufficient permissions, should lead to a plan change or a stop.
For irreversible operations, confirmation points should be established. For reversible operations, the information needed for recovery should be recorded. For workflows that cannot be rolled back, a compensation plan should be defined in advance rather than generated ad hoc after a failure.
3. Long Context Is a Capacity Condition, Not Reliable Memory
A larger context window can reduce the information fragmentation caused by splitting documents into chunks, but it cannot guarantee that the model will use every item accurately.
Common engineering problems include mixing old and new requirements, burying key constraints in large volumes of logs, allowing historical errors to continue influencing decisions, and increasing inference cost with irrelevant content. Therefore, “load everything at once” is usually not the most reliable strategy.
1. Store Information in Layers
Task information can be divided into three layers:
Fixed constraint layer: Stores permission boundaries, acceptance criteria, prohibited actions, and budget limits. Relevant constraints should be checked again before important actions are executed.
Working state layer: Stores the current stage, completed steps, failure reasons, and next-step plan. State should be structured as much as possible rather than relying only on an ever-growing conversation history.
Reference material layer: Stores project documents, business records, and code materials. Retrieve relevant content based on the current subtask instead of loading all information every time.
The purpose of this layering is to separate “facts that must be known now” from “materials that can be consulted when necessary.”
2. Preserve the Source and Version of Summaries
Summaries help compress context, but they can also omit exceptional conditions. When key decisions are involved, it should be possible to trace back to the original material and confirm its version and scope of applicability.
This is especially important in multi-person collaboration, where requirement updates may invalidate earlier conclusions. The system should distinguish confirmed facts, model inferences, and information pending verification, so that a single inference does not become a fixed basis for later execution.
3. Treat External Content as Data, Not High-Privilege Instructions
Documents, web pages, messages, and tool-returned results may contain content that asks the agent to ignore rules, leak information, or perform additional operations. Such content should not receive the same authority as user authorization.
A reliable design needs to isolate external materials from execution instructions and perform independent permission checks on tool calls. Security boundaries cannot rely solely on the model’s own judgment.
4. Strong Specialized Capability Does Not Mean All Capabilities Improve Together
Execution systems are often optimized for specific tasks, such as interface operation, code modification, material organization, or process handling. These optimizations may improve performance on related tasks, but they do not automatically prove that the system is equally advanced in abstract reasoning, literary creation, or complex spatial understanding.
A more rigorous approach is to evaluate capabilities separately:
- Language capability: Understanding requirements, expressing conclusions, and handling ambiguity;
- Reasoning capability: Establishing relationships, identifying contradictions, and analyzing causality;
- Tool use capability: Selecting tools, constructing parameters, and interpreting returned results;
- Planning capability: Decomposing tasks, arranging sequence, and responding to changes;
- Perception capability: Recognizing interface elements and understanding images and spatial relationships;
- Execution reliability: Completing operations, verifying results, and recovering from failures.
Consider spatial tasks as an example. Recognizing the position of a button in a two-dimensional interface is not the same capability as understanding occlusion, depth, and motion constraints in a three-dimensional scene. Success in simple object manipulation is also insufficient to prove that a system can handle continuous actions in complex environments.
Likewise, strong performance by a system in a specific engineering test does not mean it is suitable for all security analysis work. When cybersecurity is involved, use must be limited to clearly authorized environments and combined with human review, scope control, and audit mechanisms.
Performance numbers, capability ratings, and price changes that lack verifiable sources should not be used directly as selection criteria. A more valuable question is: under the same tasks, tools, budget, and permissions, can the system deliver consistently?
5. Evaluation Must Move from “Successful Demos” to “Repeated Validation”
A demo usually presents one smooth path to completion. A production environment, however, contains many incomplete inputs, interface changes, permission exceptions, and dependency failures.
Enterprises should build evaluation sets that match their own business context instead of relying only on a single leaderboard. Evaluation should cover at least:
- Normal inputs and routine processes;
- Missing information, ambiguous requirements, or conflicting requirements;
- Tool timeouts, return format changes, or service unavailability;
- Pauses, resumption, and repeated requests during execution;
- Unauthorized requests and interference from external content;
- High-risk operations that require human confirmation.
Measurement metrics should also cover multiple dimensions:
| Metric | Question It Addresses |
|---|---|
| Task completion rate | Are all acceptance criteria satisfied? |
| First-attempt success rate | Can the task be completed without rework? |
| Result accuracy | Does the output comply with facts and business rules? |
| Human intervention volume | How much confirmation, correction, and supplementation are required? |
| Execution latency | Does the overall process meet business requirements? |
| Cost per effective delivery | How much investment is required to obtain an acceptable result? |
| Number of security violations | Have unauthorized or out-of-scope operations occurred? |
| Failure recovery capability | Can the system recover safely after interruption? |
When comparing different solutions, also record the available tools, retry counts, environment configuration, and level of human assistance. Otherwise, differences in results may come from peripheral systems rather than the model itself.
6. Calculate Cost by Effective Delivery, Not by Unit Call Price
The total cost of an agent typically includes model inference, tool execution, runtime environment, storage and retrieval, failed retries, human review, and maintenance.
A lower unit call price therefore does not necessarily mean a lower business cost. A cheap system that frequently requires rework may consume more human effort. A system with a higher per-call cost may be more economical if it significantly reduces failures on a specific task. These judgments require actual data.
The following definition can be used:
Cost per effective delivery = total investment during the evaluation period ÷ number of tasks that pass acceptance.
The denominator should be qualified results, not the number of tasks initiated.
Common methods for controlling cost include:
- Assign fixed rules to deterministic programs to reduce unnecessary model calls.
- Route tasks by difficulty so that not every request uses high-cost reasoning.
- Set limits on execution time, number of calls, and cumulative consumption.
- Cache reusable intermediate results that are still valid.
- Identify tasks that cannot be completed as early as possible and hand them over to humans in a timely manner.
- Analyze frequent failure causes and prioritize fixing tool and process issues.
Budget limits should be enforced by the scheduling and execution layers, not merely written into natural-language prompts.
7. Production Deployment Requires Engineering Foundations Beyond the Model
A deliverable agent system is not just a model plus several tools. It also needs permission management, task scheduling, state persistence, monitoring and alerting, audit records, and human takeover mechanisms.
1. Connect Tools with Least Privilege
Each tool should expose only the necessary capabilities. Permissions for reading, modifying, deleting, and publishing should be managed separately. Excessive permissions should not be granted simply for execution convenience.
Operation validation should be completed at the actual execution layer. For example, even if the model generates a correctly formatted request, the system must still check whether the target resource, user identity, and task authorization match.
2. Set the Degree of Automation by Risk
Low-risk, reversible, and easily verifiable operations can be automated first. Operations with major impact or irreversible effects should retain human approval, such as deleting important data, expanding access permissions, or publishing content externally.
Human confirmation points should show the specific operation object, expected impact, and recovery method, so that reviewers can truly judge the risk rather than clicking approve mechanically.
3. Establish Traceable Execution Records
Logs should at least cover task identifiers, state changes, tool calls, returned results, verification conclusions, and human approval events. Sensitive information should be redacted, and access to logs should be restricted.
The value of observability is not only in troubleshooting, but also in determining why the system failed: Was the requirement misunderstood? Was the material insufficient? Did a tool fail? Or were the acceptance rules incomplete?
4. Expand Scope Gradually from Controllable Scenarios
A more reliable deployment path is:
Offline evaluation → isolated environment validation → read-only assistance → human-approved execution → limited autonomous execution.
Each stage should have exit conditions. Permissions and task scope should be expanded only when accuracy, cost, and risk control meet business requirements.
8. True Engineering Value Is Reliable Work Within Boundaries
Evaluating an execution agent should not ask only “Is it stronger than the previous generation?” It should ask “On which types of tasks is it more reliable?”, “What supporting conditions are required?”, and “Is the cost of failure acceptable?”
For developers, the core work is to embed model capabilities into workflows that are verifiable, recoverable, and auditable. For enterprises, the core work is to choose business scenarios with clear boundaries and measurable returns, and to control automation permissions.
When tasks are clear, tools are stable, state is traceable, and results are verifiable, agents have a better chance of becoming a source of production efficiency. Conversely, even an impressive demo may fail to reach production because of error accumulation, runaway costs, or insufficient security boundaries.
Moving from “can generate answers” to “can complete work” depends not on claims of all-around upgrades, but on whether the system can consistently deliver verifiable results.
