How to Evaluate AI Agent Capabilities: From Constrained Decision-Making to Engineering Practice
Evaluating an AI agent's performance requires more than judging whether it acts boldly or asks for permission. This article explains the difference between model capability and system behavior, why the same agent can receive conflicting evaluations from different users, and how constrained tasks like file cleanup and 3D mesh repair reveal an agent's real decision quality. It also introduces a reproducible six-dimension evaluation framework and a five-part task description structure, showing how capability, constraints, and verification combine to deliver reliability in real engineering workflows.
1. Evaluate the System, Not Just the Model
When an agent behaves passively, frequently asks for confirmation, or refuses to perform an action, users often attribute these behaviors to “insufficient capability.” But in engineering environments, acting faster and speaking more confidently does not mean producing more reliable results.
The model is mainly responsible for understanding context, generating plans, and inferring consequences. An agent system also involves tool calling, the execution environment, state tracking, permission control, and result verification. What the user observes is the combined effect of all these factors.
Therefore, evaluating an agent means answering at least three questions:
- Did it understand the true goal of the task, rather than following the literal instructions?
- Did it recognize the potential losses involved and the uncertainty in the available information?
- Could it complete the task in a verifiable and reversible way?
For example, “clean up the project directory” looks like deleting files on the surface, but the real goal might be to free up disk space while preserving recoverability, maintaining test coverage, and avoiding damage to the running environment. If the system only focuses on freeing space, it may deliver a result that looks good but is actually dangerous.
Conversely, an agent choosing not to delete files does not automatically prove it made the right call. It should explain where the risks come from, what evidence is missing, and propose alternative paths to move forward. Reliable caution must be justified, not a blanket refusal to act.
2. Why the Same Agent Gets Different Evaluations
Different users have different expectations for agents.
Some users want the system to fill in the gaps from brief instructions and deliver results directly. Others focus more on whether the process is controllable, whether conclusions are backed by evidence, and whether changes follow existing conventions. In low-risk tasks, proactive completion usually improves the experience; in high-risk tasks, unconfirmed proactive actions can amplify losses.
This shows that “proactiveness” and “correctness” should not be treated as the same metric.
Users should not be expected to shoulder all the judgment either. A mature agent should actively lower the barrier to use: convert vague requirements into candidate goals, express risks as consequences users can understand, and compress the items requiring confirmation down to the few that genuinely affect the decision.
For example, when asked to “delete the useless files,” a better response is neither deleting immediately nor asking the user to explain what every file is for. Instead, the agent should first produce a classified inventory:
- Files with a clear regeneration path
- Files that may contain irreplaceable data
- Files referenced by build, run, or test workflows
- Files whose purpose cannot yet be determined
The user only needs to confirm the handful of contentious items, and the system can proceed. This interaction balances efficiency and safety.
Differences in evaluation, therefore, can come from user needs and experience, but also from system design, context quality, or the model’s own limitations. Negative experiences should not be simplistically blamed on users “not knowing how to use it.”
3. Programming Scenario: File Cleanup Is a Dependency Analysis Task
AI-assisted programming routinely produces temporary scripts, test data, debug logs, build artifacts, and intermediate results. As iterations accumulate, directories grow, and cleanup needs emerge.
But a file “looking outdated” does not mean it is worthless.
An older data file may be the only input that reproduces a bug. A temporary test script may record boundary conditions not yet covered by formal tests. A large intermediate result may be recomputable, but the recomputation cost may far exceed the storage cost.
Cleanup should therefore be based on purpose, dependencies, and recoverability—not on file names, file sizes, or modification times alone.
1. Build a File Classification and Evidence Inventory
Project files can be divided into four categories:
Source and configuration files. These should normally be tracked by version control. Before cleanup, check for unsaved changes and whether the configuration contains environment-specific information.
Regenerable artifacts. Build outputs, certain caches, and clearly marked temporary files. Before deletion, confirm the generation steps, input dependencies, and generation cost.
Test and verification assets. Regression samples, bug reproduction inputs, and result baselines. These may be large, but they are essential for future verification.
Files of unknown origin. When the purpose cannot be confirmed, do not classify them as garbage directly. Route them to manual review or quarantine instead.
The inventory should record file paths, categories, references, generation methods, recovery paths, and recommended actions. The reasoning behind a judgment matters more than a simple “deletable” label.
2. Version Control Is Not a Full Backup
Version control tracks what has been committed, but it usually cannot guarantee that all runtime data, external resources, untracked files, and large intermediate artifacts are recoverable.
Even if a project uses version control, you still need to check:
- Whether the files pending deletion are actually tracked
- Whether current changes have been committed into a recoverable version
- Whether data files have separate backups or snapshots
- Whether the recovery steps have been verified
Conversely, lacking version control does not mean nothing can be cleaned up. If certain artifacts have a well-defined generation process, and the inputs, configurations, and runtime conditions are all preserved, they can be deleted after verification. The real criterion is recoverability, not whether a particular tool exists.
3. Use a Staged Cleanup Workflow
A safer workflow is:
File inventory → Dependency check → Generate cleanup plan → User confirmation → Quarantine candidates → Run verification → Final deletion
“Quarantine” means temporarily moving candidate files out of the working directory rather than permanently deleting them straight away. This lets you observe whether builds, tests, and key functionality still behave normally.
Note: if the quarantine directory resides on the same storage volume, this step does not immediately free capacity. Its value lies in verifying impact. Space is only actually released after safety is confirmed and the final deletion completes.
In permission-controlled engineering environments, an agent should generate a cleanup plan by default, rather than executing irreversible deletions by default. Bulk deletion, overwriting, and permission changes should each have their own confirmation gates.
4. 3D Scenario: Mesh Repair Is Not Just About Surface Completeness
3D model repair is another typical constrained decision-making problem.
When a user says “fix the broken faces,” they might mean entirely different goals: static presentation, animation deformation, physical manufacturing, or subsequent parametric editing. Different purposes imply different quality standards.
A model with no visible holes is not necessarily structurally correct. The repaired result may still contain non-manifold edges, duplicate vertices, degenerate faces, inconsistent normals, self-intersections, or topology unsuitable for deformation.
1. Clarify the Repair Goal First
Common goals fall into three categories:
Visual integrity. Focuses on whether visible regions are continuous, whether silhouettes are preserved, and whether rendering artifacts appear.
Geometric validity. Focuses on whether the mesh meets expected connectivity, closure, and topology requirements, and whether degenerate structures exist that would block downstream processing.
Downstream editability. Focuses on whether the topology is suitable for subdivision, deformation, and local edits, and whether feature edges are reasonably preserved.
These three goals cannot always be simultaneously optimized. For example, quickly filling a hole may satisfy presentation needs but produce face structures unsuitable for animation deformation.
2. Provide Constraints That Support Decision-Making
Compared with a single reference image, the following information is far more useful for producing a usable result:
- The model’s final use case
- Which regions may be modified and which must be preserved
- Locations of important silhouettes, sharp edges, and seams
- Face count or geometric complexity limits
- Whether vertex positions may change
- Whether texture coordinates, material assignments, or skin bindings must be preserved
For organic shapes, local curvature and deformation requirements often matter more. For hard-surface objects, planar relationships, edge sharpness, and structural dimensions may be more critical. You cannot generalize an agent’s ability across all modeling tasks from one case.
3. Hand Geometric Checks to Deterministic Verification
Language-based reasoning can help propose repair strategies, but when precise geometric relationships are involved, verification should combine actual geometry data with dedicated computation processes.
Post-repair checks should at least cover:
- Whether boundary loops match the design intent
- Whether new non-manifold structures have appeared
- Whether normals are consistent
- Whether zero-area faces or severely sliver faces exist
- Whether local modifications introduced abnormal distortion
- Whether texture and material associations are broken
Also, verification rules must match the intended use. An open surface is not necessarily an error, and quad topology is not the only correct choice for every task. The goal of validation is to satisfy usage constraints, not to mechanically chase a particular mesh style.
5. Building a Reproducible Agent Evaluation Framework
Judging reliability from a single successful demo is difficult. A more sound approach is to establish a fixed task set and re-run tests under identical inputs, permissions, budgets, and acceptance criteria.
Evaluation can cover six dimensions:
Goal understanding. Can it distinguish the user’s ultimate intent from the literal instruction and identify ambiguities that affect results?
Constraint adherence. Does it respect non-modifiable regions, permission scopes, resource limits, and safety boundaries?
Execution effectiveness. Does it actually complete the task, rather than merely producing a plausible-sounding plan?
Verification sufficiency. Does it run the necessary checks, and does it distinguish verified conclusions from speculation?
Recoverability. After a failure, can it roll back changes, restore data, and locate the failed step?
Interaction and cost. How much extra information must the user provide, how many confirmations are needed, and how much time and resources does an acceptable result require?
Cost should not be measured by the amount of generated text alone. A short but incorrect execution may trigger lengthy manual debugging; a slightly longer workflow that includes verification and recovery steps may actually reduce total cost.
Evaluations should also distinguish “succeeded on the first attempt” from “succeeded after multiple manual corrections.” Both may have practical value, but they reflect very different levels of automation.
6. Moving Agents from Assistants to Reliable Workflows
For developers and enterprises, a more practical goal is not unlimited agent autonomy, but a tiered-authorization collaboration mechanism.
Low-risk operations—reading directories, organizing information, generating reports—can run automatically. Reversible modifications, such as updating files in a sandboxed environment, can execute with change logs attached. High-risk operations—permanent deletion, modifying production configurations, external publishing—should require explicit approval.
Meanwhile, task state, input rationale, execution records, and verification results should be retained. This way, even when a task fails, you can analyze whether the problem occurred at requirement understanding, plan selection, tool execution, or acceptance.
A reusable task description can contain five parts:
- Goal: the desired end state.
- Scope: which objects may be inspected and modified.
- Constraints: what must not change, and which operations require confirmation.
- Acceptance: which checks prove the task is complete.
- Recovery: how to return to the previous state after failure.
This structure applies to code changes, file governance, data processing, and 3D asset repair. It does not guarantee success every time, but it reduces ambiguity, makes failures easier to detect, and makes successes better evidenced.
7. Conclusion: Reliability Comes from Capability, Constraints, and Verification Together
A powerful model should not merely execute quickly, nor should it hand every risk judgment back to the user. A genuinely valuable agent should identify key constraints, explain uncertainty, propose actionable plans, and support its conclusions with verification results.
For users, clarifying goals and acceptance criteria is more effective than piling up vague requirements. For system designers, providing sensible defaults, progressive confirmation, and reversible execution matters more than simply amplifying proactiveness.
The core question in evaluating an agent, therefore, is not “how bold is it,” but “can it, under appropriate permissions and constraints, consistently produce verifiable, recoverable, and maintainable results?” Only when this standard is embedded into concrete workflows can model capability translate into real engineering value.
