Tới nội dung
LangChain Blog·· 3 ngày trướcTuyển chọnĐiểm AI60

LangChain explains how Deep Agents manages context without keeping everything in the window

Context Engineering with Deep Agents: How To Remember Without Keeping Everything In Context

Nội dung này chưa có bằng ngôn ngữ của bạn; đang hiển thị bằng English.

Tóm tắt bằng AI

LangChain details how its open source Deep Agents harness uses middleware to fight context rot on long agent runs. Tool results over roughly 20,000 tokens and user messages over 50,000 tokens are offloaded to files with only a preview shown, while summarization condenses older messages once usage hits 85% of the context window. Skills, subagents and a markdown long-term memory file keep the main agent's window small and let memory carry over across models and providers.

Vì sao đáng chú ý

LangChain explains how its open source Deep Agents harness uses middleware to offload, summarize and isolate context, offering a reusable pattern for agents on long tasks.

Nguồn:LangChain Blog · langchain.com