Report
Retrieval strategies for AI agents with limited context windows
LangChain's guide identifies inefficient searches, oversized results and stale information as three retrieval problems for agents.
TLDR
LangChain's guide uses its Deep Agents harness to illustrate ways agents can retrieve information without filling their limited context windows. It recommends searching filenames or keywords before opening files, reading long files in pages, returning file paths rather than full results, and letting subagents filter what matters. It also advises checking claims against retrieved sources and treating retrieved text as untrusted.
Combined views
2.8K
2 Sources, first seen ago