mlsanityData to 7 Oct 2026

StaminaBench: Stress-Testing Coding Agents over 100 Interaction Turns

arXiv 2606.19613 ↗First posted 17 Jun 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

We introduce StaminaBench, a benchmark that measures the stamina of coding agents: how many consecutive interaction turns (change requests) they can handle before failing. Unlike the prevailing fraction-of-tasks-solved metric, this matches real vibe-coding where sessions run dozens or hundreds of turns. In StaminaBench, agents implement a REST API server and modify it across a tunable number of procedurally generated follow-up change requests - 100 in our experiments, resulting in codebases of up to 6,000 lines. Tests are generated fully programmatically without LLM involvement, ensuring reproducibility and reliability; change sequences are drawn from either a hardcoded or LLM-driven sampler, both constrained to a structured action space to ensure changes are valid. The agent and the server run in an isolated environment and communicate with the benchmark through HTTP, making testing fully black-box and language-agnostic. We evaluate six agent harnesses paired with seven open-source LLMs across 20 scenarios of 100 turns each and find that: (1) all the tested models fail within 5-6 turns, confirming that vibe-coding-style programming without thorough testing produces bugs; (2) passing test feedback back to the agent and allowing it to retry improves passed turn count by up to 12x; and (3) a good harness is required for strong performance: stronger models exhibit up to a 6x gap between their best and worst harness, while weaker models fail with any harness. We release the benchmark and the generated tasks to enable further research into multi-turn coding agent behavior. Benchmark code and data: github.com/amazon-science/StaminaBench.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 49 references that are in the map. First posted on arXiv 17 Jun 2026.

Builds on

29 of 49 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar
  2. 2026SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration4 Mar
  3. 2026LongCLI-Bench: A Preliminary Benchmark and Study for Long-horizon Agentic Programming in Command-Line Interfaces15 Feb
  4. 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios20 Dec
  5. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
  6. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec

Other references · 23

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  6. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  8. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  9. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  10. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 558
  11. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  12. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
11 more
  1. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
  2. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
  3. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
  4. 2025Measuring AI Ability to Complete Long Software Taskscited by 142
  5. 2025Vending-Bench: A Benchmark for Long-Term Coherence of Autonomous Agentscited by 75
  6. 2025UserBench: An Interactive Gym Environment for User-Centric Agentscited by 69
  7. 2025The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMscited by 62
  8. 2025CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generationcited by 16
  9. 2025FronTalk: Benchmarking Front-End Development as Conversational Code Generation with Multi-Modal Feedbackcited by 14
  10. 2025ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environmentscited by 13
  11. 2025LoCoBench: A Benchmark for Long-Context Large Language Models in Complex Software Engineeringcited by 11

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
  2. 2026SWE-Together: Evaluating Coding Agents in Interactive User Sessions
  3. 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation
  4. 2026VIBEPASS: Can Vibe Coders Really Pass the Vibe Check?
  5. 2026VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks
  6. 2026Coding-Agent Benchmarks Should Match Their Users' Task Flows
  7. 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolution
  8. 2026LiveClawBench: Benchmarking LLM Agents on Complex, Real-World Assistant Tasks