Manuscript Offprint

arXiv:2608.22793

TRACE: A Self-Evolving Skill Bank for Consistent, Limit-Aware LLM Agents

Wenhao Wu, Menghao Zhang, Xin Wang, Zhi Wang, Kun Shao, Jian Luan

Abstract

Reliable deployment of LLM agents in user-facing products depends not on raw task-solving ability but on consistency and limit-awareness: behaving the same way across repeated trials, and recognizing when a request cannot, or cannot yet, be safely fulfilled. CAR-bench exposes this reliability gap in the domain of in-car assistants: an LLM-simulated user issues incomplete or ambiguous requests, requiring the agent to resolve uncertainty through multi-turn dialogue and tool use while strictly adhering to domain policies. Even frontier models show a substantial gap between what they can solve at least once (Pass@k) and what they solve consistently across trials (Pass^k). We bridge this gap with TRACE (TRAjectory-Contrastive Evolution), which iteratively improves a skill-based agent's behavioral knowledge without modifying model weights. This knowledge is organized as a Skill Bank of modular, retrievable skills, each encoding a self-contained set of tool-use rules and behavioral guidelines. TRACE evolves this bank through an agentic self-evolution loop: after each evaluation round, it groups trajectories by the skills invoked and refines each skill by contrasting successful and failed behaviors. The updated bank then guides subsequent rounds, while during deployment the Actor performs state-conditioned skill orchestration at every turn. On GPT-5.5, TRACE improves consistency (Pass^3) by 34.6 points, from 59.9% to 94.5%, while shrinking the gap between potential and reliable performance to just 4.0 points. On the official hidden set, TRACE achieved first place using GPT-5.6-Sol, attaining a Pass^3 score of 70%—a 40% relative improvement over the baseline. These results show that TRACE converts high model potential into stable, consistent performance gain. Project homepage: https://darwin-agent.github.io/Car-bench-TRACE.

Figure

Figure 1: LLM agents may fail to recognize their capability boundaries, falsely claim unsupported success, and behave inconsistently across repeated rollouts. State-conditioned skill orchestration narrows the gap between potential (Pass@3) and reliable performance (Pass^3) while producing more concentrated and consistent outputs.

1 Introduction

Deploying LLM agents in user-facing products demands more than raw task-solving capability [Jaech et al., 2024; Guo et al., 2025; Han et al., 2025]. Modern agents combine chain-of-thought reasoning [Wei et al., 2022; Wang et al., 2023; Zhan et al., 2026] with tool use and action [Yao et al., 2023], enabling recent reasoning-centric models [Yan et al., 2025; Zhang et al., 2026] to tackle demanding reasoning and agentic benchmarks [Hu et al., 2025; Wu et al., 2026; Lu et al., 2026a], such as real-world software issue resolution [Jimenez et al., 2024]. However, benchmark success does not guarantee reliable behavior in multi-turn interactions, where users may issue incomplete, ambiguous,

or unsatisfiable requests and agents must manage the resulting uncertainty while adhering to domain-specific policies [Barres et al., 2025]. Two properties are therefore essential: (i) consistency, producing stable behavior across repeated trials, and (ii) limit-awareness, recognizing when a request cannot, or cannot yet, be safely fulfilled instead of claiming unsupported success. Both properties are safety-critical for in-car assistants, where premature or unsupported actions can distract or endanger drivers [Lu et al., 2025; Kirmayr et al., 2026].

Current LLMs are poorly aligned with both. Consistency remains fragile because, although models possess the meta-reasoning ability to recognize ambiguous requests and determine when clarification is needed, they do not reliably activate this ability across repeated trials [Hu et al., 2026]. Limit-awareness is weakened by training objectives that favor plausible task completion over honest uncertainty, leading models to claim they can fulfill a request even when they lack the required capability rather than admit the limitation [Kalai et al., 2025]. Together, these weaknesses create a completion-compliance tension: agents often prioritize satisfying the request over following policies, seeking clarification, or acknowledging unavailable capabilities. Because such failures are intermittent, the same agent may succeed in one trial but fail in another, exposing a gap between what it can do and what it does reliably.

We address this gap with TRACE (TRAjectory-Contrastive Evolution), a general, model-agnostic method that turns existing model capabilities into more consistent, limit-aware agent behavior, as illustrated in Figure 1. Rather than modifying model weights, TRACE improves the behavioral scaffolding around the model, in line with recent work on self-evolving agent harnesses [Chen et al., 2026; Lu et al., 2026b] and lifecycle memory evolution [Liu et al., 2026; Qiao et al., 2026]. Unlike single-episode reflection methods [Shinn et al., 2023], TRACE distills reusable behavioral knowledge across evaluation rounds into a persistent Skill Bank of modular and retrievable skills. Each skill encodes tool-use rules and behavioral guidelines, and the Actor performs state-conditioned skill orchestration at each inference turn.

TRACE evolves the Skill Bank through an LLM-driven closed loop: after each evaluation round, it groups trajectories by the skills invoked and refines each skill by contrasting successful and failed behaviors. This contrast reveals decisions that cause unreliable outcomes, such as acting on incomplete information, overlooking policy constraints, or claiming unavailable capabilities, and converts them into reusable guidance for limit-awareness and policy adherence. Two design choices keep the evolved skills general and transferable: i) operation-level organization abstracts skills from individual tasks, allowing knowledge learned in one scenario to transfer to others that require the same operation; and ii) a strict de-hardcoding constraint prevents skill updates from encoding memorized answers or environment-specific values, preserving only transferable tool-use and decision principles.

We summarize our contributions as follows.

• We introduce TRACE, a model-agnostic framework that self-evolves a modular Skill Bank from an agent’s evaluation trajectories without modifying model weights.

• We develop an agentic loop that refines skills by contrastive trajectory analysis, with operation-level organization, deployment-faithful reconstruction, and de-hardcoding to preserve transferability.

• We validate the evolved Skill Bank across multiple LLMs, showing substantial improvements in Pass^3 and limited degradation in Pass^k as k increases, with gains that transfer across underlying models.

References (22)