Evaluating LLM Agents: Key Metrics and Practical Implementation
AI agents and general-purpose LLMs are evolving from "answering questions correctly" to "getting things done." This article abstracts common complaints into verifiable technical problems and offers a neutral evaluation framework and practical recommendations. It covers why high benchmark scores don't guarantee real-world usability, how to diagnose self-doubt and stalling in long-horizon tasks, how to measure expression quality and engineering conventions, a concrete evaluation checklist with illustrative pseudocode, and guidance on vendor selection and governance—without tying the discussion to any specific closed-source product model.
AI agents and general-purpose large language models are shifting from “answering questions correctly” to “getting things done.” For developers and enterprise users, the evaluation focus is no longer single-turn answer accuracy, but proactivity in long-horizon tasks, whether outputs are executable, whether tool usage is stable, and whether results conform to engineering conventions and team norms.
Why “Capable” Doesn’t Mean “Capable of Doing It Well”
Benchmarks often cover coding, 3D scene understanding, and human-machine collaborative operations. High scores only indicate that a model has potential on controlled samples. In real projects, task boundaries are ambiguous, contexts are long, intermediate artifacts get renamed, and dependencies slow down. This is when the classic “high scores, low competence” pattern appears: single-step reasoning looks complete, yet the whole pipeline stalls on irrelevant details; code runs, but its structure, naming, and interaction design don’t match team conventions. Evaluation should look at both the capability ceiling and the usability floor: the ceiling corresponds to complex tool calls and long contexts; the floor corresponds to whether the agent proactively advances and delivers an executable conclusion with minimal information.
As subscription cycles lengthen, users become more sensitive to the “sense of intelligence.” Earlier models were sometimes bolder in drawing conclusions, while later models may become safer and more verbose. This isn’t simply “getting smarter or dumber”—it reflects an alignment objective shifting from “complete the task” toward “avoid mistakes and avoid blame.” Evaluation design must incorporate alignment style as a metric; otherwise, it may be misread as capability regression.
Self-Doubt and Stalled Progress in Long-Horizon Tasks
One high-frequency failure mode: after hours of executing a goal-oriented task, the agent stops to ask whether it should rename some media file—a low-priority detail. From a systems perspective, this is a failure of planning and value prioritization: the model elevates local consistency (file naming conventions) above the global goal, and lacks a “proceed by default, interrupt only on exceptions” policy.
Observable symptoms include: repeatedly confirming already-authorized items; interpreting tool-call failures as needing user decisions; and reciting plans in logs in a loop without submitting patches. For engineering teams, this creates anxiety—nobody knows whether the task is progressing or when to intervene. A good practice is to define an “autonomous decision scope” in the evaluation set: for example, resource naming, cache cleanup, and minor dependency upgrades should be completed autonomously by default and reported in a summary; interruptions should occur only for billing, deletion of production data, or external publication.
For governance, layer three constraints: a task contract that specifies the definition of done and prohibited actions; runtime enforcement via timeouts and no-progress detection to force periodic commits; and post-processing filters requiring the agent to present its current best solution before asking any question. On the cloud side, object storage can persist intermediate artifacts, message queues can decouple long-running tasks, and logging services with monitoring alerts can flag stalled progress—these are generic capabilities that don’t depend on any single vendor’s proprietary interfaces.
Expression Quality: From Coined Jargon to Defensive Prose
In Chinese-language scenarios, model outputs have produced hard-to-understand coined terms and jargon piles that raise comprehension costs. More recently, the bigger issue is defensive phrasing: a simple root cause wrapped in paragraphs of disclaimers, with the conclusion buried in conditional clauses. For a performance issue whose real cause may be elevated block-storage latency, users want a one-sentence diagnosis plus two verification commands—not a four-paragraph architecture survey.
You can evaluate expression quality using the “shortest executable answer”: force a one-sentence conclusion first, then allow evidence to follow. Compare response lengths across models for the same question, whether reproducible check steps are given, and whether vague, unactionable advice appears. Defensive style often stems from training that heavily penalizes “saying something wrong” while rarely penalizing “saying nothing clearly.” On the product side, system prompts can enforce an output template: conclusion, evidence, next steps, risks; on the research side, rule-based scoring can downweight boilerplate and repeated disclaimers.
Aesthetics and engineering conventions are also quantifiable: whether UI layout aligns to a grid, whether error messages are actionable, whether code passes the repository linter. For 3D and interactive scenarios, don’t just check “can it generate”—check whether lighting, collision, and interaction paths follow common sense. Coding ability should be decomposed into: single-file correctness, cross-repository refactoring, test completion, and diagnosis of environmental issues such as slow disks. Tool usage (browser, terminal, design files) should track success rate, error recovery, and whether the agent expands permissions without authorization.
An Actionable Evaluation Checklist
Build golden sets per scenario rather than only chasing public leaderboards. A sample checklist:
- Goal completion rate: Does the agent submit a mergeable deliverable within a fixed budget (steps, time, cost cap)?
- Interruption reasonableness: Are interruptions truly blocking? Low-priority confirmations should be scored negatively.
- Conclusion density: Does an executable conclusion appear within the first 200 words?
- Environment diagnosis: Deliberately inject slow disks, low memory, or misconfigured regions, and check whether the agent identifies the resource issue rather than rambling about architecture.
- Convention compliance: Static checks, design-file comparisons, accessibility, and copy tone.
- Regression stability: Run the same task multiple times; is the variance acceptable?
Illustrative pseudocode, showing the process only, not any real product API:
for task in golden_set:run = agent.execute(task, budget)score.complete = 1 if run.has_deliverable else 0score.interrupt = penalty(run.user_questions)score.clarity = 1 if first_paragraph_has_action else 0score.env = 1 if root_cause_matches_injected_fault else 0
For enterprise rollout, connect the agent to continuous integration: failures must come with logs and reproduction scripts; successes must come with diff explanations. Container platforms, logging services, and monitoring alerting—such as those offered by Baidu AI Cloud—can host evaluation tasks and collect metrics, but the theme here remains generic engineering practice.
How Teams Should Select and Govern
Don’t make purchasing decisions based on a single “tier-one” label. Break it down by workload: strong tool-calling suits operations troubleshooting; strong generation suits prototyping; strong constraint-following suits compliance documentation. Counter “laziness and non-progress” with task contracts and no-progress circuit breakers; counter “unintelligible output” with output templates and manual spot checks. Keep human review as the final gate for deletions, publications, and money-related operations.
In summary: evaluating an agent means checking whether it gets things done, speaks clearly, and stays out of the way. Turning planning prioritization, expression density, environment diagnosis, and convention compliance into regression-testable metrics is how you avoid pretty scores and stalled projects. As models iterate, continuously maintaining your golden set matters more than chasing any single model release.
