Evaluating AI Agents: From User Experience to Engineering Practice
Evaluating an AI agent requires separating model capability, agent behavior, and user experience. This article explains how to define task constraints, verify results, and preserve recovery options across file cleanup, software development, and 3D mesh repair. It also outlines an engineering-focused evaluation framework and practical controls for enterprise deployment. Reliable agents should advance tasks within authorized boundaries while making their reasoning, uncertainty, and results clear.
1. Separate Capability, Behavior, and User Experience
Different users can reach opposite conclusions about the same AI agent. One may find it accurate and well suited to complex engineering tasks. Another may see it as unhelpful, overly dependent on follow-up questions, or unwilling to perform seemingly simple operations.
These differences do not necessarily mean that either assessment is wrong. They may reflect different evaluation criteria. At least three layers need to be distinguished:
Model capability. This includes understanding requirements, analyzing code, identifying dependencies, developing solutions, and reasoning about spatial relationships.
Agent behavior. This includes how the system uses tools, when it stops, whether it requests confirmation, how it handles failures, and whether it respects operational boundaries.
User experience. This includes clarity of communication, reasonable waiting times, smooth interaction, and alignment with the user’s actual expectations.
These layers influence one another, but they are not interchangeable. A system that produces fluent answers may not reliably modify an engineering project. A cautious system may be difficult to use if it does not explain its decisions.
Evaluating an agent therefore requires more than asking, “Did it follow the instruction?” The more useful questions are: “Did it understand the goal, identify the risks, and deliver a verifiable result?”
2. Greater Capability Should Not Mean Greater User Burden
As agents take on more complex tasks, the user’s judgment can significantly affect the outcome. This is a reasonable engineering observation, but it does not justify blaming every poor result on users who “do not know how to use the agent.”
Complex tasks often require domain knowledge. Developers know which files are build artifacts. Modelers understand which edges must remain as structural features. Business owners can identify workflows that must not be rewritten automatically. This knowledge helps an agent narrow its search and reduce the likelihood of a wrong decision.
However, a mature agent system should also lower the barrier to use. When requirements are incomplete, it should identify missing information, ask necessary questions, and explain its default assumptions. It should not expect users to supply every technical detail in advance.
A more useful division of responsibility is:
- The user provides business goals, critical constraints, and final authorization.
- The agent analyzes options, exposes uncertainty, and performs verifiable operations.
- The workflow enforces permissions, records changes, and supports recovery.
More capable agents need clearer responsibility boundaries—not simply more work from their users.
3. Reliable Agents Complete Tasks Within Constraints
“Clean up my project” sounds straightforward, but it can represent several different goals: freeing disk space, reducing directory clutter, removing sensitive data, or organizing delivery materials.
Each goal calls for a different approach. Freeing space may involve compressing or relocating large files. Reducing clutter may require reorganizing directories. Removing sensitive data may require irreversible deletion and checks for additional copies.
A complete task definition should therefore cover six elements:
- Goal: What business outcome is required?
- Scope: Which resources may be read or modified?
- Constraints: What must be preserved, and which operations are prohibited?
- Acceptance criteria: How will completion be demonstrated?
- Recovery method: How can the original state be restored after a failure?
- Authorization boundaries: Which operations may run automatically, and which require confirmation?
For example, a file cleanup task could be specified as follows:
Scan the project for regenerable files and potentially obsolete artifacts. Produce a categorized inventory before deleting anything. Preserve source code, configuration, original data, test fixtures, and known failure samples. Move cleanup candidates into a quarantine directory first. After the build and tests pass, require human confirmation before permanent deletion.
This is not merely a way to accommodate a model. It turns an ambiguous request into an engineering task. The same principles apply to human collaboration and automated scripts.
4. File Cleanup: Old Does Not Mean Disposable
AI-assisted development can leave a project with temporary scripts, test inputs, debug logs, model outputs, and intermediate data. Cleaning files based only on modification time or size can remove material that still has value.
Classify Files by Purpose and Recoverability
A safer classification includes:
- Source code and configuration: Essential to running and maintaining the project, and therefore a priority for protection.
- Regenerable artifacts: Suitable cleanup candidates when a clear, working process exists to reproduce them.
- Original data and manual annotations: Potentially impossible to obtain again, requiring separate protection.
- Test fixtures and failure reproduction samples: May remain important for regression testing even if they have not changed for a long time.
- Debug logs and temporary outputs: Should be handled according to retention periods, unresolved failures, and audit requirements.
- Historical snapshots and backups: Require confirmation of their recovery role and whether other valid copies exist.
The key question is not whether a filename contains “temporary.” It is whether the file is referenced, can be rebuilt, or contains irreplaceable information.
Version Control Does Not Cover Every Recovery Need
Version control helps record code changes, compare differences, and restore historical states. It does not mean that an entire project can be rolled back.
Large datasets, ignored files, local configuration, database state, and external resources may fall outside version control. Even when a file has a recorded history, that history must be complete and practically recoverable.
Before deletion, check separately:
- Whether the file is tracked in version control.
- Whether an independent backup exists.
- Whether restoration from that backup has been tested.
- Whether the inputs, processes, and permissions needed to regenerate the file remain available.
Use a Staged Cleanup Process
A reliable process is identify, explain, quarantine, validate, and confirm, rather than scan and delete immediately.
Before moving files into quarantine, record their original paths, sizes, integrity checksums, and reasons for relocation. Afterward, run the build, tests, and necessary functional checks. If validation fails, the files should be restorable, and the classification rules should be reviewed to understand the mistake.
This approach reduces accidental deletion while also allowing the agent to make progress when it cannot establish that immediate deletion is safe.
5. Caution Is Valuable Only When It Leads to an Actionable Plan
An agent that declines to delete a file may have correctly identified a risk—or it may simply have failed to analyze the task adequately. Not every refusal is evidence of reliability, just as not every decisive action is reckless.
Useful caution includes four elements:
Explain the evidence. Identify a concrete finding, such as a test configuration referencing the target directory, rather than saying only that the directory “might be useful.”
Explain the uncertainty. Distinguish confirmed dependencies from risks that have not yet been ruled out. Do not present speculation as a conclusion.
Offer an alternative path. If deletion cannot be justified, suggest a read-only scan, quarantine, compression, or a narrower scope.
Define the next step. Explain what information or check would allow the task to continue.
For example:
Do not delete this data directory yet: regression tests reference samples stored in it. First confirm whether those tests are still required, then decide whether to archive or remove the directory.
This is more useful than a bare refusal. The evaluation should focus on whether the agent can move the task forward, not whether it appears cautious or bold.
6. Evaluate Coding Tasks Through Results, Not Descriptions
Generating code is not the same as delivering working software. Code can be syntactically correct while missing edge cases, mishandling state, or conflicting with existing modules.
A sound coding workflow should include at least the following steps.
Establish a Baseline Before Making Changes
Check whether the project currently builds, whether existing tests pass, and whether there are uncommitted human changes. Without a baseline, later failures may be difficult to attribute to either existing problems or the agent’s modifications.
Control the Scope of Changes
Ask the agent to explain which modules it will change, why those changes are necessary, and whether public interfaces or data structures are affected.
If the proposed scope expands substantially, reconfirm the goal. A local fix should not silently turn into unrelated refactoring.
Validate Critical Behavior
Validation should cover more than ideal inputs. Depending on business risk, it may need to address empty input, invalid values, repeated calls, concurrent access, and dependency failures.
The test scope should follow the risk of the change rather than a mechanical target for the number of tests.
Preserve Review and Recovery Options
Deliverables should include a change summary, validation results, known limitations, and a recovery path. Changes involving production data, permissions, or external systems should also use staged execution and independent confirmation.
What matters is whether the change solves the problem, introduces new risks, and remains understandable to the maintainers who will take ownership of it.
7. 3D Mesh Repair: Visual Correctness Is Not Structural Correctness
3D tasks make the importance of constraints especially clear. “Repair the mesh” may mean filling missing faces, but it may also involve non-manifold geometry, duplicate vertices, self-intersections, incorrect normals, or unsuitable face connections.
These problems cannot be judged from a single view. A repaired area may look acceptable in a render but fail during deformation, subdivision, or manufacturing.
Define the Model’s Intended Use
A model for static display may prioritize its silhouette and surface continuity. An animation model must also account for edge flow and deformation around joints. A manufacturing model may require watertightness, adequate thickness, and geometric validity.
Quad topology offers advantages in some deformation and subdivision workflows, but not every task requires quads. Repair rules should serve downstream requirements rather than impose one topology style as a universal standard.
Provide Structural Information, Not Just a Short Instruction
Useful input can include:
- Defect locations and marked boundaries.
- Silhouettes, sharp edges, and connectivity that must be preserved.
- Whether new vertices or changes to face count are allowed.
- The desired edge-flow direction in the target region.
- The model’s intended use and required validation checks.
A single reference image often leaves depth, hidden surfaces, and occlusion relationships ambiguous. The agent should explain these uncertainties rather than claim to have recovered the uniquely correct structure.
Combine Multiple Validation Methods
After repair, check boundaries, non-manifold elements, face orientation, degenerate faces, and self-intersections. Depending on the intended use, also perform deformation, subdivision, or pre-manufacturing checks.
Visual inspection and structural validation should complement each other. “It looks repaired” is not sufficient evidence of completion.
8. Build an Evaluation Framework Around Engineering Outcomes
Agents are best evaluated using representative task sets under consistent operating conditions, rather than through a single demonstration.
The task set should cover routine requests, missing information, abnormal inputs, restricted permissions, and execution failures. At a minimum, assess five dimensions:
Task completion. Did the agent meet explicit acceptance criteria, rather than merely produce a plan?
Constraint compliance. Did it modify resources outside the authorized scope or bypass confirmation steps?
Error detection. Could it identify insufficient assumptions, missing dependencies, and unexpected results?
Recovery and auditability. Were important operations recorded, and could the system recover after failure?
Total effort. Consider interaction rounds, human review, execution time, and rework—not just the amount of text generated.
The model, tool permissions, task description, and runtime environment all affect results. Keep these conditions as consistent as possible when comparing approaches, and record both successes and failures.
Results from a small number of tasks indicate performance in those situations. They do not establish a comprehensive capability ranking.
9. Enterprise Deployment Requires Enforced Safety Boundaries
Enterprises should not rely only on prompts telling agents to “operate carefully.” Boundaries also need to be enforced at the system level.
Permissions can be expanded gradually according to risk:
- Initially allow only reading, analysis, and recommendations.
- Once performance is stable, permit modifications in an isolated environment.
- Enable restricted automatic execution for low-risk, recoverable operations.
- Retain approval requirements for high-impact actions such as production releases, permanent deletion, and permission changes.
Organizations should also define data access scope, operation logging requirements, conditions for stopping execution, and points for human takeover.
Where needed, backups, object storage, logging services, monitoring, and alerts can support a complete observability and recovery workflow.
These controls do not guarantee that an agent will never make a mistake. They limit the impact of errors and make failures easier to detect and resolve.
10. Conclusion: Trustworthy Agents Must Be Verifiable, Explainable, and Recoverable
Differences in agent experience can come from user goals and task descriptions, but also from model capability, interaction design, and the tool environment. Proactive responses alone do not establish competence, and task failures should not automatically be blamed on users.
For developers, the most effective practice is to turn goals into explicit constraints, divide execution into inspectable steps, and place high-risk operations inside recoverable workflows.
For enterprises, evaluation should move beyond impressive demonstrations to reliable completion of real tasks.
A trustworthy agent neither follows every instruction immediately nor stops whenever risk appears. It explains its evidence, acknowledges uncertainty, offers alternative paths, and delivers verifiable engineering results within its authorized boundaries.
