Abstract: Large Language Model (LLM) agents run long sessions that all begin with the same system prompt, which holds the agent's instructions and the documentation of its tools. Serving engines store this shared prefix once for all sessions, so removing it from the key-value (KV) cache of one session frees no memory, but the session loses the documentation
[…]
Content was trimmed to protect the source. Please visit the original article for the full text.
Read the original article:
Evaluating KV-Cache Eviction Policies for LLM Agents: The Effect on the Shared System Prompt
