ReAct Pattern: Interleaving Reasoning and Action for LLM Agents › Evaluating ReAct Agents
Language AI HandbookAll chapters ReAct Pattern: Interleaving Reasoning and Action for LLM Agents › Evaluating ReAct AgentsOne section · Sections in this chapter11 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Evaluating ReAct agents is more complex than evaluating a single forward pass, because there are multiple dimensions of quality to assess. The final answer is the most obvious metric, but it is not the only thing that matters.
Answer Accuracy
The most direct metric is whether the final answer is correct. For factual question-answering benchmarks like HotpotQA (multi-hop questions) and FEVER (fact verification), ReAct was evaluated against pure chain-of-thought baselines. The original Yao et al. paper showed that ReAct improved accuracy by 3-8 percentage points on HotpotQA and substantially more on tasks requiring current information that was absent from the model's training data.
Trajectory Efficiency
A correct answer reached in 3 steps is better than the same correct answer reached in 8 steps, because fewer steps means fewer tokens, lower latency, and lower cost. Efficiency is measured as the number of tool calls required to reach the correct answer, averaged across a test set. An agent that makes redundant or irrelevant searches has low trajectory efficiency even if it eventually reaches the right answer.
Error Recovery Rate
When the agent encounters an obstacle (a failed search, an ambiguous result, a calculation error), does it recover? You can measure this by deliberately introducing failures in the tool responses and observing whether the agent adapts. A well-designed agent should recover from a majority of single-step failures. Recovery from multi-step errors (where an early incorrect observation cascades into wrong subsequent actions) is harder and depends heavily on the model's ability to revisit assumptions.
Faithfulness
The thought trajectory should accurately reflect the reasoning behind each action. An unfaithful trajectory might show a thought saying "I need to search for Hemingway's birthplace" while generating a completely unrelated action. Faithfulness can be measured by checking whether the action logically follows from the thought. While this is partially qualitative, it is important for interpretability and for building user trust.

The radar chart illustrates a consistent pattern: larger models score higher across all four evaluation dimensions, with the greatest gains in error recovery and faithfulness. This makes intuitive sense. Error recovery requires recognizing that a previous step was wrong and formulating a correction, which demands more sophisticated reasoning than simply following a familiar pattern. Faithfulness requires the thought and action to be internally consistent, which benefits from the model's ability to maintain coherent multi-step reasoning.