Fetching from the wire…
Public story · 2026-08-04 · high
A deterministic wrapper adds zero extra LLM calls, cutting GPT-5 mini's SWE-bench cost 28.9% while lifting accuracy, per the study's 500-instance benchmark.
Why now: The paper and two companion studies on agent context spending all surfaced in the August 4, 2026 briefing.
A runtime wrapper called Ledger raised GPT-5 mini's SWE-bench Verified pass rate from 56.2% to 64.2% while cutting total cost 28.9%, according to a paper posted to arXiv.
The result isn't a cherry-picked subset. It's all 500 SWE-bench Verified instances, and the gain held on a second model: MiniMax M2.5 went from 75.8% to 81.0% with cost down 31.8%. Plugged into OpenAI Codex, Ledger added 3.4 points at 24.4% lower cost.
Ledger doesn't touch the agent itself. It tracks what's been observed, modified, and attempted across a session. Then it acts on that record at two points.
The inform path appends a compact state summary to the prompt. The govern path checks each proposed command against the ledger. If a result's still valid, it hands that back instead of letting the agent re-run the command, and flags the repeat. Neither path costs an extra model call.
The paper's ablation splits the credit cleanly: govern drives most of the accuracy gain, inform drives most of the savings. That's useful if you're deciding which half to build first.
A companion paper tested prompt wording across six models. Asking a model to develop and compare several approaches alone multiplies reasoning-token spend 2.4 to 7.4 times. A bounded prompt, stating scope and a stop condition, is cost-neutral and can cut reasoning roughly in half.
Wix's Helpmate found a similar pattern in skill selection. Filtering by what an account can actually execute, rather than by relevance, cut context 90.5% across 756,600 messages. Replaying 1,000 risk-enriched conversations with everything exposed, the model picked a production-blocked skill 7.8% of the time.
I'm building the govern path next.
Each link below shares sources, entities, or timing with this story.
Anthropic released Claude / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Anthropic released Claude); both cover GitHub, Pass, SWE, Verified; reported by the same outlet (arxiv.org).
Gemini competes with Claude / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Gemini competes with Claude); both cover CLAUDE, GPT, LLM, Then; reported by the same outlet (arxiv.org).
Anthropic released Claude / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Anthropic released Claude); both cover GPT, Pass, SWE, Verified; reported by the same outlet (arxiv.org).
GPT competes with Claude / Shared entities / Shared topic / Earlier coverage / Tension
Linked by a graph relationship (GPT competes with Claude); both cover GPT, LLM, SWE, Verified; overlapping topics (context, cost, model).
Anthropic released Claude / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (Anthropic released Claude); both cover Claude, GitHub, GPT, MiniMax M2; overlapping topics (agent, cost, model).
Cursor supports Claude / Shared entities / Same source domain / Shared topic / Earlier coverage
Linked by a graph relationship (Cursor supports Claude); both cover GPT, LLM, Most, Then; reported by the same outlet (arxiv.org).
LLM uses OpenAI / Shared entities / Same source domain / Shared topic / Earlier coverage / Tension
Linked by a graph relationship (LLM uses OpenAI); both cover GPT, LLM, Then; reported by the same outlet (arxiv.org).
DeepSeek criticizes Claude / Shared entities / Shared topic / Earlier coverage
Linked by a graph relationship (DeepSeek criticizes Claude); both cover Claude, SWE, Then, Verified; overlapping topics (context, cost, model).