Agent Evaluation Methodology: A Five-Stage Test for Model Agent Capabilities
This article presents a single-variable methodology for evaluating AI agent models. By keeping the framework, memory, skills, tools, and runtime settings identical and changing only the underlying model, it runs candidates through five test stages that increase in difficulty: skill packaging, page development, content and layout generation, knowledge base governance, and browser automation. It also covers environment consistency, common failure patterns, and how to balance capability, cost, and stability when choosing a model for long-running agents.
1. Why “Same Framework, Different Model” Is the Only Valid Comparison
A common mistake in engineering practice is running different models in different frameworks and then concluding that one model has stronger agent capabilities. Such conclusions are almost unusable, because agent behavior is determined by the model, prompt context, memory mechanisms, skill sets, tool permissions, and runtime constraints together. The model is only one variable.
A reliable evaluation must therefore enforce single-variable control: replicate multiple identical agent instances with the same memory contents, the same skill packs, the same system constraints, and the same list of callable tools, with the underlying reasoning model as the only difference. High reasoning settings should be enabled by default so that all candidates operate within the same capability range.
A trade-off also needs to be made clear: not every strong model is suitable as the primary model for a long-running, always-online agent. Some models are billed per call, making the cost of long-chain tasks unpredictable, while agents often need to stay online and be called repeatedly. Using strong models on demand in interactive design scenarios and using cost-controlled, stable models in the main agent workflow is a more practical division of labor.
2. Experiment Design: An Environment Consistency Checklist
To make the results credible, fix the following variables first:
- Keep system prompts and constraints identical, including output format, prohibited actions, and the confirmation policy for risky actions.
- Use the same memory and knowledge base snapshot to avoid contaminating results with memory differences.
- Keep the skill directory and metadata identical, including skill descriptions, trigger conditions, and parameter schemas.
- Use the same tool whitelist, with identical permissions for file read/write, terminal execution, browser, and retrieval.
- Keep runtime parameters identical, including temperature, maximum output length, timeout, and retry policy.
- Log the input and output token counts, latency, and failure types of every call to produce auditable records.
The following is an illustrative configuration structure (it only expresses the idea and is not a specific product interface):
agent:memory: snapshot_v1skills: [skill_pack_a, skill_pack_b]tools: [fs, shell, browser, retriever]policy:high_risk_action: confirmmax_steps: 40model:reasoning: hightemperature: 0.2max_output_tokens: 8192
3. The Five-Stage Evaluation: Increasing Pressure from Capability to Cost
Stage 1: Skill Packaging Capability
Task: Turn a long design-oriented system prompt into a publishable skill pack. The requirement is not to copy the original text but to package it as a ready-to-use capability, and to self-check potential failure points after producing the output.
Scoring criteria: whether the metadata is complete, whether trigger conditions are clear, whether parameters are verifiable, whether examples and error handling are included, and whether the self-check identifies real risks. If a model cannot even package experience reliably, there is no need to continue to later stages.
Stage 2: Page Development Capability
Task: Generate a runnable frontend page based on given requirements, including layout, state management, basic accessibility, and responsive adaptation.
Scoring criteria: first-pass success rate, structural readability, separation of styles and logic, handling of edge states, and whether unnecessary dependencies are introduced. The focus is on maintainability rather than visual showmanship.
Stage 3: Content Generation and Layout Design
Task: Produce a presentation outline and copy on the same topic, with clear hierarchy, reasonable information density, and consistent terminology.
Scoring criteria: structural completeness, factual consistency, whether the output is padded with empty phrases, and whether layout suggestions are actionable.
Stage 4: Knowledge Base Governance
Task: Deduplicate, classify, summarize, and rebuild the index for a batch of mixed documents, then answer cross-document questions.
Scoring criteria: classification accuracy, traceability of citations, handling of conflicting information, and incremental update strategy. This stage most heavily tests the coordination of long context and retrieval.
Stage 5: High-Consumption Browser Automation
Task: Complete multi-step operations in a web environment, including maintaining login state, filling out forms, verifying results, and rolling back on exceptions.
Scoring criteria: step success rate, number of unproductive loops, token consumption, and whether the risky-action confirmation policy is followed. This stage usually burns the most tokens and requires a hard budget cap.
4. Interpreting Results: Three Typical Failure Patterns
- Framework failure: the agent does not recognize local skills and executes risky actions without asking, indicating insufficient adherence to runtime constraints.
- Cost overrun: the same task consumes several times the baseline tokens, making it unusable in long-chain scenarios.
- Insufficient stability: the quota is consumed too quickly or the agent drops out midway through long tasks, making it unsuitable as an always-on primary model.
When attributing failures, separate “model capability problems” from “framework adaptation problems”: the former can be solved by switching models, while the latter requires changing prompts, revising skill descriptions, or tightening tool permissions.
5. Cost and Selection Recommendations
Establish budget guardrails: set token and step limits for each stage; adopt a tiered strategy for high-consumption tasks where a small model produces a draft and a large model performs verification; route high-frequency short tasks and low-frequency long tasks to different tiers; and use logs for continuous regression to avoid selecting models based on intuition.
6. Conclusion
Agent selection is not about choosing the “strongest” model but the one that best “matches the constraints.” Using the five-stage method for single-variable comparison within a unified framework, and putting cost, stability, and constraint adherence into the same scorecard, is how to find a model truly suited to long-running, always-online agents within a limited budget.
