Librarian Agents: Training LLMs to Curate Long-Context Workspaces that Anticipate Future Queries
Anikait Singh, Teresa Zhang, Yoonho Lee, Roshen Sanjay Nair, Aviral Kumar, Chelsea Finn
- Published
- Oct 15, 2026
- Source
- Hugging Face Papers
- URL
- https://huggingface.co/papers/2610.22273
Librarian Agents learn to organize documents into reusable workspaces before questions arrive. The authors report gains of 33 percentage points on BrowseComp-Plus and 31 points on average in zero-shot BRIGHT evaluation over the strongest compared baselines.
Rather than retrieving passages only after receiving a question, Librarian Agents train a builder to create a hierarchical filesystem of synthetic documents and reference links for a downstream answering agent. Workspace construction is optimized with reinforcement learning against downstream answering accuracy, allowing organization to emerge from task utility rather than fixed indexing heuristics. The reported gains span BrowseComp-Plus and unseen BRIGHT domains, while construction costs can be amortized across repeated queries. The work highlights proactive context preparation as a potentially powerful agent capability, though its economic advantage depends on how often the workspace is reused.