Evaluating LLM Agent Capabilities: Failure Modes and Improvement Paths for Multi-Step Web Research Tasks
This article examines why multi-step web research is a strong test of LLM agent capabilities and breaks the task into five stages: intent parsing, retrieval planning, information extraction, structured integration, and decision-making. It identifies four common failure modes—hallucinated completion, excessive conservatism, mid-task stalling, and unit or scope drift—along with practical improvements for each. The article also provides a reusable prompt skeleton, a lightweight validation function, five evaluation dimensions that prioritize verifiability over surface quality, and guidance for embedding evaluation into a repeatable engineering workflow. Readers will learn how to shift assessment from whether an answer looks right to whether the process is auditable and the conclusion is traceable.
1. Why Multi-Step Web Research Is a Litmus Test for Agent Capabilities
As general-purpose LLMs move from answering questions to completing tasks, agent capability has become the core measure of practical value. Agent capability is not just about producing fluent text. It is about whether a model can autonomously close the loop—understanding a goal, breaking it into steps, calling tools, integrating results, and delivering a conclusion—without step-by-step human guidance.
Multi-step web research works well as an evaluation sample for three reasons:
- Long chains with tight coupling. Tasks typically involve retrieving multiple sources, extracting structured fields, aligning definitions, aggregating results into a table, and then making recommendations based on that table. An error in any step distorts the final output.
- Uncontrollable external dependencies. Web results are time-sensitive and volatile. The same question may return different pages at different times, which naturally tests how a model handles uncertainty.
- Conclusions carry accountability. Users want more than a table. They want a judgment on how to choose under a given usage level. This requires the model to commit to a conclusion when evidence is sufficient and to flag uncertainty explicitly when it is not.
The evaluation focus should therefore shift from whether an answer looks right to whether the process is verifiable and the conclusion is traceable.
2. Breaking Down the Task Chain: Five Stages Every Research Agent Must Pass
Abstracting “research API pricing for mainstream LLMs and provide selection advice” into a general task yields five stages:
- Intent parsing: Recognize that the goal is a price comparison plus selection advice, not a broad industry overview.
- Retrieval planning: Determine which model categories to cover and which fields to collect (input and output unit prices, billing units, tiered or caching discounts, and so on).
- Information extraction: Extract values and units from heterogeneous pages and normalize them to a per-million-token basis.
- Structured integration: Produce a stable, readable comparison table, explicitly marking missing fields rather than omitting them.
- Decision and expression: Give an explainable recommendation under a clear constraint (for example, roughly one million tokens per day) and state sensitivity—whether a change in usage structure would change the conclusion.
The key engineering implication is that evaluation must inspect intermediate artifacts. Looking only at the final answer can mistake fabricated data for a completed task.
3. Four High-Frequency Failure Modes and Their Causes
3.1 Hallucinated Completion: The Most Hidden and Most Dangerous
The most typical failure in web retrieval tasks is not “cannot find it.” It is filling gaps with plausible-looking numbers after retrieval fails. The table looks complete and well formatted, but some values have no source. Such output is visually deceptive and creates real risk once it enters procurement decisions.
Improvement: Enforce “no source, leave blank.” Define field-level evidence requirements in the prompt, attach a source identifier to every value, and add a validation pass that treats any missing citation as a failure.
3.2 Excessive Conservatism: Enough Evidence but No Conclusion
Some models perform well in retrieval and aggregation, with reasonably broad coverage, but avoid judgment at the last step and only list information without advice. For users, this pushes the decision cost back to them.
Improvement: Make judgment an explicit deliverable. Require a three-part structure—conclusion, rationale, and preconditions—and allow the model to state assumptions.
3.3 Mid-Task Stalling: Lack of Momentum in Multi-Step Tasks
Good structured output ability does not prevent a model from stopping halfway to wait for confirmation. This is another common problem that keeps long-chain tasks from running to completion automatically and weakens the practical value of the agent.
Improvement: In system design, distinguish what can proceed autonomously from what requires human confirmation. For example, make irreversible write operations confirmation points, while read-only retrieval and aggregation proceed by default.
3.4 Definition Drift: Inconsistent Units and Scope
Mixing “price per thousand tokens” with “price per million tokens,” or placing cache-hit prices next to standard prices without explanation, makes the comparison table meaningless.
Improvement: Fix units and field definitions in the prompt, and add a “definition notes” column to the output template.
4. A Reusable Prompt and Validation Skeleton
The following is an illustrative prompt structure. The emphasis is on constraining evidence and progression rules rather than wording:
Goal: Research API pricing for several categories of general-purpose LLM services, output a comparison table, and provide selection advice.Constraints:1) Normalize to "per million tokens," listing input and output prices separately;2) Every value must include a source identifier; if not retrieved, enter "Not obtained" and do not speculate;3) The entire process is read-only, requires no mid-task confirmation, and runs continuously until output is complete;4) Use a three-part conclusion: Conclusion / Rationale / Preconditions and sensitivity.Output: Markdown table plus a conclusion paragraph.
The accompanying programmatic validation can be lightweight but blocks most hallucinations:
def validate(table_rows, evidence_map):errors = []for row in table_rows:for field in ("input_price", "output_price"):val = row.get(field)if val in (None, "", "Not obtained"):continueif not evidence_map.get(row["model"], {}).get(field):errors.append(f"{row['model']}.{field} missing source")return errors
5. Evaluation Dimensions: From “Looks Right” to “Verifiable”
Replace subjective impression scoring with five dimensions:
- Coverage: Whether the objects and fields that should be researched are complete.
- Faithfulness: Whether every value can be traced back to a source, with no unsupported completion.
- Definition consistency: Whether units, time ranges, and price types are aligned.
- Progression completeness: Whether the full chain runs in one pass, with no unnecessary stalls.
- Decision usability: Whether the conclusion is clear and whether preconditions and sensitivity are stated.
Faithfulness should be a veto item: no matter how polished the table is, the presence of any unsourced value makes the whole output fail.
6. Engineering Implementation: Embedding Evaluation into Daily Development
Evaluation should not be a one-off action. It should become a repeatable pipeline:
- Fix the sample set: Select several time-sensitive research questions and run regression tests periodically.
- Retain intermediate traces: Record search queries, candidate sources, and extraction results to locate the failing stage.
- Connect monitoring and alerting: Set thresholds for metrics such as failure rate and average progression steps, and send alerts through monitoring when anomalies occur.
- Archive artifacts: Store report-type outputs in object storage for auditing and reproduction.
- Manual spot checks: Review conclusion sections at a set ratio to form a feedback loop and continuously refine prompts and validation rules.
7. Conclusion
For developers, judging whether a model is practical means looking at whether it stays faithful and keeps progressing in long-chain tasks with strong external dependencies. That matters more than the polish of a single-turn answer. Writing evidence constraints, unit alignment, and read-only default progression into prompts and validation, together with repeatable regression evaluation and alerting, turns “looks completed” into “can be verified as completed.” This is a key step in moving agent capability from demonstration to production.
