LangChainJS
Search documents
Anthropic-Style Context Editing… Now for Every LLM in LangChainJS!
LangChain· 2025-12-02 14:00
Hi there, this is Christian from Lchain. In my last video, we looked at how summarization middleware keeps your agents memory compact by rewriting the entire conversation history. But what if the problem isn't the conversation, it's the tools.Because here's the truth. Modern agents don't just talk. They call tools over and over again.And those tool results can absolutely explode your conductor window. Unlike user messages, tool outputs can be huge. I mean, we're talking about 20 pages of search results, a m ...