跳到正文
arXiv (AI + Vision + Imaging)· Banruo Liu, Haoran Qiu, \'I\~nigo Goiri, Rodrigo Fonseca, Ricardo Bianchini, Esha Choukse·· 2 天前AI 评分34

GitHub Copilot 生产级追踪揭示 AI 编码智能体负载特征

Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale

AI 导读

基于 2026 年 6-7 月采样的 GitHub Copilot 追踪数据,研究首次完成生产规模 AI 编码智能体负载刻画,覆盖 740 万用户、8.19 亿次对话、57 亿次 LLM 调用和 946T tokens。

正文 · 原文

arXiv:2608.00101v2 Announce Type: replace Abstract: AI coding agents (e.g., GitHub Copilot, Claude Code, Codex) interleave multi-step LLM inference with tool execution, creating a workload different from chatbots. We present the first production-scale characterization of coding agents using sampled GitHub Copilot traces from June-July 2026, comprising 7.4M users, 819M conversations, 5.7B LLM calls, and 946T tokens. Our analysis reveals distinctive workload properties with unique systems implications: e.g., sparse user-initiated turns unfold into autonomous agent loops with nearly 1:1 coupling between LLM calls and tool execution; parallel LLM calls are rare but exist in turns that trigger subagents; KV cache hit rates average 90% within a turn, but fall to 52% across turn boundaries and to 6% after model switches; workflows and user behaviors exhibit diverse, long-tailed resource footprints. We further distinguish short agentic turnaround times from minutes-long user idle periods between turns, and develop a lightweight idle-time predictor that captures 87-89% of total idle time. We demonstrate two use cases: (1) a harness-side LLM API keep-alive policy that preserves provider-side context KV cache, reducing token costs by 14.9% on turn boundaries; and (2) a serving-side KV cache residency policy that uses predicted idle time to guide DRAM offloading, reducing time to first token (TTFT) by 3-33% compared with LRU during a one-week evaluation with GitHub Copilot traces.

来源:arXiv (AI + Vision + Imaging) · arxiv.org