Skip to main content

Search AEX CONTINUUM

Titles, abstracts, authors, keywords and DOIs across all five collections.

2 results for “agents” in keywordSearch & filters ↓

PublishingResearch ArticlePeer reviewed

Retrieval-Augmented Tool Selection for Long-Horizon Language Agents: Choosing from thousands of tools without placing them all in the prompt

Lena Hartwell, Tomás Ibarra, Marcus Tan

Version 2 · 4 reviewer reports · 27 February 2026 · 10.xxxx/ctm.pb.2026.0001

Language agents that act through external tools are limited by the size of their prompt: listing hundreds of tool descriptions crowds out the task and degrades accuracy. We study tool selection as a retrieval problem and propose a two-stage selector that (i) retrieves a short list of candidate tools using an embedding of the evolving task state and (ii) lets the model re-rank candidates with a single constrained call. Across a synthetic suite of 4,000 tools and three long-horizon task families, the selector keeps task success within 2.1 points of an oracle that sees only the correct tools, while reducing prompt length by 87%. Ablations show that conditioning retrieval on the task state, rather than on the initial instruction alone, accounts for most of the gain. We discuss failure cases, including tools with overlapping descriptions, and release the evaluation harness.

Abstract PDF 4,821 1,9367 cited
PreprintsResearch ArticleNot peer reviewed

Mining Failure Modes from Agent Trajectories at Scale

Aisha Rahman, Lena Hartwell

Version 1 · 21 October 2026 · 10.xxxx/ctm.pp.2026.0007

Agent developers inspect failed runs by hand, which does not scale beyond a few dozen trajectories. We propose a clustering approach that groups failures by the step at which the trajectory diverges from a successful reference run, and label the clusters with short natural-language descriptions. On 18,000 trajectories from three agent frameworks, the method recovers 83% of failure categories identified by manual analysis and surfaces four categories that were previously unreported.

Abstract PDF 2,065 6901 cited