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.
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 ↗