Wayfinder: Adaptive Resource Routing from Agent Citations
Abstract
To act effectively, agents must gather contextual information across resources such as chats, issue trackers, email and knowledge bases, to answer questions like "what was decided in the last project meeting?" or "where is the FAQ for our internal tooling?" Where this information lives in a user's environment is unknown to the agent, so it re-explores the same resources across consecutive interactions. Common routing approaches represent each resource as a tool and rely on high-level descriptions to generalize to unseen environments. Such descriptions often fail to separate similar or overlapping resources and cannot improve from the agent's subsequent interactions. We introduce Wayfinder, an adaptive router that uses the documents cited by the downstream agent as feedback about where relevant information resides. These citations update Wayfinder's internal resource representations, which subsequent interactions use to prioritize the resources likely to contain relevant information. We also introduce resource augmentation during offline reinforcement learning, which anonymizes and permutes resource identities to discourage training-time overfitting of which resource holds which topic; our ablations suggest it helps most when few training environments are available. Because no openly available professional environments pair realistic queries with resource-access patterns, we construct and release three controlled testbeds derived from existing datasets: NFCorpus, FEVER and Tech Startup. Compared with supervised, tool-retrieval and contextual bandit baselines under a shared closed-loop protocol, Wayfinder gives the best routing when resources contain semantically overlapping content that static descriptions cannot distinguish, while description-based tool retrieval suffices when resources are drawn from distinct corpora.
Create a lesson
Metadata
- Categories
- cs.LG, cs.IR
- Comments
- 20 pages, 3 figures, 10 tables. Accepted to NeurIPS 2026
Related papers
AdaptRouter: Adaptive Routing across Evolving Tasks and Models
Shared title terminologycs.LGJingpu Yang, Fengxian Ji, Tianhao Li et al.
Learning Compact State Abstractions for LLM Agents
Shared title terminologycs.LGYaswanth Chittepu, Raghavendra Addanki, Anup Rao et al.
LatentLens: Rethinking Latent Interface in Multi-Agent Systems
Shared title terminologycs.LGZiqing Yang, Kewei Cheng, Mingjie Li et al.
SwiftLoop: Selective Refinement for Adaptive Implicit Reasoning in Looped Transformers
Shared title terminologycs.LGTianyi Zhao, Ke Wan, Chen Chen
CaLA: Causal Latent Adjustment for World Models under Adaptive Policies
Shared title terminologycs.LGRobert Ness, Sofiane Ennadir, Oleg Smirnov
Agentic AI for Intent Management and Control in Autonomous Communication Networks
Shared title terminologycs.LGBurak Demirel, Yu Wang, Pablo Soldati