Skip to content

Silent and costly: characterizing and detecting prompt cache integration errors in LLM agentsSilent and Costly: Characterizing and Detecting Prompt-Caching Mis-Integration in LLM Agents

arXiv· arXiv:2610.34817· Ying Zhang, Ruoqi Guo, Yi Liu, Gelei Deng, Yuekang Li, Yepang Liu, Leo Zhang·Indexed by this site · 12 days ago· Originally publishedAI updates
AI summary

Researchers empirically characterized prompt cache integration errors in 10 popular open-source agent systems and proposed a detection tool, CACHELINT. The study analyzed 120 cache-related pull requests and found that the errors stem from request-side misconfiguration and read-side usage accounting errors, and that most fail silently without causing observable runtime failures, resulting in cost losses. CACHELINT models integration errors as a call site plus the preconditions required for correct integration, uses CodeQL to locate cache call sites, and then verifies each item against a dated vendor capability oracle or LLM guardrail checks. The tool achieved 0.71 precision and 0.78 recall on 120 labeled errors across 10 systems, and identified 32 integration errors in 571 agent projects with 0.86 precision, received 21 developer confirmations, and led to 18 upstream fixes, including one in Anthropic's official SDK.

Related events and news

1 events · 1 news mentions

News that mentions this paper

研究揭示开源Agent提示缓存集成缺陷

Read originalarxiv.org