TRACER: Trajectory-Aware Tool Retrieval for LLM Agents

Tanish Kher, Sarvesh DK, Abedelkadir Asi, Sparsha Chennarayapatna Sundaresh, Dezhi Hong
10/15/2026
cs.CLcs.AIcs.IR

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Modern agents select tools from registries, but exposing entire registries incurs high token costs and can impair selection as they grow. We present TRACER, a retrieval front-end that indexes observed tool-call sequences in a trie and ranks continuations using a learned blend of empirical and contextual priors. On a mixed retail-and-telecom $τ^2$ environment, TRACER improves GPT-5.4's tool-selection accuracy by 4.7 points while reducing input tokens per step by 80%, exposing just 5 of 128 tools. In autonomous full-turn execution, it matches GPT-5.4's full-registry task success with 61% fewer input tokens per step. Across six environments and four models, TRACER improves tool-selection accuracy over full-registry selection in 21 of 24 model-environment pairs, with average gains of 6 to 10 points; the three exceptions trail by at most 2.2. We analyze failures in both regimes to identify directions for future work.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kher2026tracer,
  title  = {TRACER: Trajectory-Aware Tool Retrieval for LLM Agents},
  author = {Tanish Kher and Sarvesh DK and Abedelkadir Asi and Sparsha Chennarayapatna Sundaresh and Dezhi Hong},
  year   = {2026},
  eprint = {2610.21267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.21267v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.21267.svg)](https://codeofpaper.com/paper/2610.21267)

Discussion