Analysis of 413K AI Agent Runs Reveals What Makes Them Succeed

A new analysis of 413,278 AI software engineering agent runs from the CoderForge-Preview dataset reveals what separates successful from failing runs. The study examined 17 billion tokens of behavioral data, comparing passing versus failing runs on identical problems.
Key Findings from the Data
The analysis shows that common human software engineering practices can actually reduce AI agent performance. Here are the specific patterns that emerged:
- Stop telling agents to "look around first": Forcing agents to grep or view files before editing reduces effectiveness. Unlike humans with limited working memory, agents already have the codebase in their context window. Early turns spent searching and exploring indicate the agent is flailing rather than learning.
- Test-driven approaches are mandatory: The single biggest predictor of successful runs is the fraction of early bash commands dedicated exclusively to running tests. Agents should not edit blindly—system prompts should enforce running the test suite immediately.
- Keep agents on a tight leash: If an agent tries to edit 3 or more files in the first 30% of its run, success rates drop significantly. Scattering edits across multiple files indicates confusion. Force agents to fix one thing at a time.
- Perseverance is an illusion: If an agent runs the exact same bash command twice early in the run, it's stuck in a loop rather than "thinking hard" or "trying again." Break the loop or restart the run.
Practical Implementation Changes
The analysis recommends specific changes to agent scaffolding:
- Stop using prompts like:
"Explore the codebase, read the relevant files, and figure out the bug." - Instead, use:
"Run the test suite immediately to verify the baseline. Make targeted changes to a maximum of 1 or 2 files. Rerun tests."
The key insight is to stop projecting human limitations onto LLMs. Let them use their massive context windows and force them to prove their work with tests.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Anthropic Removes Gmail Message Body Access from Claude Connector
Anthropic has removed the gmail_read_message and gmail_search_messages tools from the Gmail connector, replacing them with get_thread and search_threads that no longer return message bodies or attachment content.

GLM-5.1 Released with Coding Performance Matching Claude Opus 4.5
Zhipu AI's GLM-5.1 model is now available to all Coding Plan users, achieving 77.8 points on SWE-bench-Verified and 56.2 points on Terminal Bench 2.0. The model features a 200K context window, 128K max output, and 744B parameters with 40B activated.

Claude Agent SDK Billing Changes June 15: Per-User Credits, No Rollover, Hard Cliff
Starting June 15, Claude Agent SDK usage and claude -p stop counting against subscription limits. Each user gets a separate monthly credit (e.g., Pro $20, Max 5x $100). Credits don't pool, don't roll over, and have a hard cliff.
Transformer Language Model Runs Locally on Stock Game Boy Color
Andrej Karpathy's TinyStories-260K model runs on a stock Game Boy Color via a custom ROM, using INT8 fixed-point math and bank-switched cartridge memory for weights and KV cache.