Termsslug: context-rot

Context Rot

上下文腐烂

Performance degradation in LLMs as context length increases due to attention dispersion or noise accumulation, often causing ign

Curated Intelligence

2 items · Page 1/1
LangChain BlogT1·Agents
68 pts
LangChain's Deep Agents: Five Techniques to Prevent Context Rot in Long-Running AI Agents

LangChain's open-source agent framework, Deep Agents, introduces five 'context offloading' techniques to combat 'context rot,' where accuracy degrades as long-running agents accumulate excessive information. By storing agent memory as plain files in user-controlled external storage rather than the model's context window, the approach preserves reasoning precision while enabling knowledge persistence and portability across different models and providers.

LangChain BlogT1·Agents
58 pts
LangChain Deep Agents SDK Details Context Compression to Solve Long-Task Memory Limits and Context Rot

LangChain's open-source Deep Agents SDK introduces systematic context compression mechanisms for long-running agents to prevent 'context rot' and overcome finite LLM window constraints. By summarizing interactions, filtering stale data, and strategically retaining state alongside filesystem usage, it enables agents to plan and execute complex tasks effectively.