Evaluating LLM Agent Capabilities: Automation and Full-Stack Development Practices

    This article explores practical methods for evaluating Large Language Model (LLM) agents beyond subjective user experience. It defines three observable scenarios—long-chain automation, full-stack development, and legacy system troubleshooting—and proposes specific metrics, engineering constraints, and private evaluation sets to make model selection reproducible, measurable, and cost-effective.

    1. The Starting Point: Why “Subjective Feelings” Are Insufficient for Model Selection

    The most common feedback in the community sounds like “I used it for a few hours, and it feels much faster” or “The style is more like a certain model.” While valuable, such descriptions cannot be migrated to team decision-making: they lack task distribution, failure samples, and cost metrics. What truly needs to be answered are three engineering questions: Can it converge stably in long-chain automation tasks? Is the output maintainable during code generation and refactoring? Is the unit task cost acceptable under quota and latency constraints?

    Therefore, this article abstracts the original user experiences into three reproducible scenarios, defining observable metrics for each to form an evaluation baseline.

    2. Scenario 1: Daily Automation Task Orchestration

    Typical tasks include booking limited slots, passing human verification, completing online payments, generating reminders, and self-recovering during exceptions. The difficulty of these tasks lies not in single-step reasoning, but in long-chain convergence and failure self-healing.

    Recommended evaluation metrics are as follows:

    • Step convergence rate: The proportion of tasks reaching a terminal state within N steps;
    • Invalid tool call ratio: The proportion of repeated clicks, invalid scrolls, and loop retries;
    • Exception recovery rate: The proportion of cases where the agent can self-retry or change route upon encountering timeouts, verifications, or lost payment callbacks;
    • End-to-end latency: P50/P95 from trigger to terminal state.

    The key differences mentioned in the original experience lie here: early models “conduct long-term implicit reasoning behind the scenes, taking half an hour to reach the payment stage,” which is essentially excessive implicit thinking time with zero observability; the new generation of models performs with a “smooth flow,” which essentially means more compact tool call pacing and more explicit state advancement. The engineering response is not to rely on luck by switching models, but to add explicit state machines and budget constraints to the agent:

    1. task_budget:
    2. max_steps: 40
    3. max_wall_clock: 180s
    4. retry:
    5. on_timeout: 2
    6. on_verify_fail: 1 # Do not retry indefinitely on verification failure
    7. checkpoints:
    8. - after_payment_submit # Save state after payment submission to avoid duplicate charges
    9. observability:
    10. trace_every_tool_call: true

    The key takeaways are: turn “thinking” into a measurable resource, place irreversible actions like “payment” after checkpoints, and set hard limits for human verification failures.

    3. Scenario 2: Structured Output in Full-Stack Development

    When integrating models into intelligent programming tools for full-stack development, the evaluation focus shifts from “can it write the code” to “is the written code maintainable.” Observable dimensions include:

    1. Progress observability: Whether it periodically reports design intentions, rather than silently calling tools for a long time and throwing out conclusions all at once. The longer the silent period, the higher the correction cost for deviating directions.
    2. Design restraint: Whether it introduces abstraction layers, configuration items, and dependencies beyond requirements. Over-design translates into massive rework during code review.
    3. Instruction adherence: Whether the modification scope is strictly limited to the assigned files and functions.
    4. Review noise: Whether it produces a large number of “high-risk issue” lists that cannot be reproduced or located, consuming real fixing bandwidth.

    The original experience description of “the style is close to a certain assistant, reporting progress periodically, and modifying exactly what is pointed at” can be summarized as the combined advantage of interaction rhythm and design restraint. The implementation suggestion is to make the rhythm explicit, for example, by fixing a three-part output format in the prompt: current assumption, next action, and risk points; and adding change scope validation in the pipeline, directly rejecting changes outside the whitelist files.

    4. Scenario 3: Production Troubleshooting and Legacy System Integration

    Operations troubleshooting tests cross-system correlation capabilities. The most valuable point in the original experience is: the model located a real historical defect involving multi-system integration while reading logs. This capability can be decomposed into:

    • Log aggregation and timeline alignment capability;
    • Causal inference of cross-service call chains;
    • Hypothesis generation and validation suggestions for “sporadic, low-frequency, cross-version” defects.

    Engineering-wise, it should cooperate with unified logging services and monitoring alerts, correlating metrics, traces, and logs with the same trace ID, and then handing them over to the model for hypothesis ranking. Without a unified identifier, the model’s inference can only remain at the guessing level.

    5. Three Shortcomings That Must Be Acknowledged

    1. Weak computer use capabilities: End-to-end operations facing graphical interfaces (especially the click-through processes of legacy enterprise software) perform significantly weaker than pure text/tool calling paths. The reason is that interface elements lack stable semantic identifiers, making it difficult for the model to establish a reliable element location and state feedback loop. The mitigation strategy is to prioritize API or data layer interactions, and use accessibility trees instead of pixel-level operations when necessary.
    2. High legacy system adaptation cost: Legacy systems lack documentation and stable contracts, making it difficult for any model to succeed on the first try. It is necessary to first establish an operational baseline using recording and playback.
    3. Insufficient front-end aesthetics: The output in visual and interaction layers tends to be conservative, requiring design system constraints (component libraries, spacing, and color tokens), rather than relying on the model’s free play.

    6. Engineering Implementation Recommendations

    • Layered routing: Divert traffic by task type. Long-chain automation goes through low-latency, high-stability channels, while complex refactoring and troubleshooting go through strong reasoning channels, avoiding a single model bearing the entire load.
    • Build private evaluation sets: Accumulate 50 to 100 real tasks, covering four types of samples: success, timeout, payment exception, and interface change. Run regressions on every model or prompt change.
    • Quota and cost governance: Count tokens and call times per task, set daily/weekly budgets and downgrade strategies to avoid the extremes of “wasting quotas” and “sudden rate limits.”
    • Compliant access: Unified authentication, rate limiting, and auditing through a self-built gateway, complying with terms of service, and not pooling accounts as an availability method.

    7. Conclusion

    The new generation of models brings substantial experience improvements in tool call pacing, progress observability, and design restraint, but still has clear boundaries in GUI operations, legacy system adaptation, and front-end aesthetics. The rational approach is not to chase single-point feelings, but to establish scenario-based metrics, private evaluation sets, and layered routing mechanisms, making selection conclusions reproducible, regressable, and accountable.