Study reveals prompt caching integration defects in open-source agents
Start here
Researchers analyzed 148,947 merged PRs from 10 popular open-source agent systems and identified 120 prompt caching integration bugs, of which 108 produce no error and yield normal model answers, and can only be found from billing, latency, or cache usage data. The bugs fall into 8 root-cause categories, with the Provider compatibility and Prefix stability groups accounting for more than 70%, and 68% of the fixes are small changes that are static, local, or only modify usage statistics. The team proposed a detection tool, CACHELINT, which achieved 0.71 precision and 0.78 recall on the 120 labeled bugs, and identified 32 integration bugs in 571 agent projects, received confirmation from 21 developers, and prompted 18 upstream fixes, including one in Anthropic's official SDK.
Generated by AI from reports · Updated 12 days ago
Attention and developments
Attention, hourly
Now 40, 0% in 24 hours·Peak 40 (Nov 17 03:00)
Progress timeline
- WeChat · GoSSIPSelectedPaper: 108 of 120 prompt caching defects across 10 open-source agents produce no error
An ICSE 2027 paper identified 120 prompt caching integration defects from 148,947 merged PRs across 10 popular open-source agents, of which 108 produce no errors and normal model responses, and can only be found from billing, latency, or cache usage data. Input for the cache-hit portion is billed at roughly one-tenth the price; these defects cause request prefixes to mismatch or cache markers to be sent to the wrong object, and all the extra tokens are recomputed at full price. The defects fall into 8 root causes, with the Provider compatibility and Prefix stability groups accounting for over 70%, and 68% of the fixes are static, local, or small changes that only modify usage statistics—the difficulty lies in discovery. Paper: arXiv 2610.34817.
- arXivSilent and costly: characterizing and detecting prompt cache integration errors in LLM agents
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 discussion
Attention trend
New sources per day
- Nov 11: 1 new sources (1 outlets, 0 accounts)
- Nov 12: 0 new sources (0 outlets, 0 accounts)
- Nov 13: 0 new sources (0 outlets, 0 accounts)
- Nov 14: 0 new sources (0 outlets, 0 accounts)
- Nov 15: 0 new sources (0 outlets, 0 accounts)
- Nov 16: 0 new sources (0 outlets, 0 accounts)
- Nov 17: 0 new sources (0 outlets, 0 accounts)
- Nov 18: 0 new sources (0 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)