# Summary: 2026-07-30_20-51-51Z_AgenticCodingintheWild_CharacterizingGitHubCopilot.md Saved: 2026-08-04 00:02 Source: 2026-07-30_20-51-51Z_AgenticCodingintheWild_CharacterizingGitHubCopilot.md Model: None --- ## Summary AI coding agents such as GitHub Copilot perform multi‑step LLM inference that is interleaved with external tool execution, creating a workload distinct from conventional chatbot interactions. This paper presents the first production‑scale analysis of Copilot traces collected in June 2026, revealing how these agentic sessions unfold and what system implications they have. The authors show that user activity consists of sparse turns that trigger autonomous loops of LLM calls paired with tool use, and that this pattern dramatically affects cache usage and idle time. Their findings provide an empirical foundation for designing infrastructure tailored to agent‑native workloads. ## Key Contributions - [Finding 1] Agentic coding sessions are dominated by sparse user‑initiated turns that each unfold into autonomous loops of LLM calls almost always coupled with tool execution. - [Finding 2] KV cache hit rates average 90 % within a single turn but fall to about 55 % across turn boundaries and are largely invalidated after model switches or context compaction. - [Finding 3] A lightweight idle‑time predictor is proposed that captures 86–90 % of total user idle time, enabling proactive decisions for efficient resource orchestration. ## Methodology The authors gathered a dataset of 3.2 million users, 13 million sessions, 761 million LLM calls, and 95 trillion tokens from real‑world Copilot usage in June 2026. They sampled these traces to reconstruct the full session graph, measured cache hit rates per turn, tracked token consumption for each workflow, and logged idle periods between user turns. The analysis was performed on a representative subset that preserves statistical significance while remaining computationally tractable. ## Results Within‑turn KV cache hit rates reach 90 %, but across turn boundaries they drop to roughly 55 %. After a model switch or context compaction, the hit rate collapses dramatically. Token usage varies widely: some turns consume only a few hundred tokens and resolve instantly, while others stretch into minutes of user idle time with long‑tail token consumption. The idle‑time predictor achieves 86–90 % accuracy in estimating total idle duration, highlighting that most waiting occurs at turn boundaries rather than during active coding. ## Significance These workload characteristics challenge the assumption that LLM serving systems operate on continuous, chatbot‑like interaction patterns. Instead, they demonstrate a bursty, agentic pattern with long idle gaps and high cache locality within turns. The empirical evidence provides a concrete basis for building infrastructure that can anticipate resource needs, schedule model switches, and allocate compute efficiently during these idle periods. ## Related Concepts - Agentic coding - KV cache (key‑value cache) - Context compaction - Idle‑time prediction - User‑initiated turn - Tool execution - Token consumption - Session graph reconstruction