Manuscript Offprint

arXiv:2609.03753

SimSkill: A Lifelong Learning AI Agent for Autonomous Mastery of Traffic Simulation

Qi Liu, Qinzheng Wang, Yiming Bie

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

Abstract

As large language models (LLMs) become increasingly capable, the long-term value of AI systems depends not only on solving individual requests, but also on transforming experience and accumulated knowledge into durable, reusable competence. We introduce SimSkill, a self-evolving agent built around the Simulation of Urban MOBility (SUMO) traffic simulator. SimSkill identifies capability gaps, generates and solves environment-grounded tasks, verifies solutions through an action-critic loop, and consolidates experience into episodic, procedural, and semantic memory without updating the backbone model. Through autonomous exploration, it builds a reusable library spanning the traffic-simulation workflow. We evaluate SimSkill on two held-out benchmarks with three backbone LLMs and independent artifact-based verification. SimSkill improves verified completion by up to 25 percentage points, while ablations show complementary contributions from procedural and semantic memory. Its benefits remain backbone- and budget-dependent: memory does not improve every model or uniformly reduce inference cost. More broadly, SimSkill illustrates a design paradigm in which natural language preserves and composes computational capabilities, while executable tools and code provide precise and reproducible execution. All code and experimental data are publicly available at https://github.com/qiliuchn/SimSkill-V1.

1 Introduction

Human intelligence depends on the accumulation of knowledge and experience. People build on concepts, procedures and lessons developed over time instead of solving every problem from the beginning. A similar capability is becoming increasingly important for artificial intelligence. As large language models (LLMs) become increasingly capable, the long-term value of an AI system depends not only on the quality of its response to a single request, but also on whether it can transform its own experience and previously accumulated knowledge into durable, reusable competence. LLM-based autonomous agents offer a path toward this capability by combining language-model reasoning with planning, tool use, environmental feedback, and memory [WMF+24, YZY+22, ZDB+25]. This need is especially relevant in technical domains that involve repeated modeling, tool use, and validation. Traffic simulation is one such domain. Existing traffic-simulation agents mainly focus on completing individual modeling or analysis tasks and provide limited support for retaining and reusing validated procedures, domain knowledge, and lessons from earlier tasks. The central challenge is therefore to develop an agent that can accumulate experience and turn it into resuable capabilities across successive tasks.

This challenge lies at the heart of lifelong learning, in which an agent continually acquires and integrates new knowledge while retaining previously learned capabilities [ZSC+26]. Voyager demonstrated the potential of this paradigm through open-ended exploration in Minecraft, using an automatic curriculum and a growing library of executable, compositional skills [WXJ+23]. Subsequent work has further emphasized skills as a useful abstraction for transforming transient interaction experience into reusable behavior [YLP+26]. These studies suggest that an agent can improve at the system level without repeatedly updating the parameters of its underlying LLM. They also expose three fundamental questions: how to generate useful experiences through self-directed exploration, how to distill those experiences into transferable capabilities, and how to organize accumulated knowledge so that it remains useful as the agent continues to learn.

Traffic simulation provides a natural setting to study these questions. It is an essential instrument for evaluating transportation infrastructure, operations, and control policies before real-world deployment [CZY +^{+}24]. Simulation of Urban MObility (SUMO), in particular, is a widely used open-source platform for microscopic and multimodal traffic simulation [BBEK11]. However, effective use of SUMO requires substantial transportation knowledge and software expertise, which creates barriers for users who are unfamiliar with the platform [ENFLF17, HHH18]. Recent LLM-based traffic-simulation systems, such as ChatSUMO [LAK24] and SUMO-MCP [YXS +^{+}25], have reduced this burden by translating natural-language requests into executable workflows. These systems primarily focus on helping an agent complete a simulation task specified by a user. Procedures and lessons developed for modeling, calibration, control, and analysis are therefore not systematically retained and reused across successive tasks. This limitation is important because traffic-simulation studies are highly compositional. Complex studies often build on capabilities developed in earlier tasks, including network construction, demand modeling, simulation control, calibration, optimization, and result interpretation. At the same time, executable simulations and quantitative outputs provide direct evidence for testing and refining these capabilities. A complementary problem therefore remains largely unexplored: whether an agent can self-evolve and autonomously learn advanced traffic-simulation capabilities.

To address this gap, we present SimSkill, a self-evolving LLM agent for lifelong mastery of SUMO. Rather than treating SUMO only as a tool to be controlled, SimSkill treats it as an environment that can be explored and cumulatively mastered. The agent autonomously proposes tasks that extend its current competence, learns through attempting and evaluating those tasks, and consolidates reusable outcomes into persistent memory. SimSkill separates persistent memory into three complementary forms: episodic memory preserves complete attempts and evidence, procedural memory stores reusable skills that may combine natural-language instructions with executable resources, and semantic memory stores structured, cross-linked domain knowledge. Through this process, experience from individual task is progressively consolidated into procedural and semantic knowledge that can support future tasks.

Although instantiated in SUMO, SimSkill reflects a more generaldesign principle of self-evolving AI systems. Its high-level control logic is specified through natural-language instructions rather than a hard-coded workflow for each domain task. Designers articulate goals, principles, knowledge, and reusable procedures in language, and the LLM uses these descriptions as a connective layer for selecting, adapting, and composing executable components. This division of labor parallels how human societies accumulate capability: language preserves, transmits, and recombines knowledge and skills in forms that remain flexible across contexts, while specialized tools, algorithms, and code provide precise, efficient, and reproducible execution. Natural language thus serves not merely as a user interface or documentation, but as an organizing medium through which computational capabilities can be coordinated and reconfigured as experience accumulates. In this sense, SimSkill exemplifies an emerging design paradigm for self-evolving agents with relevance beyond traffic simulation.

The main contributions of this work are as follows:

We formulate traffic-simulator mastery as a lifelong agent-learning problem and introduce Sim-Skill, a framework that closes the loop among autonomous curriculum generation, environment-grounded task execution, and experience consolidation. Unlike systems whose objective ends with the current simulation study, SimSkill makes autonomous cross-task capability acquisition and persistent system-level evolution the central objective, without updating the backbone LLM.

We develop an explicit tripartite memory architecture and its complete lifecycle. Episodic records preserve attempts and evidence, procedural skills combine adaptable instructions with reproducible executable resources, and linked semantic pages preserve declarative knowledge; bounded retrieval, ingestion, merging, and linting keep these artifacts reusable as the collection grows. During approximately 80 hours of autonomous operation over five days, SimSkill accumulated 150 procedural skills and 153 semantic-memory pages spanning the major stages of traffic-simulation practice. The resulting artifacts are inspectable, editable, composable, transferable across compatible backbones.

We evaluate SimSkill on two held-out 40-task benchmarks with three LLM backbones, independent verification, and five-condition ablations. SimSkill improves verified completion over vanilla Claude Code for DeepSeek-V4-Pro (+10 and +20 percentage points on V1 and V2) and Qwen3.7-Max (+25 points on V1; 2 versus 0 tasks on V2), but not for GLM-5.2. The ablations show complementary contributions from procedural and semantic memory, with model-dependent accuracy-cost trade-offs.

The remainder of this paper is organized as follows. Section 2 reviews related work. Section 3 presents the conceptual foundations, memory architecture, learning process, and SUMO instantiation of SimSkill. Section 4 traces representative learning and memory-maintenance episodes. Section 5 describes the experiments and reports the results, and Section 6 concludes the paper. Appendices provide representative benchmark task execution traces showing how procedural and semantic memory are used during inference.

References (45)