We stopped feeding our agent context and made it search for context instead - it removed a large part of our agent errors
Summary
The author shares that replacing pre-injected context with a search tool the agent calls on-demand, backed by structured documents in OpenSearch, greatly reduced agent errors and improved traceability.
Similar Articles
Better semantic search will not fix an agent that never verifies context
The article argues that better semantic search or larger context windows won't fix unreliable AI agents; instead agents must verify retrieved context by reopening the original source before answering or acting.
We cut our agent's context window in half, and it got better. kinda didnt expect that
A developer shares that reducing an agent's context window by half unexpectedly improved its performance in lead qualification and CRM automation, suggesting that too much context can hide bad architecture and lead to indecision.
Separating planning from execution fixed most of my agent context bloat
This article discusses a technique for reducing context bloat in AI agents by decoupling the planning phase from execution, improving agent efficiency and accuracy.
Less Context, Better Agents: Efficient Context Engineering for Long-Horizon Tool-Using LLM Agents
This paper evaluates context engineering configurations for LLM agents in enterprise tool-use workflows, showing that summarization with selective pruning achieves 91.6% accuracy while reducing token usage by over 60% compared to full-context baselines.
Mitigating Context Interference for Reliable and Efficient Search Agents
This paper systematically studies context interference in multi-turn LLM-based search agents, finding that interference primarily arises from the latest retrieved documents, and introduces a distill-based context refiner to mitigate it. Incorporating context refinement into RL training pipelines significantly improves reliability and efficiency.