Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Search

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, extended

Summary

Slim (Simple Lightweight Information Management), a new framework for long-horizon agentic search, addresses critical context limitations in existing systems. Current frameworks like ReAct and Search-o1 struggle with long trajectories due to accumulating noisy content, hitting context window limits, or exceeding tool budgets. Slim overcomes this by separating retrieval into distinct search and browse tools and periodically summarizing the conversation history. This design keeps context concise, enabling longer, more focused searches. Benchmarking with o3 as the base model, Slim achieved 56% on BrowseComp and 31% on HLE, surpassing all open-source baselines by 8 and 4 absolute points, respectively. Crucially, it incurred 4–6x fewer tool calls and lower overall costs. The framework also includes an automated trajectory analysis pipeline and error taxonomy, showing Slim reduces hallucinations.

Key takeaway

For AI Engineers designing or optimizing long-horizon agentic search systems, you should prioritize efficient context management to overcome limitations. Implement a framework like Slim, which separates search and browse tools and periodically summarizes conversation history, to significantly reduce tool calls and costs while improving performance. This approach helps mitigate issues like context window limits and hallucinations, enabling more robust and cost-effective deep research applications.

Key insights

Slim improves long-horizon agentic search by managing context efficiently through distinct search/browse tools and periodic summarization.

Principles

Method

Slim uses a search tool for snippets, a browse tool for relevant content sections from URLs, and a summarization module that compresses the entire conversation history every 'n' turns.

In practice

Topics

Code references

Best for: Research Scientist, AI Architect, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.