arXiv:2610.30014cs.LGOct 2026

Manuscript Offprint

arXiv:2610.30014

Agent Behavior Maps: Locating Agents by What They Would Do, Without Running Them

Shota Fujikawa, Takuya Tamura, Kosuke Akimoto, Daichi Haraguchi, Masafumi Oyamada

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shota Fujikawa ∗^{*} †^{\dagger}

The University of Tokyo

fjkwsht@is.s.u-tokyo.ac.jp

Takuya Tamura ∗^{*}

NEC Corporation

tamura-takuya@nec.com

Kosuke Akimoto

NEC Corporation

kosuke_a@nec.com

Daichi Haraguchi

NEC Corporation

daichi-haraguchi@nec.com

Masafumi Oyamada

NEC Corporation

oyamada@nec.com

Abstract

LLM agents with similar success rates can follow different action sequences. An Agent Behavior Map represents LLM–harness combinations using centered action log-likelihoods on shared reference trajectories, without requiring new environment rollouts from the target agent. We derive error bounds relating squared coordinate distances to trajectory KL under explicit assumptions, and across eight cross-scored models the distances track the directly measured trajectory KL in rank order. Across 100 LLMs and four environments, ALFWorld-based coordinates support performance prediction and identify behavioral similarities. In ALFWorld, these similarities persist after controlling for success rates and model size, including across model families. As an extension, harness-component displacements approximately compose, with accuracy varying across components and environments.

1 Introduction

Comparing LLM agents is a matter not only of how often they succeed but also of how they act. Agents with similar success rates can differ in the tools they choose, the order of their actions, and how often they repeat an operation. Such behavior depends on the combination of the underlying LLM and the harness that manages history, planning, and reasoning (Zhang et al., 2026; Yao et al., 2026; Vats and Golev, 2026; Fan et al., 2026). Running every combination in the environment reveals both performance and behavior, but each new agent to compare requires collecting new trajectories. This paper asks whether a representation that captures similarity of run-time behavior can be built without new environment runs of the target agent.

When agents are compared by their log-likelihoods on shared reference trajectories, the difficulty is that the distribution of the histories on which the likelihoods are conditioned itself depends on the agent's policy. The histories contained in the reference trajectories need not coincide with those that an agent reaches through its own actions. Whether similarity of action probabilities measured on shared histories corresponds to similarity of trajectory distributions and behavior at run time is therefore not obvious. How much of these on-policy properties can be captured by off-policy observations on fixed reference trajectories is the central question of this work.

Language model maps, which vectorize log-likelihoods on shared texts, represent the relations between models in a common coordinate space (Oyama et al., 2025). Their extension to prompt-response distributions has examined performance prediction from conditional log-likelihoods and the approximate additivity of the coordinate displacements caused by prompt changes (Oyama et al., 2026). This paper applies the framework to agents that interact sequentially with an environment and answers the question above with theory and experiments.

An Agent Behavior Map treats each agent as a pair of an LLM and a harness. Each agent rebuilds its input with its own harness from the shared external history in the reference trajectories, namely the task, the observations, and the past actions. The recorded actions are teacher-forced under this input, and the resulting log-likelihood vector is centered to give the agent's coordinates. Because the reference trajectories are reused, the coordinates of a new agent can be computed without collecting any additional environment trajectories from it. Figure 1 shows an example in which agents that are close in these coordinates take similar action sequences when run. We validate the representation from two angles.

• Theoretical and empirical relation to the trajectory distribution ( §2§2, §3.1§3.1). Under assump-

∗^{*} Equal contribution.

†^{\dagger} Work done during an internship at NEC Corporation.

(a) Agent behavior map

Figure

(b) Action sequences on one ALFWorld task

(c) Behavior vs. map rank

Figure 1: Agents close on the map act alike when run. (a) 100 LLMs with the BASE harness, scored on 500 ALFWorld reference trajectories (t-SNE layout; neighbors computed in the original space). *: gemma4-31b; green: its five nearest models on the map; orange rings: the five closest in parameter count. (b) Action sequences of these 11 models on one ALFWorld task. All succeed, but four of the five map neighbors share the anchor's short route, whereas three of the five size-matched models take longer ones. (c) Effect size of the behavioral distance to the k-th nearest model on the map (solid) or in parameter count (dashed), averaged over four aspects and 100 models (§3.3); positive means more similar than the average pair.

tions on the locality of the two policies and on the mismatch with the reference distribution, we derive error bounds that relate squared coordinate distances to the KL divergence between trajectory distributions. The error decomposes into local approximation, reference mismatch, centering, and finite samples, and the decomposition shows how the step-level and trajectory-level representations differ in their dependence on trajectory length. In a cross-scoring experiment with eight models, we compare the coordinate distances with the directly measured trajectory KL, the target itself, and find a high rank correlation.

• Validation on performance and behavior (§3.2, §3.3). We apply a common harness to 100 LLMs and evaluate coordinates built from ALF-World reference trajectories alone on ALFWorld, TextWorld, BFCL, and MiniWoB++. Besides predicting the success rates of unevaluated models from the evaluation results of the others, we ask whether neighbors on the map generate similar action sequences. In ALFWorld in particular, the similarity of action sequences remains when compared with neighbors chosen by success rate or by size, and when the candidates are restricted to models of other families. These results support the view that the coordinates carry behavioral information that neither performance level nor model family explains. The accuracy of performance prediction and the strength of behavioral similarity among neighbors, however, depend on the environment and the measure.

Finally, we represent the addition of a harness component as a displacement on the map and ask whether such displacements add up within an LLM (§4). Comparison with measured coordinates shows approximate additivity, with an accuracy that depends on the component and the environment.

References (55)