How to Evaluate AI Agent Capabilities and Engineering Outcomes
Evaluating AI agents requires more than checking whether they follow instructions or act quickly. This article explains how task definition, tool access, permissions, validation, and recovery affect real-world results. Using project cleanup and 3D mesh repair as examples, it presents a controlled engineering workflow and practical criteria for comparing agent quality, risk, reliability, and total task cost.
1. Evaluating AI Agents Takes More Than Instruction Following
As AI agents enter software development, data processing, and 3D content production workflows, users often report very different experiences. Some find them precise and capable of handling complex problems. Others find them hesitant, difficult to communicate with, or unable to complete seemingly simple requests.
These differences cannot be attributed solely to model capabilities or dismissed as a lack of user expertise. Actual outcomes depend on several factors: the model’s reasoning and generation capabilities, the quality of available tools, the completeness of task context, execution permissions, feedback mechanisms, and how users assess the results.
Agent evaluation should therefore distinguish three questions:
- Did the agent understand the goal? Did it translate the natural-language request into the correct task scope?
- Did it have the conditions needed to execute? Could it read the necessary files, run validation, save intermediate results, and use appropriate processing tools?
- Did it make sound decisions? Did it meet the objective while protecting data, structures, and business constraints that should remain unchanged?
Immediate execution does not necessarily indicate strong capabilities, and delaying execution does not necessarily indicate weakness. What matters is whether the agent can explain uncertainty, propose a verifiable next step, and proceed reliably once it receives the necessary authorization.
2. Stronger Models Do Not Eliminate the Need for Task Design
A common misconception is that more capable models require less explanation from users.
Greater model capability can enable an agent to understand more complex constraints, manage longer dependency chains, and complete more steps. It does not mean the agent can accurately infer unstated business preferences. For open-ended tasks, a single request may have several reasonable interpretations.
For example, “optimize the project” could mean reducing runtime, lowering memory consumption, improving maintainability, or shrinking deployment size. These goals are not always aligned. Adding caching to improve performance may increase memory usage; merging modules to reduce code size may make the code harder to read.
A task description should include at least four elements:
- Objective: What should improve, and which problems must be resolved?
- Boundaries: What may be modified, and what must remain unchanged?
- Acceptance criteria: Which tests, checks, or metrics determine completion?
- Execution permissions: Which actions may run automatically, and which require confirmation?
Effective use does not require users to understand every low-level detail. It requires a workflow that makes important decisions explicit. When users lack specialized knowledge, the agent should lower the barrier with a small number of clear clarification questions—not return all decision-making responsibility to the user.
3. Case Study: Why File Size Is Not Enough to Guide Project Cleanup
During AI-assisted development, project directories can accumulate temporary scripts, test inputs, debug logs, generated data, and intermediate outputs. These files may look like clutter, but they can serve very different purposes.
A temporary script might be a disposable helper, or it might contain a fix that has not yet been merged. A test sample might be obsolete, or it might be the only way to reproduce a subtle defect. A large data file might be reproducible, or it might depend on a data source that is no longer available.
File size, time since last modification, and temporary-looking names are therefore only clues for identifying candidates. None is sufficient justification for deletion.
3.1 Classify Files Before Deciding What to Do
Candidate files can be grouped as follows:
| File category | Main risk | Recommended treatment |
|---|---|---|
| Regenerable caches | Rebuild time or temporary performance degradation | Confirm how they are generated before cleaning |
| Debug logs | Loss of evidence needed for troubleshooting | Archive or delete according to retention rules |
| Test samples | Loss of defect reproduction capability | Check test references and retain necessary samples |
| Intermediate data | Sources or generation processes may be unrecoverable | Verify provenance, dependencies, and backups |
| Pre-change copies | Loss of a rollback reference | Establish a trustworthy recovery point before removal |
| Files of unknown origin | Uncertain purpose | Retain by default and request confirmation |
The agent should first produce an inventory covering each file’s path, size, likely purpose, references, regenerability, and recommended action. It should not begin with broad deletion.
3.2 Version Control and Backups Solve Different Problems
Source control records changes to tracked files, but it does not automatically protect every file. Untracked scripts, excluded output directories, large binary datasets, and external configuration may fall outside its recovery scope.
Version history also does not make deleting test samples harmless. Even if the files can be restored, regressions introduced in the meantime can still reduce development efficiency and release quality.
A safer approach combines several recovery mechanisms:
- Save an explicit baseline for source code and configuration.
- Back up non-regenerable data separately.
- Keep an inventory of proposed deletions and content checksums where needed.
- Require human confirmation for high-risk deletions.
- Follow access controls and retention limits for sensitive data rather than creating unlimited backup copies.
3.3 Use Two-Stage Cleanup Instead of Immediate Deletion
In the first stage, scan the project and make recommendations without changing any files. In the second, execute approved actions and record the results.
Uncertain candidates may be moved to a quarantine area while builds, tests, and routine operations are checked during an observation period.
Quarantine is not inherently safe, however. Moving files can change relative paths or trigger data regeneration. Quarantine operations must still account for dependencies and retain a mapping that supports restoration.
A clearer task request would be:
Analyze only the specified project directory; do not delete any files. List cleanup candidates and explain their references, regenerability, and recovery options. Retain source code, configuration, test samples, and data of unknown origin by default. After confirmation, clean low-risk caches first, then run validation.
This does not ask the model to do less. It breaks high-risk decisions into reviewable steps.
4. Distinguishing Reasonable Caution from Weak Execution
An agent’s refusal to delete files does not, by itself, demonstrate an understanding of engineering risk. If it repeatedly says that files “might be useful” but cannot identify dependencies, explain its classification criteria, or propose a safe cleanup path, the behavior may reflect weak analysis.
Reasonable caution has three characteristics:
First, the reasoning is specific. The agent identifies which files are referenced and which datasets cannot be regenerated, rather than offering generic warnings.
Second, it reduces uncertainty. It proposes concrete next steps, such as reading configuration, inspecting build processes, searching for references, or running tests.
Third, it offers alternatives. When immediate deletion is inappropriate, it may suggest compressed archives, staged cleanup, shorter log retention, or removal of confirmed caches first.
Fast execution is not necessarily effective either. If deletion leaves the project unable to build or destroys material needed to reproduce a bug, the apparent efficiency has merely shifted costs to recovery.
Evaluation should distinguish the time to initial completion from the total cost of corrective work.
5. Case Study: Why 3D Mesh Repair Requires Explicit Constraints
3D mesh repair shares an important characteristic with project cleanup: visible anomalies may be easy to identify, but the right treatment depends on purpose and structure.
An apparently damaged region could be missing faces, or it could be an intentional opening. Overlapping faces, incorrect normals, non-manifold connections, and self-intersections are different problems. They cannot all be solved by filling holes.
For a static display model, local visual completeness may be sufficient. A model intended for deformation also requires attention to edge flow and topology around joints. A model intended for manufacturing generally needs checks for watertightness, wall thickness, and geometric manufacturability.
5.1 Define the Repair Scope and Invariants First
Before repair begins, specify at least:
- Which regions need treatment and which must remain unchanged.
- Whether existing openings are intentional design features.
- Whether vertices may be added or removed.
- Whether UV coordinates, material assignments, and vertex attributes must be preserved.
- Whether the output is intended for display, animation, simulation, or manufacturing.
- What limits apply to shape deviation, face-count changes, and surface smoothness.
These requirements determine whether hole filling, local topology reconstruction, or broader reprocessing is appropriate.
5.2 Separate Geometric Correctness from Topological Suitability
Geometric correctness concerns surface position, shape, and continuity. Topological suitability concerns whether the connections among vertices, edges, and faces support downstream work.
A model can look free of holes while still containing non-manifold edges, self-intersections, or unsuitable local connections. Conversely, a mesh with valid connectivity can still be visibly distorted if repaired faces deviate from the original surface.
Quad-based topology is valuable in some deformation and subdivision workflows, but not every task requires an all-quad mesh. The choice between triangles, quads, and mixed local structures should follow downstream requirements rather than treating one face type as universally correct.
5.3 Agent Reasoning Must Lead to Executable Validation
An agent can help analyze repair strategies, but a textual explanation does not prove that a mesh has been repaired. It must use an actual geometry-processing program to read the model, apply changes, and inspect the output.
A suitable closed-loop process is:
- Save the original model and an attribute baseline.
- Detect boundaries, abnormal connections, duplicate elements, and normal issues.
- Mark repair regions and explain candidate strategies.
- Apply local changes, avoiding unnecessary global reconstruction.
- Check topology validity, shape changes, and attribute preservation.
- Validate the result for its intended use, such as deformation behavior or the watertightness required for manufacturing.
A screenshot alone is not proof of success, and the absence of errors is not proof of completion. Visual and structural checks must complement each other.
6. Building a Controlled Agent Engineering Workflow
Both code modification and mesh processing can follow a common workflow:
Objective → Constraints → Plan → Execution → Validation → Rollback
6.1 Objectives: Turn Abstract Requests into Observable Results
Translate words such as “better,” “cleaner,” and “more accurate” into explicit criteria.
For project cleanup, the objective might be to reduce storage occupied by confirmed caches while keeping builds and tests passing. For mesh repair, it might be to eliminate defects in specified regions while preserving the outer shape and required attributes.
6.2 Planning: Identify Risks and Unknowns First
A plan should contain more than a list of actions. It should explain what information each step requires, when to stop if something fails, and where human judgment is needed.
For objects whose purpose cannot be confirmed, retaining them by default is often more appropriate than making unauthorized destructive changes.
6.3 Execution: Authorize Actions by Risk Level
Operations can be divided into read-only analysis, localized reversible changes, and irreversible actions.
Read-only analysis can usually proceed automatically. Local modifications should have recovery points. Deleting important data, overwriting original assets, or affecting shared environments should require explicit confirmation.
Access scope and tool permissions should also be limited. A task that requires reading one project does not justify access to every directory. Repairing one model does not justify overwriting all original assets.
6.4 Validation: Separate Evidence from Execution Claims
“Completed” is a statement by the executor, not acceptance evidence.
Code tasks should provide test results, a change summary, and relevant diff checks. Data tasks should provide integrity checks. Mesh tasks should provide structural checks and validation tied to the intended use.
Where feasible, an independent checking process can review critical results. Its value lies in detecting problems using independent evidence—not in having another agent repeat the same conclusion.
7. Comparing the Practical Value of AI Agents Fairly
When comparing agents or workflows, use the same tasks, inputs, tool permissions, and acceptance rules wherever possible. Record variation across repeated runs.
Useful measures include:
- Task success rate: Does the result actually meet the predefined acceptance criteria?
- Constraint compliance: Did the agent modify anything it was prohibited from changing?
- Validation completeness: Did checks cover important failure paths?
- Human intervention: How much clarification, correction, and rework was required?
- Total resource cost: Include generation, tool calls, waiting, and recovery costs.
- Recoverability: Can the workflow return to a known reliable state after failure?
- Result consistency: Do similar conditions repeatedly produce unpredictable deviations?
Shorter output does not automatically mean lower cost, and one successful run does not establish general capability. Evaluation becomes meaningful for engineering only when quality, risk, and full task cost are considered together.
8. Conclusion: Strong Agents Make Decisions More Transparent
Differences in agent outcomes can arise from model and tool capabilities, but also from task descriptions, permission design, and validation mechanisms. Blaming every problem on user inexperience is no more rigorous than treating every cautious response as evidence of a strong model.
A capable agent does not execute every request immediately, nor does it stop at warnings whenever risk appears. It identifies critical constraints, explains its reasoning, actively obtains necessary information, and continues making progress within controlled boundaries.
For developers and organizations, improving results is not about finding a tool that removes the need for engineering management. It is about integrating agents into existing version control, backup, permission, testing, and review practices.
Clear objectives, traceable changes, verifiable results, and reliable recovery are what turn model capabilities into stable production value.
