arXiv 2606.13643 introduces RAH (Recursive Agentic Harness), a "harness recursion" technique for Coding Agents. The standout: RAH-augmented Agents hit 89.77% accuracy on long-context Coding tasks, up from 71.75% for the baseline Agent — an 18-point improvement.
The "harness recursion" insight: long-context Coding tasks (e.g., "modify this 100K-line codebase") require the Agent to maintain context across many turns. The traditional Agent loses context over time — after 20-30 turns, the Agent "forgets" important details from earlier turns. RAH's fix: the Agent can "recursively" call itself to re-establish context. When the Agent detects that it's losing context (e.g., low confidence in its current action), it spawns a "child" Agent that re-reads the codebase and provides a fresh context summary.
The technical details: RAH is a "harness" technique, not a model technique. It works with any underlying model. The recursion is bounded (max 3 levels of recursion) to prevent infinite loops. The "child Agent" uses a more concise context representation (a "context summary") to keep the token cost low.
The benchmark: on the SWE-Bench-Long benchmark (long-context coding tasks), RAH-augmented Agents hit 89.77%, vs 71.75% for the baseline. The improvement is most dramatic on tasks with 50+ turns — exactly the cases where the baseline Agent loses context.
The bigger takeaway: "harness recursion" is the right approach for long-context Agents. The "single Agent does everything" approach is wasteful, and the "recursive harness" approach is significantly more robust. For the industry, this signals that "Agent architecture" will move to recursive designs, and the next round of Agent efficiency improvements will come from "how smart the recursion is."