ResearchResearch paperEfficiency & Inference · Reasoning & Planning1 source · Oct 10, 2026

TurnCost: Turns, Not Observations: Cache-Aware Loop Engineering for Coding Agents

We analyze 600 publicly released coding-agent trajectories spanning two agent scaffolds and two language models.

Key points

  • AI coding agents operate in iterative loops: they modify code, run tools, inspect the results, and decide what to do next.
  • We call the design of this process loop engineering, which includes context management, model selection, compaction, and termination.
  • We derive and empirically validate a closed-form break-even condition for model delegation.
  • We release TurnCost, a tool for re-scoring trajectory corpora under alternative caching, pricing, compression, and routing policies.

Sources (1)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 10, 2026BridgeWAM: Bridging Video and Action Experts via Latent Bridge Queries
  2. Oct 9, 2026Beyond Domain-Routed Supervision: Cross-Teacher Guarding for Multi-Teacher On-Policy Distillation
  3. Oct 9, 2026Learning Representations to Guide Pixel Diffusion Transformers
  4. Oct 9, 2026Latent World Action Model for GUI Agents
  5. Oct 9, 2026Surfing the Activation Wave: Analyzing the Information and Geometry of LLM Hidden States for Speculative Decoding
  6. Oct 9, 2026Rethinking Relative Policy Differences Transfer of On-Policy Distillation

Related