AgentBee.Worth reading. Worth building.
← All fieldnotes
Design & architecture · Engineering references

Specialized models maintain context for long-running agents

LangChain integrates ScaleDown for history summaries, tool-result compression and extraction, while the main model handles planning and generation.

LangChain··Curated by AgentBee

What the source says

Summaries trigger at configured thresholds; recent messages stay intact. Failed summary calls preserve history and execution continues.

Compression is query-directed, marked in results and reversible by fetching full output. Extraction reads only user messages.

Original source

This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.

LangChain ↗
Context orchestrationModels & costExecution & recovery