2026-10-11 17:10 UTC

GitHub claims over-compressing coding-agent tool output can increase total inference cost by triggering additional tool calls or retries, making task-level cost a better optimization target than per-call token count.

state: expiredheat: lowuncertainty: mediumconvergesscott: highinference-economics coding-agents context-managementGitHubGitHub Copilot

What is this?

GitHub published analysis on token efficiency in GitHub Agentic Workflows, arguing that per-turn improvements can be obscured by workload complexity and aggregate task costs. Related GitHub Copilot material says quality misses consume extra tokens through fixes, reviews, and additional agent runs, supporting optimization around successful task completion rather than isolated call size. The supplied snippets do not directly establish GitHub’s specific claim that over-compressed tool output causes retries, although third-party results describe tool-output compression and the compounding cost of multi-step agent loops.

Why it matters to Scott

GitHub’s task-level cost framing independently converges with Scott’s Mature Token Law and AI Unit Economics, while the claimed compression failure mode directly bears on Ask’s deliberately lossy `--compact` implementation and creates a concrete benchmarking opportunity. The exact compression→retry mechanism remains provisional because the supplied grounding does not directly establish it.
ip:framework.the-mature-token-lawip:concept.ai-unit-economicsip:framework.code-first-architecturedev:project.askradar:rtk-coding-agent-cost-regressionradar:tokencompress-agent-context-pruningradar:swe-pruner-pro-internal-context-pruningradar:frontierharness-17x-cost-variation
queries asked of Scott's wikis
  • coding-agent task-level economics vs per-call token efficiency
  • lossy tool-output compression and agent retry rates
  • context pruning trade-offs in coding-agent harnesses
  • tool-result fidelity and successful task completion
  • measuring end-to-end cost in iterative agent loops

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

no chain yet — the hourly chain pass fills this in

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnGitHub: Shorter tool outputs can make coding agents more expensivelbw121510
🟧 echo.blog ⭐GitHub describes how shorter tool outputs can make coding agents more expensive when lost information produces additional work.GitHub——

Interpretation history

Decision trace