Horizontal Evaluation Methods and Task Level Design for LLM-Driven Agents
This article explores a practical methodology for horizontally evaluating large language models (LLMs) used as the "brains" of AI agents. It outlines why standard chat benchmarks are insufficient for agent scenarios and details a comprehensive evaluation framework covering experiment environment setup, five progressive task levels, key evaluation metrics, and cost control strategies. By following this approach, development teams can accurately match model capabilities with real-world workloads and make informed selection decisions within a short timeframe.
As the capabilities of large language models (LLMs) rapidly evolve, an increasing number of developers are integrating these models into Agent frameworks, enabling them to autonomously perform complex tasks such as coding, document organization, and data processing. However, a model’s performance within a chat window often differs significantly from its actual performance as an Agent “brain” operating over long, multi-turn interactions with tool calls. A model that generates impressive answers may not necessarily maintain stable performance in an Agent scenario. Therefore, designing a fair, reproducible, and real-world-aligned horizontal evaluation scheme has become a critical technical issue during model selection. This article presents an actionable evaluation methodology from four perspectives: experimental design principles, task level construction, evaluation metrics, and cost control.
I. Why Agent Scenarios Require Independent Evaluation
Many developers are accustomed to judging model quality based on chat experience or single-turn accuracy, which leads to severe misjudgments in Agent scenarios. There are three main reasons for this:
First, task formats differ. Conversations involve one-time generation, whereas Agents operate in multi-turn loops: perceiving the environment, planning steps, calling tools, reading results, and revising strategies. The model must consistently maintain instruction-following capabilities within a long context. A single instance of “forgetting constraints” or “misinterpreting tool returns” can cause the entire chain to fail.
Second, constraint systems are more complex. Agents typically carry system prompts, skill packs, memory files, and tool inventories. The model must understand and obey multiple sets of rules simultaneously. Some models perform excellently in base chat mode but, once a skill framework is added, exhibit “framework failure” phenomena—such as being unable to recognize local skill definitions or skipping confirmation for high-risk operations. This is unacceptable in production environments.
Third, cost structures differ. A single Agent task may consume hundreds of thousands or even millions of tokens. Differences in inference output length between models are multiplied exponentially. For the same task, some models produce verbose, staggering consumption, while others remain concise and efficient. Focusing only on unit price while ignoring total consumption can easily cause budgets to spiral out of control.
Therefore, Agent selection must establish an independent evaluation system rather than adopting conclusions from general benchmarks.
II. Experiment Environment Setup: Strictly Controlling Variables
The first principle of horizontal evaluation is variable control. The recommended approach is to replicate a completely identical Agent instance for each candidate model, ensuring that all factors except the model itself are exactly the same. This specifically includes:
- Consistent Memory: All instances load the same long-term memory files to avoid unfair prior advantages caused by context differences.
- Consistent Skills: Mount the exact same set of skill packs, with identical skill descriptions, parameter definitions, and trigger conditions.
- Consistent System Settings: Unify configurations such as temperature, system prompts, loop limits, and tool call formats.
- Consistent Tools: Ensure the number, names, and return formats of callable tools are completely identical.
- Consistent Inference Tiers: For models that support adjustable inference intensity, either uniformly set to the highest tier or uniformly use the default tier, clearly noting this in the report.
An easily overlooked detail here is that the Agent framework used for evaluation should ideally be an environment the evaluator has long used and fully refined. This ensures the model faces a “mature user’s work site” rather than unfamiliar proprietary terms and unknown constraints, giving the evaluation results transfer value for real-world scenarios.
Additionally, the candidate model filtering logic must be clarified. Beyond comprehensive capabilities, availability and cost constraints should be considered. Some top-tier models have high API costs and limited quotas; while highly capable, they may not be suitable as the primary engine for long-running Agents and are better suited for on-demand use in interactive scenarios. The goal of selection evaluation is to find the balance point among “capability, stability, and cost,” rather than simply pursuing peak performance.
III. Five Task Level Designs
To avoid a dry enumeration of test cases, it is recommended to design tasks as progressively challenging levels. Each level tests a core capability; failing a previous level means subsequent levels need not continue—this inherently forms an efficient screening funnel.
Level 1: Skill Packaging Capability
Task Objective: Organize and encapsulate an existing prompt engineering experience document (e.g., complete prompts for a design assistance system) into a publishable skill pack that other users can install and use immediately.
This level is an upgraded test of document organization, examining whether the model can do three things: first, accurately extract capability boundaries and use cases from the raw material rather than mechanically copying text; second, generate structured meta-information, trigger conditions, and execution flows according to skill specifications; third, possess self-checking awareness—explicitly requiring “self-check after output and point out potential error points in the skill” to see if the model can actively identify ambiguous instructions, missing constraints, or abnormal branches. Skill packaging is the first level because it is the foundational action for an Agent’s continuous evolution. A model that cannot stably solidify experience is unqualified for more complex tasks.
Level 2: Web Development
Task Objective: Given a product requirement description, the Agent autonomously completes front-end page structure setup, style writing, and interaction logic implementation, verifying runnability in a local environment.
This level comprehensively tests code generation quality, multi-file coordination, and toolchain proficiency. Evaluation points include: whether the page renders successfully on the first try, whether the layout matches the requirement semantics, whether interaction logic has obvious flaws, and whether the agent can independently locate and fix errors. It is recommended to record the total rounds and total token consumption “from command to page availability”—the latter often exposes model efficiency differences better than the former.
Level 3: Presentation Design and Copywriting
Task Objective: Based on a given thematic outline, produce a presentation with a complete structure, reasonable layout, and satisfactory copy.
This level simultaneously tests the model’s content organization ability and aesthetic consistency. Pure text models often expose shortcomings here: smooth copy but chaotic layouts, or visually acceptable but hollow content. During evaluation, scores can be split into a content quality dimension and a presentation quality dimension to avoid single impression scores masking issues.
Level 4: Knowledge Base Management
Task Objective: Perform insertion, indexing, updating, and retrieval Q&A operations on a set of heterogeneous documents, simulating cleanup and rebuilding after knowledge expiration.
This level tests long-context consistency and state management. The Agent must remember which documents are in the database, how the index structure is organized, and which entries an update affects. Common failure modes include duplicate insertions, retrieving deleted old versions during searches, and losing early constraints after multiple operations. This level is particularly critical for primary models that must remain “online without dropping” for long periods.
Level 5: Browser Automation Stress Test
Task Objective: Direct the Agent to drive a browser through multi-step online workflows, such as information retrieval, form filling, and cross-page data summarization.
This is the “stress test level” for token consumption. The accessibility tree of browser pages is massive; each step may inject thousands of tokens of context, sharply amplifying reasoning length differences between models. There are many community cases of “a certain model consuming several times that of its peers in a single task,” mostly occurring in such scenarios. This level must record both the success rate and total consumption; only the combination yields a true cost-performance conclusion.
IV. Key Evaluation Dimensions and Safety Red Lines
Synthesizing the results of the five levels, it is recommended to establish a scoring table across the following dimensions:
- Task Success Rate: Whether each level was completed independently and how many manual interventions were required.
- Framework Adherence: Whether skill packs were correctly identified and called, and whether system constraints were followed.
- Safety Mechanisms: Before executing high-risk actions (like deleting files, sending external messages, or financial operations), does the model actively request human confirmation? This is a veto item—any behavior bypassing the confirmation mechanism means the model is unsuitable for production Agents.
- Token Efficiency: Input/output token volume per unit task, converted to actual cost based on API unit price.
- Inference Stability: Response latency and timeout rate under high inference tiers, and degradation over long periods of operation.
A special reminder: newly opened capabilities like visual understanding (e.g., image recognition modes) often have promotional discounts. Evaluations should distinguish between “cost-effectiveness under promotional pricing” and “cost-effectiveness under regular pricing” to prevent selection conclusions from expiring when promotions end.
V. Cost Budgeting and Report Generation
Finally, it is recommended to organize the API unit prices, subscription tiers, and promotional policies of candidate models into a comparison table, cross-calculating with the actual consumption from the five levels to derive the “expected cost per 100 standard tasks.” Concurrently, output use-case recommendations for each model: which is suited for high-frequency coding tasks, which for long-term online duty, and which is only recommended for on-demand calls in interactive scenarios.
The value of a good horizontal evaluation lies not in declaring “the strongest model,” but in matching the most appropriate engine to different load profiles. By following the four principles—controlling variables, progressive levels, safety veto, and full cost accounting—any team can complete a credible Agent model selection within two weeks, laying a solid foundation for subsequent automated workflow construction.
