跳到主内容
精选85Rohan Paul论文研究

微软论文:编码代理不应按聊天请求调度

New Microsoft Paper on GitHub Copilot’s production traces show why coding agents…

原文
推荐理由

做编码代理或推理基础设施的同学必看,这份生产级数据把 KV 缓存和调度单元讲透了,直接照着优化你的 serving 策略。

New Microsoft Paper on GitHub Copilot’s production traces show why coding agents should not be served like chat requests.

In 13.5M GitHub Copilot sessions, 87% of LLM calls came from the agent itself rather than a user.

A user prompt can fan out into an autonomous chain of model calls, tool actions, retries, and growing context, making the turn or session a more useful scheduling unit than an isolated request.

That structure is especially visible in the KV cache.

It shows that KV cache is not really a request-level resource; its value depends on where the agent is in the workflow.

Within a turn, average cache hit rate rises from about 45% on the first LLM call to 92–94% from the third call onward.

At a same-model turn boundary it falls to 55%, while a model switch pushes it down to 8%.

Median KV-cache idle time is 1.2 seconds within a turn versus 172 seconds across turns, while container idle time jumps from 5.8 to 243 seconds.

Using turn- and session-level features, the paper’s lightweight predictor captures 86–90% of total idle time, giving the serving stack a signal for cache offloading or container reclamation.

The implication is straightforward: coding-agent infrastructure should schedule workflow state across turns, because request-level policies discard some of the strongest signals in the workload.

– arxiv. org/abs/2608.00101

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

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近