Benchmarking LLM Agent Capabilities: A Controlled Evaluation Framework for Real-World Agent Performance

    Public leaderboard scores for chat and reasoning do not reliably predict how LLMs behave in agentic settings. This article presents a controlled, single-variable evaluation practice for comparing models as agents: identical memory, skill libraries, system prompts, tools, and reasoning settings, with only the underlying model changed. It describes a five-stage task suite covering skill packaging, web development, slide and copy generation, knowledge base management, and browser automation, then discusses key metrics such as skill recognition, risk confirmation, token economy, and long-task stability. It also offers practical recommendations for building repeatable agent evaluations and cost models.

    1. Why Model Evaluation Must Be Redone for Agent Scenarios

    Many teams choose LLMs by referring directly to public leaderboard scores for conversation or reasoning. In real agent scenarios, however, model behavior often diverges noticeably from leaderboard rankings. The reason is that agents demand much more than the ability to answer questions. A model must also reliably understand system prompts, accurately identify local skills and tools, proactively confirm before executing high-risk actions, control token consumption reasonably, and maintain context consistency across long tasks.

    As a result, model evaluation for agent scenarios must be built as a controlled comparison experiment with tightly managed variables, rather than a loose process of “trying each model for a few days and judging by feel.”

    2. Experimental Design: Controlled Variables Are a Prerequisite for Credible Evaluation

    The core idea of this practice is to set up multiple identical agent runtime environments and replace only the underlying model while keeping all other conditions unchanged. Specifically:

    • Consistent memory system: all instances share the same long-term memory to avoid response bias caused by memory differences.
    • Consistent skill library: the same local skill files are preloaded to test each model’s ability to recognize and invoke skills.
    • Consistent system prompt: the same system settings are used to observe how different models follow constraints.
    • Consistent available tools: the same toolset is exposed, including file read/write, code execution, browser operations, and other tools.
    • Consistent reasoning level: for models that support a high reasoning setting, high reasoning is enabled uniformly to align computational effort as closely as possible.

    This “single-variable comparison” design makes it possible to attribute differences in results to the model itself rather than to environmental noise.

    3. Task Design: Using Stages Instead of Mechanical Test Cases

    To cover typical agent capabilities without turning the evaluation into a dull lab report, I organized the tasks into five progressive stages:

    Stage 1: Skill packaging capability. The model is given a long prompt document and asked to organize it into a publishable, reusable skill package, while also self-checking for possible errors. This stage is essentially an upgraded version of document understanding and structured output. If a model cannot reliably package existing experience into a skill, more complex tasks later in the evaluation are largely meaningless to test.

    Stage 2: Web development. The model is asked to generate a fully functional front-end page with reasonable styling from scratch. This tests code generation completeness, first-pass success rate, and self-correction ability.

    Stage 3: Presentation and copy generation. This stage comprehensively evaluates long-text organization, layout logic, and aesthetic judgment. It is a soft metric focused on “generation quality” rather than “whether it runs.”

    Stage 4: Knowledge base management. The agent is asked to archive, tag, and index local documents, testing its compliance with file system operations and its ability to design metadata.

    Stage 5: Browser automation. This is the most token-intensive stage. Through multi-step web operation tasks, it observes planning ability, failure recovery ability, and token economy in long-chain tool calls. For the same task, token consumption across different models can differ by several times, which directly determines cost feasibility in production environments.

    4. Key Evaluation Dimensions and Common Failure Modes

    In actual testing, I summarized several dimensions that deserve the most attention in agent scenarios:

    1. Skill recognition rate: whether the model can accurately determine which local skill should be triggered for the current task. Some models ignore skills that clearly exist, which can cause the entire agent framework to fail.
    2. Risk confirmation awareness: whether the model proactively confirms with the user before executing high-risk actions such as deleting files or sending requests. This is a baseline indicator of agent safety.
    3. Token economy: token consumption for the same task can vary by several times. In long-running agent scenarios, this often determines total cost more than unit price.
    4. Long-task stability: whether the model still remembers initial constraints after multiple rounds of tool calls, and whether context drift occurs.

    5. Engineering Recommendations

    • Bucket capabilities first, then compare in detail: use low-cost tasks to quickly filter out unqualified models, then stress-test candidate models in high-cost scenarios.
    • Record full trajectories rather than only results: tool call sequences and intermediate reasoning processes are critical for locating problems.
    • Build reproducible evaluation scripts: run regression tests after each model version update to avoid “degradation after launch.”
    • Calculate the total cost model: a comprehensive assessment of unit price × token usage × call frequency is closer to real cost than comparing unit prices alone.

    6. Conclusion

    There is no universal answer for model selection in agent scenarios. Different models emphasize different strengths in skill packaging, code generation, tool-call stability, and cost. Rather than relying on leaderboards or reputation, it is better to spend one day building a controlled comparison environment and run a complete evaluation using tasks that actually appear in your own business. Data does not lie, and the evaluation framework itself will continue to generate value as the business evolves.