Your Agent Aced the Task. Will It Do It Again?

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Agents that look 77% accurate on averages may fail the same repeated task nearly half the time, teams evaluating agents should report Pass^k alongside Mean@k before trusting them in production.

Read this as

Hugging Face researchers found that AI agents that succeed at a task once often fail it when the same request is repeated, because their decisions come from near-tied choices that flip between runs. They built a tool, the Consistency Analyzer, that spots these unstable decision points and generates written guidelines to make the agent pick the same path every time. In tests on a benchmark called AppWorld using OpenAI's GPT-4.1, the method roughly halved this inconsistency without hurting overall accuracy. It matters to anyone relying on agents for tasks like financial reconciliation where repeating a result is essential.

A GPT-4.1 agent scoring 77.4% on average across five runs on AppWorld succeeded on all five runs for only 53.0% of tasks, meaning nearly a quarter of the benchmark is solved unpredictably. Hugging Face's new consistency guidelines cut that gap from 24.4 to 12.0 percentage points while average accuracy held or improved, and gains transferred to related tasks. Teams deploying agents for mission-critical workflows gain a free, open-source diagnostic; no pricing, deployment costs or production case studies are given.

The paper distinguishes Mean@5 (77.4% for a ReAct GPT-4.1 agent on AppWorld test_normal) from Pass^5 (53.0%), defining the 'consistency gap' as the difference. The Consistency Analyzer resamples each decision step of one recorded trajectory with a single call drawing k=5 completions, no logits, ground truth, or end-to-end replay, to find flip-prone steps, which are converted into ALTK-Evolve consistency guidelines. Results: Pass^5 53.0%→69.0%, Mean@5 77.4%→81.0%, similar-task +13.0pp, gpt-oss-120b +6.0pp. Evaluated on 168 tasks; it targets instability, not failures, so genuinely broken steps are out of scope.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

ALTK-Evolve Consistency Analyzer AppWorld GPT-4.1 gpt-oss-120b Pass^k Mean@k

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading