Microsoft Analyzes 13.5M Copilot Sessions: Why Agent Scheduling Differs from Chat
rohanpaul_ai · x · 2026-08-09
A new Microsoft paper analyzing 13.5 million GitHub Copilot production sessions reveals that infrastructure scheduling for coding agents must fundamentally differ from standard chat requests.
- Call Distribution: 87% of LLM calls are initiated autonomously by the agent rather than the user. A single prompt fans out into chains of model calls, tool actions, and retries.
- KV Cache Behavior: Cache hit rates depend heavily on workflow position. Within a single turn, hit rates rise from 45% on the first call to 92–94% by the third. However, it plummets to 55% at turn boundaries and 8% when switching models.
- Idle Times: Median KV-cache idle time is 1.2s within a turn versus 172s across turns. Container idle time jumps from 5.8s to 243s.
- Scheduling Implications: Using turn- and session-level features, the paper's lightweight predictor captures 86–90% of total idle time. Infrastructure should schedule based on workflow state to optimize cache offloading and container reclamation.
More from Infra
- Chess Transformer hits 2545 Elo after 260x training speedup — realSharonZhou · 2026-11-30
- Tokens/sec alone is misleading: quantized LLM speed hides quality costs — OrganizationAgile361 · 2026-11-30
- Samsung's new memory chief warns record quarters don't mean competitiveness is back — tengyanAI · 2026-11-30
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30