跳到正文
arXiv cs.AI· Banruo Liu, Haoran Qiu, \'I\~nigo Goiri, Rodrigo Fonseca, Ricardo Bianchini, Esha Choukse·· 2 小时前精选AI 评分67

GitHub Copilot 生产级追踪研究:刻画 7.4M 用户的智能体编码负载特性

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

AI 导读

一篇 arXiv 论文基于 2026 年 6-7 月采样的 GitHub Copilot 生产级追踪数据,对 7.4M 用户、819M 会话、5.7B 次 LLM 调用和 946T token 做了首个生产规模的智能体编码负载刻画。

推荐理由

论文基于 7.4M 用户的生产级追踪数据刻画智能体编码负载特性,并给出可复用的 KV cache 优化策略与实测收益。

正文 · 原文

View PDF HTML (experimental)

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.
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2608.00101 [cs.AI]
  (or arXiv:2608.00101v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2608.00101

arXiv-issued DOI via DataCite

Submission history

From: Banruo Liu [view email]
[v1] Thu, 30 Jul 2026 20:51:51 UTC (543 KB)
[v2] Fri, 20 Nov 2026 02:03:02 UTC (827 KB)

来源:arXiv cs.AI · arxiv.org