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

arXiv cs.AI Papers

Summary

SimSkill is a lifelong learning AI agent that autonomously masters traffic simulation by identifying capability gaps, generating tasks, and using memory systems to improve performance, showing up to 25% improvement in task completion on benchmarks.

arXiv:2609.03753v1 Announce Type: new 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.
Original Article
View Cached Full Text

Cached at: 09/04/26, 06:10 AM

# SimSkill: A Lifelong Learning AI Agent for Autonomous Mastery of Traffic Simulation
Source: [https://arxiv.org/html/2609.03753](https://arxiv.org/html/2609.03753)
Qi LiuAffiliation:School of Transportation, Jilin University, 5988 Renmin St\., Changchun, Jilin 130022, ChinaQinzheng WangAffiliation:School of Transportation, Jilin University, 5988 Renmin St\., Changchun, Jilin 130022, ChinaYiming BieAffiliation:School of Transportation, Jilin University, 5988 Renmin St\., Changchun, Jilin 130022, China

###### 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 introduceSimSkill, 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](https://github.com/qiliuchn/SimSkill-V1)\.

## 1Introduction

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\[[35](https://arxiv.org/html/2609.03753#bib.bib9),[42](https://arxiv.org/html/2609.03753#bib.bib17),[46](https://arxiv.org/html/2609.03753#bib.bib20)\]\. 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\[[48](https://arxiv.org/html/2609.03753#bib.bib19)\]\. 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\[[34](https://arxiv.org/html/2609.03753#bib.bib34)\]\. Subsequent work has further emphasized skills as a useful abstraction for transforming transient interaction experience into reusable behavior\[[41](https://arxiv.org/html/2609.03753#bib.bib45)\]\. 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\[[3](https://arxiv.org/html/2609.03753#bib.bib32)\]\. Simulation of Urban MObility \(SUMO\), in particular, is a widely used open\-source platform for microscopic and multimodal traffic simulation\[[2](https://arxiv.org/html/2609.03753#bib.bib48)\]\. However, effective use of SUMO requires substantial transportation knowledge and software expertise, which creates barriers for users who are unfamiliar with the platform\[[9](https://arxiv.org/html/2609.03753#bib.bib12),[11](https://arxiv.org/html/2609.03753#bib.bib11)\]\. Recent LLM\-based traffic\-simulation systems, such as ChatSUMO\[[18](https://arxiv.org/html/2609.03753#bib.bib37)\]and SUMO\-MCP\[[43](https://arxiv.org/html/2609.03753#bib.bib36)\], 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 presentSimSkill, 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 SimSkill, 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\+10and\+20\+20percentage points on V1 and V2\) and Qwen3\.7\-Max \(\+25\+25points 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](https://arxiv.org/html/2609.03753#S2)reviews related work\. Section[3](https://arxiv.org/html/2609.03753#S3)presents the conceptual foundations, memory architecture, learning process, and SUMO instantiation of SimSkill\. Section[4](https://arxiv.org/html/2609.03753#S4)traces representative learning and memory\-maintenance episodes\. Section[5](https://arxiv.org/html/2609.03753#S5)describes the experiments and reports the results, and Section[6](https://arxiv.org/html/2609.03753#S6)concludes the paper\. Appendices provide representative benchmark task execution traces showing how procedural and semantic memory are used during inference\.

## 2Related Work

SimSkill lies at the intersection of four research areas: self\-improvement of language models, experience\-driven lifelong learning, long\-term memory for LLM agents, and LLM\-based traffic simulation\.

### 2\.1Self\-Improvement and Self\-Evolution of Large Language Models

Research on self\-evolving LLMs studies how models can generate the experience and feedback needed for their own improvement\[[32](https://arxiv.org/html/2609.03753#bib.bib15)\]\. One line of work constructs training data with reduced human supervision\. Self\-Instruct\[[37](https://arxiv.org/html/2609.03753#bib.bib14)\]bootstraps instruction\-following data from a model’s own generations and uses the filtered examples for instruction tuning\. Similarly, Large Language Models Can Self\-Improve\[[12](https://arxiv.org/html/2609.03753#bib.bib33)\]selects high\-confidence rationale–answer pairs generated on unlabeled questions and fine\-tunes the model on those pairs, while reinforced self\-training combines model\-generated samples with reward\-based filtering and training\[[10](https://arxiv.org/html/2609.03753#bib.bib13)\]\. These approaches improve the model itself by converting self\-generated outputs into parameter updates\.

A second line of work improves behavior through interaction, exploration, and reflection\. Autotelic\[[5](https://arxiv.org/html/2609.03753#bib.bib7)\]agents can propose goals and acquire competence by exploring an environment under feedback, while AppAgent\[[44](https://arxiv.org/html/2609.03753#bib.bib8)\]learns operational knowledge for smartphone applications through autonomous exploration or demonstrations\. Reflection provides a complementary source of experience: Reflexion\[[28](https://arxiv.org/html/2609.03753#bib.bib16)\]converts task feedback into verbal reflections stored in episodic memory, allowing an agent to adjust later trials without updating model weights; Recursive Introspection\[[26](https://arxiv.org/html/2609.03753#bib.bib30)\]instead trains models to revise unsuccessful attempts over multiple turns\. Together, these studies establish two ideas central to later autonomous agents: useful experience can be actively generated rather than passively supplied, and feedback on failed attempts can itself become a learning signal\. SimSkill draws on both ideas but targets improvement at the agent\-system level, distilling environment\-grounded experience into persistent procedural and semantic memory for reuse across future tasks without updating the backbone model\.

### 2\.2Experience\-Driven Lifelong Learning Agents

Lifelong LLM agents seek to acquire, retain, and transfer capabilities over an extended sequence of interactions\[[48](https://arxiv.org/html/2609.03753#bib.bib19)\]\. Adaptation may occur through continual parameter updates or through non\-parametric mechanisms that keep the model fixed and accumulate external memory\. The latter avoids repeated training and makes acquired capabilities directly inspectable, but raises difficult questions about curriculum design, experience abstraction, retrieval, and forgetting\.

Voyager\[[34](https://arxiv.org/html/2609.03753#bib.bib34)\]is a seminal example of this externalized approach\. In the open\-world environment of Minecraft, it combines an automatic curriculum, iterative improvement from execution feedback, and a growing library of executable skills\. Related Minecraft agents use text\-based or multimodal memory to support long\-horizon planning and broad task coverage\[[50](https://arxiv.org/html/2609.03753#bib.bib38),[38](https://arxiv.org/html/2609.03753#bib.bib39)\]\. Lifelong Robot Library Learning\[[33](https://arxiv.org/html/2609.03753#bib.bib44)\]transfers a similar principle to embodied manipulation by coupling self\-guided exploration with the continual abstraction of reusable robot skills\. These works demonstrate the value of external skill libraries, but their principal environments are games and embodied control\.

Recent research treats skills more explicitly as maintainable artifacts\. AutoSkill\[[41](https://arxiv.org/html/2609.03753#bib.bib45)\]derives reusable skills from interaction traces\. SkillOpt\[[40](https://arxiv.org/html/2609.03753#bib.bib18)\]further formulates improvement of a textual skill as a controlled optimization process in which edits are retained only when they improve held\-out performance\. LifelongAgentBench\[[47](https://arxiv.org/html/2609.03753#bib.bib46)\]shows that replaying raw experience is often limited by irrelevant information and context\-window constraints\. This evidence favors abstraction over indiscriminate transcript accumulation\. SimSkill extends this line of research to traffic simulation, introducing richer representations and management mechanisms for procedural and semantic memory\.

### 2\.3Long\-Term Memory for LLM Agents

Long\-term memory enables an agent to use information that lies outside both model parameters and the current context window\[[46](https://arxiv.org/html/2609.03753#bib.bib20)\]\. Retrieval\-augmented generation\[[17](https://arxiv.org/html/2609.03753#bib.bib29)\]established the value of supplying external knowledge at inference time, but conventional RAG generally assumes a corpus constructed independently of the agent: retrieving from that corpus does not by itself determine what should be learned from a new interaction\. Agent memory therefore adds a write\-and\-maintain problem to the familiar retrieval problem\. Early systems stored conversations, observations, or reflections for later use\. MemoryBank\[[49](https://arxiv.org/html/2609.03753#bib.bib27)\], for example, updates and selectively retains conversational memories for long\-term personalization, while Generative Agents\[[25](https://arxiv.org/html/2609.03753#bib.bib26),[21](https://arxiv.org/html/2609.03753#bib.bib25)\]organize an experience stream into memories that support reflection and planning\. MemGPT\[[24](https://arxiv.org/html/2609.03753#bib.bib28)\]makes the memory\-management problem explicit through an operating\-system metaphor: it treats the constrained LLM context window as main memory and external storage as a larger persistent tier\. Crucially, the LLM can invoke memory\-management functions to page information into or out of the active context and to append, retrieve, or revise external records\. Thus, rather than merely receiving memories selected by an external retriever, the agent itself acts as the memory manager, deciding what to preserve and recall\.

More recent systems emphasize selection, consolidation, and structure as memory grows\. Mem0\[[4](https://arxiv.org/html/2609.03753#bib.bib23)\]dynamically extracts, consolidates, and retrieves salient information from long\-running interactions; MemInsight\[[27](https://arxiv.org/html/2609.03753#bib.bib21)\]augments records with semantic and contextual attributes to improve retrieval; and A\-MEM\[[39](https://arxiv.org/html/2609.03753#bib.bib22)\]constructs an evolving network of linked notes whose representations can be revised when new information arrives\. These developments move agent memory beyond a flat archive toward an actively maintained knowledge system\.

Parallel engineering developments provide artifact\-level representations for such knowledge\. Agent Skills\[[1](https://arxiv.org/html/2609.03753#bib.bib3)\]package reusable instructions, references, and executable resources as discoverable filesystem artifacts\. The LLM Wiki\[[14](https://arxiv.org/html/2609.03753#bib.bib35)\]pattern proposes that an agent continually compile source material into a structured, interlinked, and revisable knowledge base rather than repeatedly retrieve isolated raw chunks; the Open Knowledge Format\[[22](https://arxiv.org/html/2609.03753#bib.bib31)\]subsequently formalizes this pattern for portable and interoperable knowledge exchange\. SimSkill integrates these representations into a linked tripartite memory that separates episodic evidence, procedural skills, and semantic knowledge, and investigates mechanisms for distilling experience into these stores and updating them over time\.

### 2\.4Large Language Model Agents for Traffic Simulation

LLMs have entered transportation research in several roles\. TrafficGPT\[[45](https://arxiv.org/html/2609.03753#bib.bib40)\]provides a natural\-language interface to traffic foundation models and traffic data; Open\-TI\[[6](https://arxiv.org/html/2609.03753#bib.bib4)\]augments an LLM with external packages for traffic analysis, simulation, demand optimization, and control; and LLMLight and LLM\-assisted Light use LLM reasoning for traffic\-signal control\[[16](https://arxiv.org/html/2609.03753#bib.bib41),[36](https://arxiv.org/html/2609.03753#bib.bib42)\]\. Other work uses generative agents inside mobility simulations to represent travelers and their decisions\[[20](https://arxiv.org/html/2609.03753#bib.bib24),[21](https://arxiv.org/html/2609.03753#bib.bib25)\]\. These studies apply LLMs to particular transportation analyses, control policies, or simulated actors\. The work most closely related to SimSkill instead uses an LLM agent to operate the traffic simulator itself\.

ChatSUMO\[[18](https://arxiv.org/html/2609.03753#bib.bib37)\]demonstrated natural\-language generation and modification of SUMO scenarios by mapping user requests to parameters for prepared scripts\. SUMO\-MCP\[[43](https://arxiv.org/html/2609.03753#bib.bib36)\]broadened the available action space by exposing SUMO preprocessing, execution, optimization, and analysis utilities through the Model Context Protocol \(MCP\), allowing an agent to compose tools into task\-specific workflows\. AgentSUMO\[[13](https://arxiv.org/html/2609.03753#bib.bib47)\]adds interactive reasoning that translates incomplete policy objectives into executable simulation plans, while TrafficSimAgent\[[7](https://arxiv.org/html/2609.03753#bib.bib43)\]uses hierarchical expert agents and MCP\-compatible tools for general traffic\-experiment design and decision optimization\. Most recently, ChatSUMO\-Agent\[[19](https://arxiv.org/html/2609.03753#bib.bib5)\]couples planning and multi\-tool execution with simulation feedback, enabling state\-aware iterative refinement within an end\-to\-end SUMO study\. Whereas these systems primarily automate the simulation study at hand, SimSkill focuses on autonomous cross\-task learning that expands persistent capabilities over time\.

## 3Method

### 3\.1Conceptual Foundations and Framework Overview

SimSkill is based on four premises about how an LLM agent can turn interaction with an executable environment into cumulative competence\.

#### Verification asymmetry\.

For many engineering tasks, constructing a valid solution is open\-ended and difficult, whereas evaluating a candidate can be decomposed into simpler checks\. A traffic\-simulation workflow, for example, can be assessed for syntactic validity, successful execution, compliance with task constraints, nonempty outputs, reproducibility, and consistency between reported metrics and generated artifacts\. This practical asymmetry provides a foundation for self\-improvement: an LLM agent can iteratively generate, test, diagnose, and revise candidate solutions using verifiable feedback\.

#### Multi\-objective and skill\-based reinforcement learning\.

SimSkill adopts the reinforcement\-learning principle that competence grows through interaction, trial and error, and feedback\[[29](https://arxiv.org/html/2609.03753#bib.bib49)\], together with skill\-based learning’s emphasis on reusable and composable behaviors\[[30](https://arxiv.org/html/2609.03753#bib.bib1)\]\. Its feedback encompasses task completion, correctness, reproducibility, capability coverage, and knowledge gain rather than a single scalar reward\. Unlike conventional reinforcement learning, SimSkill stores acquired skills explicitly as natural\-language instructions and executable resources, updating external memory rather than model parameters\. This connection is conceptual rather than algorithmic\.

#### Generality and broad competence\.

The Bitter Lesson\[[31](https://arxiv.org/html/2609.03753#bib.bib2)\]argues that general methods capable of exploiting computation tend, in the long run, to outperform systems built around extensive hand\-crafted domain structure\. SimSkill follows this principle by using a small set of general operations—task proposal, memory retrieval, environment interaction, criticism, consolidation, and maintenance—instead of introducing a dedicated chain\-of\-thought template, planner, or hard\-coded workflow for each traffic\-simulation problem\. Domain knowledge is accumulated as experience rather than embedded exhaustively in the system architecture\.

This choice also determines what the system seeks to improve\. Let𝒬\\mathcal\{Q\}denote a broad family of tasks and letPerf⁡\(q,ℳt\)\\operatorname\{Perf\}\(q;\\mathcal\{M\}\_\{t\}\)denote the performance of the agent on taskqqwith memory stateℳt\\mathcal\{M\}\_\{t\}\. The conceptual lifelong\-learning objective is

J⁡\(ℳt\)=Eq∼𝒬​\[Perf⁡\(q;ℳt\)\],J\(\\mathcal\{M\}\_\{t\}\)=\\mathrm\{E\}\_\{q\\sim\\mathcal\{Q\}\}\\left\[\\operatorname\{Perf\}\(q;\\mathcal\{M\}\_\{t\}\)\\right\],\(1\)rather than performance on one repeatedly optimized task\[[48](https://arxiv.org/html/2609.03753#bib.bib19)\]\. SimSkill does not estimate this expectation during learning; it uses the objective to guide curriculum design\. The curriculum favors novelty, diversity, practical value, gap coverage, and progressively increasing difficulty\. These criteria reduce the risk that the agent obtains repeated positive verdicts by exploiting a narrow family of easy tasks—a system\-level analogue of reward hacking—while failing to expand its overall competence\. This broad objective distinguishes lifelong self\-evolution from a deep\-research process optimized only for the current request\.

#### Natural language as cumulative memory\.

SimSkill assumes that explicit, language\-based memory is a better substrate for accumulating agent experience than parameter updates alone\. Parametric knowledge is difficult to inspect, revise locally, attribute to evidence, or transfer between different model families\. By contrast, natural\-language instructions and knowledge pages can be read, criticized, versioned, combined, and shared by humans and heterogeneous LLMs\. Prompt\- and skill\-based engineering also suggests that carefully preserved instructions can constitute reusable capability rather than disposable context\[[1](https://arxiv.org/html/2609.03753#bib.bib3),[23](https://arxiv.org/html/2609.03753#bib.bib10)\]\.

#### SimSkill Architecture\.

These four premises determine the structure shown in Figure[1](https://arxiv.org/html/2609.03753#S3.F1)\. At learning iterationtt, the persistent state of SimSkill is

ℳt=\(ℰt,𝒫t,𝒮t\),\\mathcal\{M\}\_\{t\}=\\left\(\\mathcal\{E\}\_\{t\},\\mathcal\{P\}\_\{t\},\\mathcal\{S\}\_\{t\}\\right\),\(2\)whereℰt\\mathcal\{E\}\_\{t\},𝒫t\\mathcal\{P\}\_\{t\}, and𝒮t\\mathcal\{S\}\_\{t\}denote episodic, procedural, and semantic memory, respectively\. The system evolves by adding, revising, linking, validating, and consolidating these explicit artifacts\.

Claude Code provides the filesystem, tool\-use, and sub\-agent runtime, while a compatible LLM backend can be changed without altering the stored memory\. Seven natural\-language system skills specify the control logic:learn,infer,memory\-retrieve,memory\-ingest,memory\-merge,memory\-lint, andlog\. Three role\-specialized agents—curriculum\-agent,action\-agent, andcritic\-agent—propose tasks, execute them, and independently evaluate the resulting evidence\. The resulting loop is simple: propose a task, retrieve relevant memory, act in the environment, evaluate the result, and distill reusable outcomes\. The next iteration begins from the updated memory state\. The exploration mechanism is inspired by Voyager\[[34](https://arxiv.org/html/2609.03753#bib.bib34)\], while the richer memory structure allows SimSkill to retain not only executable behavior but also declarative knowledge and the evidence from which both were learned\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/framework_simplified.png)Figure 1:Simplified architecture of SimSkill\. A language\-model runtime coordinates interaction with SUMO and three complementary external memory stores\. SimSkill system skills implement inference, autonomous learning, retrieval, ingestion, and linting, while the lower loop summarizes continual task proposal, memory\-guided action, evaluation, and consolidation\. Memory merging and change logging are omitted from this simplified view and appear in Figure[4](https://arxiv.org/html/2609.03753#S3.F4)\.

### 3\.2Tripartite Memory and Experience Consolidation

Short\-lived observations and intermediate reasoning remain in the active LLM context as working memory; they are not part of the persistent state in Equation[2](https://arxiv.org/html/2609.03753#S3.E2)\. The purpose of SimSkill’s persistent memory is not merely to retain more text, but to preserve different products of learning at appropriate levels of abstraction\. Episodic memory records*what happened*, procedural memory records*how to act*, and semantic memory records*what is known*\. Semantic and procedural memory can be viewed as two complementary compressions of episodic experience: the former abstracts regularities about the environment, whereas the latter abstracts reusable patterns of action\.

#### Episodic memory\.

Every attempted task produces a timestamped episode inepisodic\-memory/\. An episode contains the original task, success status, memory items used, and the complete sequence of action–critic attempts\. For each attempt, SimSkill preserves the action agent’s report, the critic’s evidence and verdict, and any scripts that were created or executed\. The episode also contains the final deliverables and a concise summary specifying the method, reproducible commands, measured results, and the transition between successive attempts\. Failed attempts are retained rather than overwritten by the final solution\. Episodic memory consequently serves as an auditable evidence layer: it records not only the answer reached, but also how claims were tested and why revisions were made\.

#### Procedural memory\.

Procedural memory is stored as Claude Code skills\[[1](https://arxiv.org/html/2609.03753#bib.bib3)\]\. Each skill is a directory containing a requiredSKILL\.mdfile and optionalscripts/,references/, andassets/directories\. YAML front matter provides a unique name and a retrieval\-oriented description, while the Markdown body describes when and how the procedure should be applied, including assumptions, validation checks, and known failure modes\. Executable scripts capture operations that should be repeated exactly\. A skill may invoke simpler skills or link to relevant knowledge pages, allowing complex capabilities to be built compositionally\. Unlike a library in which each skill is a single fixed function, this representation can combine flexible natural\-language strategy with reproducible executable components\.

This artifact representation has three additional advantages\. First, the same format spans a continuum from soft interactional behavior to rigid task execution\. Natural\-language instructions can express preferences, heuristics, explanation conventions, and context\-dependent judgments, whereas bundled scripts can implement operations that require exact and repeatable execution\. A skill may combine both forms, allowing the LLM to adapt the procedure to a new situation while delegating its deterministic steps to code\. Second, externalized skills make acquired capabilities transparent, editable, and attributable\. Users and developers can inspect the rules and scripts, revise an incorrect assumption locally, examine links to supporting knowledge and experience, and identify which retrieved skills influenced a later solution because skill use is recorded in the action report and episodic memory\.

Consequently, a completed interaction need not remain an ephemeral transcript or an opaque change in model behavior\. SimSkill can distill its reusable procedural content into a persistent artifact that can be retrieved across sessions, refined when new evidence arrives, composed with other skills, and shared without modifying the backbone model\. This explicitness is central to the framework’s approach to cumulative competence\.

Listing[1](https://arxiv.org/html/2609.03753#LST1)gives the file\-level contract\. The description is deliberately operational: it is the first\-stage retrieval key and must state both what the skill does and when it should be selected\. Detailed references and deterministic operations are moved out of the instruction body so that they can be loaded or executed only when needed\.

Listing 1:Procedural\-memory skill format\.your\-skill\-name/

\|–SKILL\.md\#requiredinstructions

\|–scripts/\#optionalexecutablecode

\|\|–process\_data\.py

\|‘–validate\.sh

\|–references/\#optionaldetailedmaterial

\|\|–api\-guide\.md

\|‘–examples/

‘–assets/\#optionaltemplates/resources

‘–report\-template\.md

\#SKILL\.md

—

name:your\-skill\-name

description:Whattheskilldoesandwhentouseit\.

—

\#SkillTitle

Natural\-languageprocedure,assumptions,validationsteps,

knownfailuremodes,andlinkstorelatedskillsorknowledge\.

#### Semantic memory\.

Semantic memory is a persistent, LLM\-maintained knowledge base inspired by the LLM Wiki pattern\[[14](https://arxiv.org/html/2609.03753#bib.bib35)\]and represented in a form compatible with the principles of the Open Knowledge Format\[[22](https://arxiv.org/html/2609.03753#bib.bib31)\]\. Each concept is stored as one Markdown page insemantic\-memory/\. Its front matter contains a summary, retrieval keywords, creation and update times, provenance sources, related pages, and related skills\. Wiki links connect concepts into a graph, and citations point either to external sources or to source material retained inraw\-materials/\. A compact index exposes the summary and keywords of every page, enabling the agent to search the knowledge base without loading all page bodies\. The knowledge base is therefore a compiled and revisable synthesis, rather than a collection of raw chunks that must be reconstructed at every query\.

Each page’s lowercase, hyphenated filename is its identity\. Listing[2](https://arxiv.org/html/2609.03753#LST2)shows the required representation\. Thesummaryandkeywordsfields are copied intosemantic\-memory/index\.mdfor first\-stage retrieval;sourcespreserve provenance; andrelated\_pagesandrelated\_skillsconnect declarative knowledge to the procedures that use it\.

Listing 2:Semantic\-memory knowledge\-page format\.\#semantic\-memory/concept\-name\.md

—

summary:Oneortwosentencesdescribingtheconcept\.

keywords:

\-keyword\-1

\-keyword\-2

created:YYYY\-MM\-DDThh:mm:ss

last\_updated:YYYY\-MM\-DDThh:mm:ss

sources:

\-”\[\[raw\-materials/source\-file\.md\]\]”

\-https://example\.com/source

related\_pages:

\-”\[\[related\-concept\]\]”

related\_skills:

\-related\-skill

—

\#ConceptTitle

Synthesizedfacts,explanations,qualifications,andlinksto

relatedconcepts,sourcematerials,andproceduralskills\.

Figure[2](https://arxiv.org/html/2609.03753#S3.F2)shows how this schema appears in a rendered knowledge page\. Retrieval metadata and provenance remain in YAML front matter, while the body contains the synthesized explanation\. The relation fields connect the concept both to neighboring declarative knowledge and to the procedural skills that operationalize it\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/knowledge_page_format.png)Figure 2:An example semantic\-memory knowledge page\. The YAML front matter contains the retrieval summary, keywords, timestamps, provenance sources, related knowledge pages, and related procedural skills; the Markdown body stores the synthesized declarative content\.
#### Retrieval\.

Given a taskqq, memory retrieval first matchesqqagainst skill descriptions and the summaries and keywords in the semantic index\. It returns a bounded candidate set

ℛ⁡\(q\)=TopK⁡\(q,𝒫t∪𝒮t\),\|ℛ⁡\(q\)\|≤10,\\mathcal\{R\}\(q\)=\\operatorname\{TopK\}\\\!\\left\(q;\\mathcal\{P\}\_\{t\}\\cup\\mathcal\{S\}\_\{t\}\\right\),\\qquad\\left\|\\mathcal\{R\}\(q\)\\right\|\\leq 10,\(3\)after which full skill or page content is loaded only if it is needed\. This two\-stage, lazy\-loading policy limits context growth while preserving access to a much larger external store\. Raw episodes are not routinely replayed during task execution\. They remain available for audit and for curriculum decisions—especially when a previously failed task may now be solvable—while their transferable content is expected to be consolidated into procedural or semantic memory\.

#### Consolidation\.

After an episodeete\_\{t\}has been completed and evaluated, the memory\-ingestion process applies an LLM\-based consolidation operator

\(𝒫t\+1,𝒮t\+1\)=ℐ⁡\(𝒫t,𝒮t,et\)\.\\left\(\\mathcal\{P\}\_\{t\+1\},\\mathcal\{S\}\_\{t\+1\}\\right\)=\\mathcal\{I\}\\\!\\left\(\\mathcal\{P\}\_\{t\},\\mathcal\{S\}\_\{t\},e\_\{t\}\\right\)\.\(4\)The operator first asks whether the episode contains anything novel and reusable\. A procedural lesson may create a new skill, extend an existing skill to a broader case, or correct a previously discovered defect\. A declarative lesson may create or revise a knowledge page\. Both outcomes may occur for the same episode, and ingestion is skipped when no reusable contribution is found\. Before creating an artifact, the agent searches for a semantically similar item and updates it when appropriate; this favors cumulative refinement over near\-duplicate proliferation\. New and revised pages are cross\-linked to related pages and skills, the semantic index is synchronized, and every change is appended to a shared log\. In this way, consolidation implements experience compression along two axes:*what appears to be true*and*how a class of tasks can be performed*\.

Listing[3](https://arxiv.org/html/2609.03753#LST3)presents the operational core of the two system skills that connect active reasoning to long\-term memory\. It is a condensed transcription of their natural\-language instructions; reporting and file\-naming rules are omitted here but remain part of the executable skill definitions\.

Listing 3:Core retrieval and ingestion system skills\.SYSTEMSKILL:memory\-retrieve\(task\)

1\.Matchthetaskagainstdescriptionfrontmatterin

proceduralmemory\.

2\.Matchthetaskagainstsummariesandkeywordsinthe

semantic\-memoryindex\.

3\.Ifmorethantenitemsmatch,retainthetenmostrelevant

skillsandknowledgepagesintotal\.

4\.Returntheirentriesascontext;loadfullcontentslazily

onlywhentheactionagentneedsthem\.

SYSTEMSKILL:memory\-ingest\(episode\)

1\.Readthetask,action\-agentreport,andcriticfeedback\.

2\.Identifynovelandreusableproceduralorsemanticlessons;

stopiftheepisodeaddsnone\.

3\.Foraprocedurallesson,updateasimilarskillorcreatea

newskill,preferringcompositionoverreimplementation\.

4\.Forasemanticlesson,updateasimilarpageorcreateanew

knowledgepage\.

5\.Addpage\-to\-pageandpage\-to\-skilllinks,andsynchronizethe

semantic\-memoryindex\.

6\.Recordeveryacceptedchangeinthesharedmemorylog\.

#### Memory Maintenance\.

Explicit memory does not eliminate the stability–plasticity problem, but converts it from opaque interference among model parameters into a tractable artifact\-management problem\. New evidence can be incorporated locally, while existing content remains visible and can be tested for compatibility\. Because continual learning does not update model parameters, SimSkill also sidesteps parameter\-level catastrophic forgetting\[[15](https://arxiv.org/html/2609.03753#bib.bib50)\]\. SimSkill periodically invokesmemory\-lintto compare newly changed items against the full memory collection, merge genuine duplicates, repair broken or drifted references, remove fully superseded artifacts, and synchronize the semantic index\. Incremental linting is triggered after a configurable number of changes \(ten by default\), while full linting checks the entire collection\. A shared append\-only log allows this process to determine its incremental scope without loading the growing history into the LLM context\. Externally contributed memory can be processed bymemory\-merge: new skills are executed on representative tasks before acceptance, and updates are rejected when compatibility with local dependents cannot be established\. The current implementation uses consolidation, supersession, and merging rather than age\-based memory decay; automatic forgetting by access frequency is left for future work\. Listing[4](https://arxiv.org/html/2609.03753#LST4)condenses the operative workflow ofmemory\-lint\.

Listing 4:Core memory\-maintenance system skill\.SYSTEMSKILL:memory\-lint\(mode=incremental\|full\)

1\.Querythesharedlogforchanged\-itemnamesandcount\.

2\.Determinescope:

a\.incremental:stopbelowthechangethreshold;otherwise

inspectchangeditemsagainstthefullmemorycollection;

b\.full:inspecteveryproceduralskillandsemanticpage\.

3\.Forproceduralmemory:

a\.mergeonlygenuineduplicates;

b\.repairdriftednames,paths,arguments,andinterfaces;

c\.replacestandaloneprocedureswithverifiedcompositions

whereappropriate;

d\.removesupersededskillsandredirecttheirdependents\.

4\.Forsemanticmemory:

a\.mergegenuineduplicatesandremovesupersededpages;

b\.repairpagelinksandrelated\-skillreferences\.

5\.Synchronizethesemanticindexwiththeresultingpages\.

6\.Recordeverychange,closethecurrentlintinterval,and

openthenextintervalinthesharedlog\.

7\.Reportmerges,repairs,removals,andpreserveddistinctions\.

The explicitrelated\_pagesandrelated\_skillsfields make the accumulated structure inspectable as a graph\. Figure[3](https://arxiv.org/html/2609.03753#S3.F3)shows both the full procedural–semantic memory network and a local neighborhood centered on emergency\-vehicle preemption\. The graph is primarily a human\-facing diagnostic and navigation view; task\-time retrieval continues to use the bounded metadata\-first process in Equation[3](https://arxiv.org/html/2609.03753#S3.E3)\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/graph_view.png)Figure 3:Graph view of accumulated procedural and semantic memory\. The left panel shows the collection\-level network of skills, knowledge pages, and their explicit links; the right panel expands a local neighborhood around emergency\-vehicle\-preemption knowledge and its related procedural skills\.

### 3\.3Autonomous Self\-Evolution

Autonomous learning is implemented as a continual curriculum–execution–consolidation loop, shown on the left of Figure[4](https://arxiv.org/html/2609.03753#S3.F4)\. At the beginning of each iteration, SimSkill runs incremental memory maintenance and invokes the curriculum agent\. Letℰtfail⊆ℰt\\mathcal\{E\}^\{\\mathrm\{fail\}\}\_\{t\}\\subseteq\\mathcal\{E\}\_\{t\}denote prior unsuccessful episodes\. The next task is proposed as

qt=𝒞⁡\(𝒫t,𝒮t,ℰtfail\),q\_\{t\}=\\mathcal\{C\}\\\!\\left\(\\mathcal\{P\}\_\{t\},\\mathcal\{S\}\_\{t\},\\mathcal\{E\}^\{\\mathrm\{fail\}\}\_\{t\}\\right\),\(5\)where𝒞\\mathcal\{C\}is realized by the curriculum agent’s natural\-language policy\. The agent first inspects current skill coverage, the semantic index, and prior failures; it then identifies a capability gap and explains why the proposed task is the appropriate next step\. Tasks must be novel or genuinely extend an existing capability, achievable using current competence plus a reasonable increment of new work, and progressively more demanding\. In the SUMO instantiation, coverage is considered across network construction, demand generation, signal configuration and optimization, simulation execution, and post\-processing\. This produces an adaptive curriculum rather than a fixed task list\.

The core control flow is itself represented as natural\-language system skills\. Listing[5](https://arxiv.org/html/2609.03753#LST5)condenses the operative steps oflearnandinfer\. The former is the persistent autonomous\-learning loop; the latter is a complete task\-solving transaction and is invoked both bylearnand by direct user requests\.

Listing 5:Core autonomous\-learning and inference system skills\.SYSTEMSKILL:learn

1\.Loadmemory\-lintandinfer\.

2\.Repeat:

a\.Runmemory\-lintinincrementalmode\.

b\.Askcurriculum\-agentforthenextnoveltask\.

c\.Invokeinferonthattaskinnormalmode\.

3\.Stopwhentheuserrequests;reportmemorychanges\.

4\.Pauseforguidanceafterteniterationswithnomemorychange\.

SYSTEMSKILL:infer\(task,mode=normal\)

1\.Retrievetask\-relevantproceduralandsemanticmemory\.

2\.Initializeanemptycritic\-feedbackhistory\.

3\.Repeatforatmostthreeouterattempts:

a\.Invokeaction\-agentwiththetask,retrievedmemory,and

allaccumulatedcriticfeedback\.Theactionagentmay

internallyretryscriptexecutionuptofivetimes\.

b\.Invokecritic\-agenttoindependentlyevaluatetheresult\.

c\.Appendthecriticfeedbacktothefeedbackhistory\.

d\.Stopifthetaskiscomplete;otherwiseretrystep3a\.

4\.Saveeveryouterattempt,verdict,script,andfinaloutput

toepisodicmemory\.

5\.Innormalmode,invokememory\-ingest;intestmode,skipit\.

Each proposed task is passed to the sameinferprocess used for user requests\. The retriever suppliesℛ⁡\(qt\)\\mathcal\{R\}\(q\_\{t\}\), and the action agent constructs a solution using those memories together with native environment tools\. It writes and executes the required scripts, inspects simulator output, and corrects minor execution errors internally\. Its output is a structured report containing the memories used, created artifacts, exact reproduction commands, measured results, and any retries\. Requiring execution and concrete outputs distinguishes an environment\-grounded experience from an untested textual answer\.

An independently prompted critic then evaluates the candidate\. For outer attemptjj, the interaction can be summarized as

xt\(j\)\\displaystyle x\_\{t\}^\{\(j\)\}=𝒜⁡\(qt,ℛ⁡\(qt\),ft\(<j\)\),\\displaystyle=\\mathcal\{A\}\\\!\\left\(q\_\{t\},\\mathcal\{R\}\(q\_\{t\}\),f\_\{t\}^\{\(<j\)\}\\right\),\(6\)\(vt\(j\),ft\(j\)\)\\displaystyle\\left\(v\_\{t\}^\{\(j\)\},f\_\{t\}^\{\(j\)\}\\right\)=𝒱⁡\(qt,xt\(j\)\),\\displaystyle=\\mathcal\{V\}\\\!\\left\(q\_\{t\},x\_\{t\}^\{\(j\)\}\\right\),wherext\(j\)x\_\{t\}^\{\(j\)\}is the action agent’s executed solution,vt\(j\)v\_\{t\}^\{\(j\)\}is the completion verdict, andft\(j\)f\_\{t\}^\{\(j\)\}is evidence\-based feedback\. The critic checks reproducibility, correspondence between claims and artifacts, silent failures such as empty outputs or unrouted demand, and coverage of every requested subtask\.

The action agent andinfermaintain two nested retry loops at different abstraction levels\. The*inner execution loop*belongs to one invocation of the action agent\. It addresses local implementation failures—for example, syntax errors, incorrect paths or arguments, simulator runtime errors, and malformed or empty output—by modifying and rerunning scripts until execution succeeds or the five\-attempt limit is reached\. The action agent then emits one structured report for that outer attempt, including a concise account of its failures and retries\. The*outer design loop*belongs toinfer\. After the action agent returns, the critic asks whether the executed solution actually satisfies the task\. A negative verdict may expose a wrong modeling assumption, an omitted requirement, an invalid evaluation design, or a silent failure that successful execution alone did not reveal\. In that case,inferinvokes a new action agent, up to three outer attempts by default\.

Information crosses the loop boundary selectively\. Every critic responseft\(j\)f\_\{t\}^\{\(j\)\}is appended to the feedback historyft\(<j\+1\)f\_\{t\}^\{\(<j\+1\)\}and supplied to the next action\-agent invocation, preventing previously identified design errors from being repeated\. By contrast, the raw command\-by\-command debugging trajectory of the inner loop is not inserted into later outer contexts\. Its structured report—including a concise failures\-and\-retries account—and the produced scripts and artifacts are retained as the record of that outer attempt\. All outer action reports and critic verdicts are subsequently preserved in episodic memory\. This separation keeps routine debugging from consuming the design\-revision context while retaining the feedback needed for cumulative correction\.

When the critic accepts the result or the attempt limit is reached, SimSkill writes the full episode toℰt\+1\\mathcal\{E\}\_\{t\+1\}and invokes the consolidation operator in Equation[4](https://arxiv.org/html/2609.03753#S3.E4)\. Importantly, ingestion is based on reusable evidence rather than success alone\. A failed task may still update a skill with a newly discovered limitation or create semantic knowledge about an invalid modeling assumption\. Conversely, a successful task need not change memory if it merely repeats known procedures\. The next curriculum iteration therefore operates on the capabilities and gaps revealed by the previous one\. Learning continues until the user stops it; as a safeguard against unproductive cycling, the current implementation pauses after ten consecutive iterations that produce no procedural or semantic change\.

#### Preventing context explosion\.

Because SimSkill’s external memory grows throughout its lifetime, the framework treats the context window as a bounded working resource rather than loading persistent state wholesale\. First, memory retrieval is metadata\-first and lazy\. The retrieval skill initially searches only procedural\-skill descriptions and the summaries and keywords in the semantic\-memory index, retains at most ten candidates across the two memory types, and loads complete skill definitions, scripts, references, or knowledge pages only when they are needed for the current task\. Raw episodic records are likewise not replayed by default, because their transferable content is consolidated into procedural and semantic memory during ingestion\.

Second, routine bookkeeping is delegated to lightweight script tools\. For example, the system’slogskill updates the append\-onlylog\.mdthroughscripts/log\_manager\.pyinstead of placing the complete and continually growing log in the LLM context\. Targeted operations append an item, return the number or names of open items, or close a lint interval; only a scalar, short list, compact JSON object, or confirmation is returned to the agent\. Incremental memory linting can therefore use the returned item names to inspect recently changed artifacts without repeatedly loading the full change history\.

Third, role\-specialized sub\-agents isolate transient details in separate contexts\. The curriculum, action, and critic agents receive only the information required by their roles and return fixed\-schema reports to the orchestration loop\. In particular, accumulated critic feedback is passed to the action agent across outer inference attempts so that major design mistakes are not repeated, whereas command\-level debugging traces from the action agent’s inner script\-repair loop remain local and are not copied into subsequent attempts\. Together with bounded retrieval and finite retry limits, these mechanisms prevent active\-context consumption from growing in proportion to accumulated experience while preserving detailed evidence and reusable artifacts in external storage\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/workflow.png)Figure 4:Detailed SimSkill learning, inference, and memory\-management workflows\. Autonomous learning \(left\) uses direct inference \(right\) as an inner process: the curriculum agent proposes a task, inference retrieves memory and iterates between execution and criticism, completed attempts are written to episodic memory, and reusable outcomes update procedural and semantic memory\. The lower portion shows raw\-material ingestion, the shared change log, and the validation and integration of externally contributed memory throughmemory\-merge\.

### 3\.4Learning\-Time and User\-Directed Task Execution

In the current implementation, the sameinferskill serves both learning\-time task execution and user\-directed inference\. The autonomouslearnprocess invokes it after the curriculum agent proposes a task, whereas a user request enters it directly, bypassing curriculum generation and routine linting\. In both cases, SimSkill retrieves relevant procedural and semantic memory and applies the action–critic protocol shown on the right of Figure[4](https://arxiv.org/html/2609.03753#S3.F4)\. This shared implementation makes capabilities acquired during exploration immediately available to users and gives both entry points a consistent execution standard\.

The currentinferskill also supports two memory\-write policies\. Normal mode records the episode and considers it for procedural or semantic ingestion, allowing user interactions as well as autonomous tasks to improve future performance\. Test mode retains the episode for reproducibility but disables ingestion, leaving procedural and semantic memory frozen for controlled evaluation\.

Sharing one execution policy is an implementation choice rather than an architectural requirement\. Learning\-time execution benefits from stringent criticism, retries, and artifact checks because an undetected error may be consolidated into memory and influence many future tasks\. User\-facing inference may instead prioritize latency or cost; a deployment could omit the critic verdict, reduce retry limits, or disable write\-back, accepting a corresponding reduction in assurance\. Conversely, high\-stakes applications may require stronger verification than autonomous exploration\. Because memory retrieval and representation are separated from task\-execution policy, these two paths can be configured and optimized independently\. The experiments in Section[5](https://arxiv.org/html/2609.03753#S5)evaluate the current shared action–critic implementation, not these alternative deployment policies\.

### 3\.5Instantiation in the SUMO Environment

SimSkill instantiates the general framework in SUMO\[[2](https://arxiv.org/html/2609.03753#bib.bib48),[8](https://arxiv.org/html/2609.03753#bib.bib6)\]\. The environment exposes diverse, compositional operations: constructing and validating road networks, synthesizing and routing demand, configuring signal controllers, executing microscopic or mesoscopic simulations, interacting with vehicles and infrastructure at runtime, and analyzing quantitative outputs\. These operations supply both an open\-ended capability space and concrete feedback, making SUMO suitable for studying cumulative agent learning\.

Domain specialization enters at three points\. First, the curriculum policy is instructed to reason as a transportation engineer and to search for gaps across the five principal stages of a simulation study\. Second, the action and critic agents are given SUMO\-specific responsibilities: the action agent must execute native tools and produce actual simulation artifacts, while the critic checks routing, simulator warnings, non\-empty outputs, metric validity, and the completeness of multi\-stage analyses\. Third, procedural and semantic memory use traffic\-simulation concepts as their retrieval vocabulary and cross\-link skills to the corresponding domain knowledge\.

The action space deliberately consists of native interfaces rather than a fixed catalog of wrapper tools\. The action agent can write Python or shell scripts, invoke SUMO command\-line programs, inspect XML and output files, and control a running simulation through TraCI\. We do not require an additional Model Context Protocol \(MCP\) layer because direct access avoids committing the learned skills to a particular wrapper design and leaves the agent free to use newly discovered SUMO functionality\. MCP remains compatible with the framework and may be advantageous when the same abstract operation must be mapped to multiple simulators or when tools are distributed across machines; it is not required for self\-evolution itself\.

The system can begin with empty procedural and semantic stores, although a small seed collection accelerates early exploration\. In our implementation, the seed covers only foundational operations such as creating an isolated intersection, generating random demand, running a simulation, accessing vehicle state, and basic knowledge of abstract network generation and TraCI\. It does not encode advanced analyses or a fixed progression of tasks\. From this starting point, the same curriculum, verification, and consolidation mechanisms are responsible for expanding coverage\. Consequently, the SUMO\-specific content resides primarily in the accumulated memory, while the self\-evolving mechanism remains applicable to other executable domains that provide tools, observable outcomes, and reusable structure\.

## 4Case Studies

This section presents representative episodes from SimSkill’s autonomous learning process\. Together, they demonstrate curriculum construction, memory retrieval and task decomposition, revision through criticism, learning from unsuccessful tasks, composition and repair of existing skills, and collection\-wide memory maintenance\. At the snapshot considered here, approximately 80 hours of autonomous operation over five days on a MacBook Pro with an M1 Max processor, usingclaude\-opus\-5as the principal backbone, had produced 150 procedural skills and 153 semantic\-memory pages\.

### 4\.1Curriculum Construction, Retrieval, and Task Decomposition

The curriculum agent searches for missing capabilities and decision variables rather than merely for absent topic names\. For example, the memory already contained methods for estimating an origin–destination \(OD\) matrix from traffic counts, but every method treated count locations as fixed\. The agent therefore proposed count\-station placement as a new decision problem, comparing random, volume\-greedy, rule\-based, observability\-based, and D\-optimal designs across sensor budgets\. In another iteration, it found that the signal\-control collection contained offline and reactive controllers but no method that optimized future switching decisions against predicted arrivals\. That gap led to the predictive\-control episode in Section[4\.3](https://arxiv.org/html/2609.03753#S4.SS3)\.

Retrieval makes such tasks cumulative rather than independent\. For the complex multimodal portfolio task PP\-T4\-3\-V2, the retriever selected eight procedural skills and two semantic pages covering grid construction, OD demand, transit, accessibility and equity, benefit–cost analysis, constrained network design, project interactions, and simulation execution\. The action agent then decomposed the task into network construction, demand generation, experimental design, simulation, surrogate fitting, stress testing, distributional analysis, and appraisal\. No retrieved artifact solved the complete task; the retrieved set supplied complementary components and constraints from which the agent constructed a task\-specific workflow\. An abridged trace of the retrieved memories and decomposition is given in Listing[6](https://arxiv.org/html/2609.03753#LST6)in Appendix[A](https://arxiv.org/html/2609.03753#A1)\.

In the observed 150\-skill, 153\-page collection, Claude Code’s built\-in file search combined with metadata\-first retrieval remained adequate and did not become the dominant bottleneck\. This is an empirical observation at the present scale, not a claim of indefinite scalability: a library containing tens of thousands of artifacts may require hierarchical indexing, learned retrieval, or domain\-specific routing\. SimSkill separates retrieval policy from memory representation, allowing the retriever to be replaced without changing the stored skills, knowledge pages, or learning loop\.

### 4\.2Learning from an Unsuccessful Task

A station\-based shared\-micromobility episode shows why task failure need not imply learning failure\. The curriculum agent correctly detected that the memory lacked a model of a reusable physical asset whose inventory moves among stations, but it further inferred that SUMO lacked the required primitive\. The action agent attempted three times to establish this premise, and each attempt was rejected after a more discriminating test revealed that the apparent limitation was caused by the test design\. Table[1](https://arxiv.org/html/2609.03753#S4.T1)summarizes the progression\.

Table 1:Successive revisions of the assumed simulator limitation in the shared\-micromobility episode\.Because the motivating claim did not survive verification, SimSkill created no procedural skill\. It instead created the semantic pagestation\-based\-shared\-micromobility\-in\-sumo, which records the measured boundary between native functionality and the residual need for external control logic\. It also corrected two existing knowledge pages concerning stop\-output fields and offline observation of parking\-area occupancy\. The reusable outcome was therefore a better account of what the environment supports, not a procedure justified by a false premise\.

The episode also changed the curriculum policy itself\. From the repeated refutations, rather than from a manually supplied rule, the agent distilled the principle that “memory is silent aboutXX” implies only thatXXis not covered by memory; it does not establish that the environment cannot provideXX\. Subsequent tasks premised on a missing simulator capability were required to challenge that premise through documentation, source inspection, and adversarial control–treatment tests\. The agent also relaxed its novelty bias: characterization, validation, comparison, and integration can yield valuable learning tasks without first asserting a simulator deficiency\. Its next demand\-reconstruction task consequently verified that SUMO providestracemapper\.pyandroute2OD\.pybefore identifying the genuine gap—the memory covered reconstruction from fixed\-point counts but not from sparse GPS trajectories\. Appendix[A](https://arxiv.org/html/2609.03753#A1)preserves the corresponding curriculum trace in Listing[7](https://arxiv.org/html/2609.03753#LST7)\.

### 4\.3Acquisition of a Predictive\-Control Skill

The predictive rolling\-horizon signal\-control episode, recorded as the acquisition of the 147th learned task skill, illustrates the complete learning pipeline\. The curriculum agent identified anticipatory control as a gap in a library of offline and reactive controllers\. Retrieval then supplied adjacent capabilities—closed\-loop control, rolling\-horizon forecasting, detector design, baseline signal timing, and stochastic evaluation—which the action agent composed into a new solution\.

The first action\-agent attempt produced executable artifacts and a complete report, but the critic rejected it because key claims were insufficiently verified and a design confound undermined the controller comparison\. The critic’s findings were passed to a fresh action\-agent iteration, whereas local timeout recovery and script\-debugging details remained isolated within the first attempt\. After revising the experimental design and independently validating the critical claims, the second attempt was accepted\. The episode thus demonstrates the division between the inner execution loop, which repairs operational errors, and the outer action–critic loop, which addresses conceptual and methodological errors\.

Although the study did not establish an advantage for predictive control, it yielded reusable procedures, validation rules, and knowledge about the method’s operating boundary\. Ingestion therefore created a new skill and semantic page while revising related artifacts whose assumptions had been tested more rigorously, as summarized in Table[2](https://arxiv.org/html/2609.03753#S4.T2)\.

Table 2:Memory changes produced by the predictive\-control episode\.After ingestion, an incremental memory\-lint pass verified the changed artifacts, bundled scripts, and cross\-references against the full collection\. The more detailed phase\-by\-phase trace is provided in Listing[8](https://arxiv.org/html/2609.03753#LST8)in Appendix[A](https://arxiv.org/html/2609.03753#A1)\.

### 4\.4Compositional Acquisition and Consistent Repair

The GPS map\-matching episode illustrates how SimSkill acquires a capability by composing existing ones\. The action agent combined procedures for network import, demand reconstruction, stochastic evaluation, and output analysis to producemap\-match\-gps\-traces\-to\-reconstruct\-demand, together with four reusable scripts\. The new skill was therefore built from accumulated procedural memory rather than developed as an isolated solution\.

Composition also tested an older dependency in a new setting\. A reused script fromload\-osm\-networkfailed because of incorrect command\-line argument handling\. The action agent diagnosed and repaired the defect, after which ingestion updated the dependency together with the new skill and related semantic knowledge\. Table[3](https://arxiv.org/html/2609.03753#S4.T3)summarizes this coordinated transaction\.

Table 3:Consistent memory update produced by the GPS map\-matching episode\.This case shows that skill reuse serves both composition and continued validation\. New capabilities can build on previously learned scripts, while failures encountered during reuse provide evidence for correcting earlier memory\. Because the new skill, repaired dependency, and semantic updates were committed together, subsequent agents receive a consistent set of artifacts\. A more detailed trace is provided in Listing[9](https://arxiv.org/html/2609.03753#LST9)in Appendix[A](https://arxiv.org/html/2609.03753#A1)\.

### 4\.5Memory Maintenance as Library\-Level Learning

As memory grows, episode\-level ingestion alone cannot guarantee the health of the collection\. New artifacts may overlap or conflict with existing ones, references and interfaces may become outdated, and errors in bundled scripts may silently propagate through later skill composition\.memory\-linttherefore performs collection\-level quality control: it checks recent changes against existing memory, repairs inconsistencies, maintains cross\-references, and identifies redundant or obsolete content\. Table[4](https://arxiv.org/html/2609.03753#S4.T4)presents representative examples\.

Table 4:Representative memory\-lint operations for maintaining memory health\.Memory linting is essential because the usefulness of accumulated experience depends on its continued trustworthiness\. It keeps memory correct by repairing content and executable defects, up to date by replacing drifted names and interfaces, connected by maintaining links and indexes, and relevant by controlling redundancy without merging capabilities that remain meaningfully distinct\. When the evidence for a change is insufficient, the issue is recorded and deferred rather than resolved speculatively\. Every check and modification is retained inlog\.mdin the public repository, making the maintenance process auditable\. Memory maintenance is therefore part of learning itself: it preserves a reliable foundation on which later retrieval and skill composition can operate\.

### 4\.6Accumulated Capability and Retrieval Scale

The learned skills cover the end\-to\-end traffic\-simulation workflow rather than a narrow family of controllers\. Table[5](https://arxiv.org/html/2609.03753#S4.T5)categorizes all 150 skills by primary function\. Each skill is counted once for summary purposes, although many span category boundaries and explicitly link to skills in other groups\. The complete name\-level inventory is provided in Listing[10](https://arxiv.org/html/2609.03753#LST10)in Appendix[B](https://arxiv.org/html/2609.03753#A2)\.

Table 5:Primary\-function distribution of the 150\-skill procedural\-memory snapshot\.
### 4\.7Flexibility and Limits of Language\-Specified Orchestration

In SimSkill, the high\-level learning workflow is specified through natural\-language system skills rather than a fully hard\-coded control program\. These instructions describe when to retrieve memory, delegate execution, request criticism, retry a task, record an episode, and update memory; the LLM interprets and coordinates these steps at runtime while invoking executable scripts for precise operations\. This representation makes the workflow transparent, editable, and easy to extend as the system evolves\.

The same flexibility introduces a reliability limitation: natural\-language instructions are not enforced as deterministically as program control flow\. In pilot runs with the weaker \(e\.g\.claude\-haiku\) orchestrator, a polished success report from the action agent was occasionally interpreted as completion of the entire workflow\. The orchestrator then stopped before critic evaluation, episodic recording, or memory ingestion\. The underlying SUMO task had been solved, but the learning cycle had not been completed\. This distinction shows that long\-horizon orchestration and instruction following are system capabilities in their own right\.

SimSkill combines language\-based orchestration with explicit safeguards at points where an omitted step would compromise learning\. It limits context growth through lazy memory loading, script\-based log updates, and sub\-agent isolation; its workflow instructions state that completion of an action\-agent call is only an intermediate result, after which critic evaluation, episodic recording, and memory ingestion must continue; and an external completeness check verifies that all mandatory artifacts have been produced, resuming the session when necessary\. These safeguards do not remove dependence on the backbone model, but they pair the adaptability of natural\-language instructions with deterministic checks for critical workflow requirements\.

## 5Experiments

We evaluate whether the explicit experience accumulated by SimSkill improves its ability to solve held\-out traffic\-simulation tasks\. The experiment compares the complete system with both memory\-ablated variants and a plain Claude Code baseline, while varying the backbone LLM and task difficulty\. It addresses the following research questions:

1. RQ1*Task completion:*Does the complete SimSkill system solve more tasks than the same inference framework without accumulated memory and than vanilla Claude Code?
2. RQ2*Backbone dependence:*Are the effects consistent across different backbone LLMs, or do they depend on the model used to interpret and execute the framework or compatibility with Claude Code?
3. RQ3*Memory contribution:*How much do procedural memory and semantic memory contribute individually and jointly, relative to the inference framework alone?
4. RQ4*Resource efficiency:*How does memory change the trade\-off between verified task completion, monetary cost, and wall\-clock time?
5. RQ5*Generalization:*Do the benefits persist on held\-out compositional and novel tasks rather than only on tasks closely resembling stored experience?

### 5\.1Experimental Setup

#### Benchmarks\.

We constructed two frozen benchmarks, each comprising 40 standalone tasks\. Benchmark V1 spans ten capability areas: network generation, demand generation, signal control and optimization, TraCI\-based closed\-loop control, output analysis and visualization, surrogate safety assessment, emissions and energy analysis, multimodal transit, calibration, and cross\-category integration\. Its 40 tasks are evenly distributed across four difficulty tiers, with 10 tasks per tier; higher tiers require progressively more complex reasoning and stronger generalization\.

Benchmark V2 concentrates on substantially more difficult engineering studies\. It contains 40 tasks across network design, demand inference, signal control, freeway operations, multimodal transit, safety and human factors, environment and energy, freight and curb operations, planning and policy equity, and simulation methodology\.

Five V1 tasks and ten V2 tasks use committed, tool\-independent input fixtures such as detector counts, origin–destination matrices, trajectories, or General Transit Feed Specification data\. All other information required to reproduce a task is contained in its prompt\.

#### Systems and ablations\.

Table[6](https://arxiv.org/html/2609.03753#S5.T6)defines the five conditions\. The headline comparison uses the complete system \(full\-ver\) and plain Claude Code \(vanilla\-cc\) on both benchmarks with DeepSeek\-V4\-Pro, GLM\-5\.2, and Qwen3\.7\-Max\. The five\-way ablation is conducted on Benchmark V1 with DeepSeek\-V4\-Pro and Qwen3\.7\-Max\. In every SimSkill condition, the orchestrator and its sub\-agents use the same backbone model\. The models are accessed through the same Claude Code\-compatible execution interface; no model parameters are updated during evaluation\.

Table 6:Experimental conditions\. The four SimSkill conditions form a2×22\\times 2design over procedural and semantic memory; the vanilla condition additionally removes the SimSkill inference framework\.
#### Execution protocol\.

Each condition–model batch was instantiated in a disposable Git worktree\. The appropriate memory directories and framework files were retained, emptied, or removed only inside that worktree\. Every task was then run in a fresh, cold\-context model session\. SimSkill was invoked in test mode: it retrieved memory, executed the action–critic loop, and saved an episodic record, but did not ingest the benchmark experience into procedural or semantic memory\. The vanilla condition was likewise required to save its artifacts in the common episodic format so that all outputs could be evaluated identically\. At the end of a batch, the worktree was discarded; no evaluation artifact was merged into the memory under test\. We obtained one run for each task–condition–model cell\. Thus each headline endpoint contains 40 runs per condition, while each five\-way ablation contains 200 runs per backbone\.

#### Independent evaluation\.

The primary outcome is independently verified completion\. After a task session ended, Claude Opus 5 was launched in a separate, context\-free Claude Code session and worktree\. The judge received the original task text and the attempted episode, inspected scripts, configurations, outputs, and logs, reran safe simulations or validation scripts when practical, and checked reproducibility, scope, numerical claims, and silent failures\. The task runner’s self\-reported success was not used as the final verdict\. A missing or indeterminate verdict is conservatively counted as unsolved in the fixed denominator of 40\.

For the V2 DeepSeek\-V4\-Pro and Qwen3\.7\-Max runs, we additionally used GLM\-5\.2 as an independent pointwise judge\. It decomposed each task into weighted requirements and assigned a completion score in\[0,1\]\[0,1\], where zero denotes no verifiable task\-specific result and one denotes complete, correct, evidenced, and reproducible completion\. This continuous score captures substantial partial progress that a binary verdict necessarily discards\.

#### Cost and time metrics\.

We report the task\-solving session’s dollar cost and total wall\-clock time\. Input, output, cache\-creation, and cache\-read tokens were repriced with a fixed provider\-specific table dated 17 August 2026, using peak prices where a provider offered time\-varying rates\. The wall\-clock metric includes both model/tool orchestration and simulator execution and therefore represents user\-observed elapsed time\.

For conditioncc, letℰc\\mathcal\{E\}\_\{c\}be the runs with both a conclusive independent verdict and an observed value of the budget metric\. The plotted success\-at\-budget curve is

Ac\(b\)=1\|ℰc\|∑i∈ℰc\[Vc​i=1∧Bc​i≤b\],A\_\{c\}\(b\)=\\frac\{1\}\{\|\\mathcal\{E\}\_\{c\}\|\}\\sum\_\{i\\in\\mathcal\{E\}\_\{c\}\}\\mathbf\{1\}\\\!\\left\[V\_\{ci\}=1\\;\\land\\;B\_\{ci\}\\leq b\\right\],\(7\)whereVc​iV\_\{ci\}is the independent verdict andBc​iB\_\{ci\}is either observed cost or wall\-clock time\. A verified failure remains in the denominator and never increments the curve\. Median cost and time are also reported, but they are secondary: a condition that fails quickly can have a deceptively small median\.

### 5\.2Main Results

Table[7](https://arxiv.org/html/2609.03753#S5.T7)consolidates the headline endpoints and median resource use\. Figures[5](https://arxiv.org/html/2609.03753#S5.F5)and[6](https://arxiv.org/html/2609.03753#S5.F6)show the corresponding empirical success\-at\-budget curves\. The curves expose both eventual coverage and the budget required to reach it; markers denote runs that consumed resources but failed independent verification\.

Table 7:Complete SimSkill versus vanilla Claude Code\. Completion is reported as verified tasks out of 40, with percentages in parentheses\. Cost and time entries are per\-run medians in the form full/vanilla\.![Refer to caption](https://arxiv.org/html/2609.03753v1/performance_benchmark_v1.png)Figure 5:Verified completion on Benchmark V1 as a function of observed monetary or wall\-clock budget\. Each panel uses the budget shown on its horizontal axis\. Red curves show complete SimSkill and blue curves show vanilla Claude Code; endpoint labels give verified completions out of all 40 tasks, and markers locate verified failures at their consumed resource levels\.![Refer to caption](https://arxiv.org/html/2609.03753v1/performance_benchmark_v2.png)Figure 6:Verified completion on the hard Benchmark V2 as a function of observed monetary or wall\-clock budget\. Plot semantics are the same as in Figure[5](https://arxiv.org/html/2609.03753#S5.F5)\.#### Completion and backbone dependence\.

With DeepSeek\-V4\-Pro, SimSkill improves verified completion from 34 to 38 tasks on V1 and from 19 to 27 tasks on V2, corresponding to absolute gains of 10 and 20 percentage points\. Qwen3\.7\-Max exhibits the largest V1 gain: 23 tasks are verified under SimSkill compared with 13 under vanilla Claude Code\. On V2, vanilla Qwen3\.7\-Max solves no task completely, whereas SimSkill solves two\. SimSkill therefore enables some long\-horizon completion even when the baseline does not, although the absolute V2 result of 2/40 also shows that scaffolding and memory cannot compensate fully for limitations of the backbone\.

The result is not universal across models\. GLM\-5\.2 shows no gain: SimSkill trails vanilla by one task on V1 and ties it on V2\. The effect of an explicit, language\-specified framework is therefore not determined solely by the amount of stored memory or by a model’s baseline completion rate\. It also depends on how reliably the backbone follows long\-horizon control instructions, uses tools, delegates to sub\-agents, and acts on retrieved material\. The present experiment does not isolate these model–runtime factors, so they should be treated as a plausible explanation rather than an established cause\.

#### Generalization to difficult tasks\.

The gains are not confined to direct skill recall\. On V1, Qwen3\.7\-Max improves in every tier, including a gain of four verified tasks among the 11 Tier 4 tasks\. On V2, DeepSeek\-V4\-Pro gains two tasks in Tier 3 \(11/20 versus 9/20\) and six in Tier 4 \(16/20 versus 10/20\)\. The two Qwen3\.7\-Max successes are also Tier 4 tasks\. These results provide evidence that the accumulated library can support new compositions and first\-principles tasks rather than only near\-duplicates of past experience\.

Appendices[C](https://arxiv.org/html/2609.03753#A3)–[E](https://arxiv.org/html/2609.03753#A5)make this aggregate result concrete through three independently verified DeepSeek\-V4\-Pro executions from the complete SimSkill condition, OA\-T3 is a congestion visualization and surrogate\-safety analysis task from benchmark V2; DG\-T4\-3\-V2 and MT\-T4\-4\-V2 are V2 Tier 4 studies of time\-dependent OD inference and shared e\-scooter operations from benchmark V2\. They illustrate how accumulated memory participates in inference\.

#### Accuracy–resource trade\-off\.

Memory does not produce a uniform reduction in inference cost\. On V1, vanilla Claude Code often solves the easiest tasks at smaller budgets because it avoids retrieval and multi\-agent orchestration\. DeepSeek\-V4\-Pro and Qwen3\.7\-Max reach higher endpoints under SimSkill, but their median costs rise from $0\.49 to $0\.78 and from $1\.03 to $1\.84, respectively\. Their median times also increase\. GLM\-5\.2 is the counterexample: despite essentially unchanged completion, SimSkill reduces its V1 median cost by approximately 31% and median time by approximately 52%, indicating that structured execution can reduce exploration even when it does not expand the set of solvable tasks\.

On V2, DeepSeek\-V4\-Pro pays a higher median cost under SimSkill \($3\.93 versus $2\.92\) while achieving eight additional completions and a slightly lower median elapsed time\. GLM\-5\.2 has lower SimSkill medians but no accuracy gain\. The same total\-cost pattern holds for DeepSeek\-V4\-Pro \($203 versus $157\) and GLM\-5\.2 \($128 versus $107\) on V2\. Thus the completed experiment supports an accuracy–resource trade\-off, not a general claim that memory makes inference cheaper\. The success\-at\-budget curves are therefore more informative: they show how much verified task coverage is achieved at each expenditure level, whereas median cost alone may appear favorable when many runs terminate early without completing the task\.

#### Continuous quality scores\.

Figure[7](https://arxiv.org/html/2609.03753#S5.F7)provides a second evaluation of the V2 outputs\. Under the GLM\-5\.2 pointwise judge, DeepSeek\-V4\-Pro with SimSkill has a mean score of 0\.940, compared with 0\.891 for vanilla Claude Code\. Its median is slightly lower \(0\.955 versus 0\.965\), showing that the improvement is concentrated in reducing the lower tail rather than uniformly shifting every task\. For Qwen3\.7\-Max, both the mean \(0\.728 versus 0\.674\) and median \(0\.770 versus 0\.685\) favor SimSkill\. The continuous judge therefore agrees with the direction of the Claude Opus 5 binary results for the two evaluated backbones while revealing substantial partial completion among tasks that did not pass the binary threshold\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/score_distributions.png)Figure 7:Scores on Benchmark V2 assigned independently by GLM\-5\.2\. The left panels show the empirical proportion of runs whose score meets or exceeds each threshold; the right panels show individual runs together with the median and interquartile range\. DeepSeek\-V4\-Pro is shown above and Qwen3\.7\-Max below\.

### 5\.3Ablation Study

Figure[8](https://arxiv.org/html/2609.03753#S5.F8)and Table[8](https://arxiv.org/html/2609.03753#S5.T8)compare all five conditions on V1\. For DeepSeek\-V4\-Pro, the inference framework without memory solves the same 34 tasks as vanilla Claude Code\. Adding semantic memory raises the endpoint to 35, procedural memory raises it to 37, and the combination reaches 38\. For Qwen3\.7\-Max, the framework itself raises completion from 13 to 16 tasks; semantic and procedural memory raise it further to 19 and 20; and the complete system reaches 23\. Procedural memory contributes slightly more than semantic memory for both backbones, but neither representation subsumes the other\.

Table 8:Verified V1 endpoint in the five\-way ablation \(tasks solved out of 40\)\.![Refer to caption](https://arxiv.org/html/2609.03753v1/ablations.png)Figure 8:Benchmark V1 ablation curves for DeepSeek\-V4\-Pro \(top\) and Qwen3\.7\-Max \(bottom\), under the Claude Opus 5 binary judge\. The left panels use dollar cost and the right panels use wall\-clock time\.The factorial interaction contrast at the completion endpoint is

ΔP×S=AP​S−AP​S¯−AP¯​S\+AP¯​S¯,\\Delta\_\{P\\times S\}=A\_\{PS\}\-A\_\{P\\bar\{S\}\}\-A\_\{\\bar\{P\}S\}\+A\_\{\\bar\{P\}\\bar\{S\}\},\(8\)wherePPandSSdenote the presence of procedural and semantic memory within the SimSkill inference framework\. Equation[8](https://arxiv.org/html/2609.03753#S5.E8)equals zero for both backbones:0\.950−0\.925−0\.875\+0\.850=00\.950\-0\.925\-0\.875\+0\.850=0for DeepSeek\-V4\-Pro and0\.575−0\.500−0\.475\+0\.400=00\.575\-0\.500\-0\.475\+0\.400=0for Qwen3\.7\-Max\. At the aggregate endpoint, the two memory types therefore exhibit additive rather than super\-additive effects in this ablation study\.

The resource curves add an important qualification\. With DeepSeek\-V4\-Pro, the complete system has a lower median cost and time than either single\-memory ablation despite solving more tasks: $0\.78 and 1056 s for the full system, compared with $1\.41 and 2423 s for procedural memory alone and $1\.31 and 2383 s for semantic memory alone\. Access to both forms of memory appears to reduce unproductive exploration for this backbone, even though their endpoint accuracy effects are additive\. By contrast, Qwen3\.7\-Max’s complete system is more expensive and slower than either single\-memory variant, and its advantage emerges mainly in the long\-budget tail\. The value of an architectural component must therefore be stated jointly with the operating budget: the endpoint orderingfull\-ver\>\>proc\-mem\-ver\>\>sem\-mem\-ver\>\>infer\-frame\-only≥\\geqvanilla\-ccdoes not hold at every intermediate cost or time threshold\.

### 5\.4Scope of the Evidence

Taken together, the results answer the five research questions with important qualifications\. Full SimSkill increases verified completion for two of the three tested backbones and retains an advantage on hard compositional and novel tasks, but the effect is model\-dependent\. Both procedural and semantic memory contribute, with a modestly larger procedural contribution\. Memory can reduce wasted exploration in some settings, yet its retrieval and orchestration overhead frequently raises total inference cost; the principal demonstrated benefit is expanded task coverage rather than universal cost savings\.

## 6Conclusion

This paper presented SimSkill, a self\-evolving LLM agent that converts interaction with an executable environment into persistent competence without updating the backbone model\. In SUMO, autonomous curriculum generation and verified task execution are coupled with episodic, procedural, and semantic memory\. After approximately 80 hours of operation, SimSkill had accumulated 150 procedural skills and 153 semantic\-memory pages\. The case studies show how both successful and unsuccessful experience can create, revise, and maintain reusable memory\.

On two 40\-task benchmarks, SimSkill improved verified completion for DeepSeek\-V4\-Pro by 10 percentage points on Benchmark V1 and 20 points on Benchmark V2, and for Qwen3\.7\-Max by 25 points on V1; it also completed two V2 tasks for which vanilla Qwen3\.7\-Max completed none\. The ablations indicate complementary, additive contributions from procedural and semantic memory\. These gains were not universal: GLM\-5\.2 showed no improvement, and greater task coverage did not consistently reduce inference cost\.

Future work should evaluate successive memory snapshots with repeated runs, improve curriculum selection, consolidation, and large\-scale memory retrieval, and test transfer and forgetting across simulators and scientific domains\. Explicit memory may also be combined with parameter adaptation to preserve new knowledge in an inspectable form while accelerating mature capabilities\.

More broadly, SimSkill exemplifies a shift from fully hard\-coded agent workflows toward systems whose goals, principles, knowledge, and procedures are expressed in natural language and composed by an LLM with executable tools\. This division parallels collective human problem solving: language preserves and transmits adaptable knowledge, while tools, algorithms, and code provide precise and reproducible execution\. Natural language can therefore serve not only as an interface, but also as a medium for accumulating and reorganizing computational capability\.

## References

- \[ANT26\]\(2026\)Extend claude with skills\.Note:[https://code\.claude\.com/docs/en/skills](https://code.claude.com/docs/en/skills)Claude Code documentation\. Accessed: 2026\-08\-24Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p3.1),[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px4.p1.1),[§3\.2](https://arxiv.org/html/2609.03753#S3.SS2.SSS0.Px2.p1.1)\.
- \[BBE\+11\]M\. Behrisch, L\. Bieker, J\. Erdmann, and D\. Krajzewicz\(2011\)SUMO–simulation of urban mobility: an overview\.InProceedings of SIMUL 2011, the third international conference on advances in system simulation,Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1),[§3\.5](https://arxiv.org/html/2609.03753#S3.SS5.p1.1)\.
- \[CZY\+24\]D\. Chen, M\. Zhu, H\. Yang, X\. Wang, and Y\. Wang\(2024\)Data\-driven traffic simulation: a comprehensive review\.IEEE Transactions on Intelligent Vehicles9\(4\),pp\. 4730–4748\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1)\.
- \[CKA\+25\]P\. Chhikara, D\. Khant, S\. Aryan, T\. Singh, and D\. Yadav\(2025\)Mem0: building production\-ready ai agents with scalable long\-term memory\.arXiv preprint arXiv:2504\.19413\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p2.1)\.
- \[CTO\+23\]C\. Colas, L\. Teodorescu, P\. Oudeyer, X\. Yuan, and M\. Côté\(2023\)Augmenting autotelic agents with large language models\.InConference on Lifelong Learning Agents,pp\. 205–226\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p2.1)\.
- \[DLC\+24\]L\. Da, K\. Liou, T\. Chen, X\. Zhou, X\. Luo, Y\. Yang, and H\. Wei\(2024\)Open\-ti: open traffic intelligence with augmented language model\.International Journal of Machine Learning and Cybernetics15\(10\),pp\. 4761–4786\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[DZF\+25\]Y\. Du, J\. Zhang, J\. Feng, Z\. Liu, J\. Yuan, and Y\. Li\(2025\)TrafficSimAgent: a hierarchical agent framework for autonomous traffic simulation with mcp control\.arXiv preprint arXiv:2512\.20996\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p2.1)\.
- \[ECL26\]Eclipse Foundation\(2026\)Eclipse SUMO – Simulation of Urban MObility\.Note:[https://eclipse\.dev/sumo/](https://eclipse.dev/sumo/)Accessed: 2026\-02\-14Cited by:[§3\.5](https://arxiv.org/html/2609.03753#S3.SS5.p1.1)\.
- \[ENF\+17\]P\. M\. Ejercito, K\. G\. E\. Nebrija, R\. P\. Feria, and L\. L\. Lara\-Figueroa\(2017\)Traffic simulation software review\.In2017 8th International Conference on Information, Intelligence, Systems & Applications \(IISA\),pp\. 1–4\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1)\.
- \[GPS\+23\]C\. Gulcehre, T\. L\. Paine, S\. Srinivasan, K\. Konyushkova, L\. Weerts, A\. Sharma, A\. Siddhant, A\. Ahern, M\. Wang, C\. Gu,et al\.\(2023\)Reinforced self\-training \(rest\) for language modeling\.arXiv preprint arXiv:2308\.08998\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p1.1)\.
- \[HHH18\]S\. Haddouch, H\. Hachimi, and N\. Hmina\(2018\)Modeling the flow of road traffic with the sumo simulator\.In2018 4th International Conference on Optimization and Applications \(ICOA\),pp\. 1–5\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1)\.
- \[HGH\+23\]J\. Huang, S\. Gu, L\. Hou, Y\. Wu, X\. Wang, H\. Yu, and J\. Han\(2023\)Large language models can self\-improve\.InProceedings of the 2023 conference on empirical methods in natural language processing,pp\. 1051–1068\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p1.1)\.
- \[JCY25\]M\. Jeong, J\. Chang, and Y\. Yoon\(2025\)AgentSUMO: an agentic framework for interactive simulation scenario generation in sumo via large language models\.arXiv preprint arXiv:2511\.06804\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p2.1)\.
- \[KAR26\]A\. Karpathy\(2026\)LLM Wiki\.Note:[https://gist\.github\.com/karpathy/442a6bf555914893e9891c11519de94f](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p3.1),[§3\.2](https://arxiv.org/html/2609.03753#S3.SS2.SSS0.Px3.p1.1)\.
- \[KPR\+17\]J\. Kirkpatrick, R\. Pascanu, N\. Rabinowitz, J\. Veness, G\. Desjardins, A\. A\. Rusu, K\. Milan, J\. Quan, T\. Ramalho, A\. Grabska\-Barwinska,et al\.\(2017\)Overcoming catastrophic forgetting in neural networks\.Proceedings of the national academy of sciences114\(13\),pp\. 3521–3526\.Cited by:[§3\.2](https://arxiv.org/html/2609.03753#S3.SS2.SSS0.Px6.p1.1)\.
- \[LXZ\+25\]S\. Lai, Z\. Xu, W\. Zhang, H\. Liu, and H\. Xiong\(2025\)LLMLight: large language models as traffic signal control agents\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 1,pp\. 2335–2346\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[LPP\+20\]P\. Lewis, E\. Perez, A\. Piktus, F\. Petroni, V\. Karpukhin, N\. Goyal, H\. Küttler, M\. Lewis, W\. Yih, T\. Rocktäschel,et al\.\(2020\)Retrieval\-augmented generation for knowledge\-intensive nlp tasks\.Advances in neural information processing systems33,pp\. 9459–9474\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1)\.
- \[LAK24\]S\. Li, T\. Azfar, and R\. Ke\(2024\)Chatsumo: large language model for automating traffic scenario generation in simulation of urban mobility\.IEEE Transactions on Intelligent Vehicles\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1),[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p2.1)\.
- \[LMA\+26\]S\. Li, M\. Ma, T\. Azfar, and R\. Ke\(2026\)ChatSUMO agent: an llm\-based agent for conversational traffic simulation in sumo\.Transportation Research Part C: Emerging Technologies190,pp\. 105759\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p2.1)\.
- \[LLM25\]Q\. Liu, C\. Li, and W\. Ma\(2025\)Generative agents for urban mobility: a cognitive framework for realistic travel behavior simulation\.Simulation Modelling Practice and Theory,pp\. 103234\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[LLM26\]Q\. Liu, C\. Li, and W\. Ma\(2026\)Gatsim: urban mobility simulation with generative agents\.Transportation Research Part C: Emerging Technologies186,pp\. 105576\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1),[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[MH26\]S\. McVeety and A\. Hormati\(2026\)How the open knowledge format can improve data sharing\.Note:[https://cloud\.google\.com/blog/products/data\-analytics/how\-the\-open\-knowledge\-format\-can\-improve\-data\-sharing](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing)Google Cloud Blog, accessed June 23, 2026Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p3.1),[§3\.2](https://arxiv.org/html/2609.03753#S3.SS2.SSS0.Px3.p1.1)\.
- \[MUL26\]Multica AI\(2026\)andrej\-karpathy\-skills: a single CLAUDE\.md file to improve claude code behavior, derived from andrej karpathy’s observations on llm coding pitfalls\.Note:[https://github\.com/multica\-ai/andrej\-karpathy\-skills](https://github.com/multica-ai/andrej-karpathy-skills)GitHub repository\. Accessed: 2026\-06\-26Cited by:[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px4.p1.1)\.
- \[PWL\+23\]C\. Packer, S\. Wooders, K\. Lin, V\. Fang, S\. G\. Patil, I\. Stoica, and J\. E\. Gonzalez\(2023\)Memgpt: towards llms as operating systems\.arXiv preprint arXiv:2310\.08560\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1)\.
- \[POC\+23\]J\. S\. Park, J\. O’Brien, C\. J\. Cai, M\. R\. Morris, P\. Liang, and M\. S\. Bernstein\(2023\)Generative agents: interactive simulacra of human behavior\.InProceedings of the 36th annual acm symposium on user interface software and technology,pp\. 1–22\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1)\.
- \[QZG\+24\]Y\. Qu, T\. Zhang, N\. Garg, and A\. Kumar\(2024\)Recursive introspection: teaching language model agents how to self\-improve\.Advances in Neural Information Processing Systems37,pp\. 55249–55285\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p2.1)\.
- \[SCY\+25\]R\. Salama, J\. Cai, M\. Yuan, A\. Currey, M\. Sunkara, Y\. Zhang, and Y\. Benajiba\(2025\)Meminsight: autonomous memory augmentation for llm agents\.InProceedings of the 2025 Conference on Empirical Methods in Natural Language Processing,pp\. 33124–33140\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p2.1)\.
- \[SCG\+23\]N\. Shinn, F\. Cassano, A\. Gopinath, K\. Narasimhan, and S\. Yao\(2023\)Reflexion: language agents with verbal reinforcement learning\.Advances in neural information processing systems36,pp\. 8634–8652\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p2.1)\.
- \[SBo98\]R\. S\. Sutton A\. G\. Bartoet al\.\(1998\)Reinforcement learning: an introduction\.MIT press Cambridge\.Cited by:[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px2.p1.1)\.
- \[SPS99\]R\. S\. Sutton, D\. Precup, and S\. Singh\(1999\)Between MDPs and semi\-MDPs: a framework for temporal abstraction in reinforcement learning\.Artificial Intelligence112\(1–2\),pp\. 181–211\.External Links:[Document](https://dx.doi.org/10.1016/S0004-3702%2899%2900052-1)Cited by:[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px2.p1.1)\.
- \[SUT19\]R\. S\. Sutton\(2019\)The bitter lesson\.Note:[http://www\.incompleteideas\.net/IncIdeas/BitterLesson\.html](http://www.incompleteideas.net/IncIdeas/BitterLesson.html)Incomplete IdeasCited by:[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px3.p1.1)\.
- \[TLC\+24\]Z\. Tao, T\. Lin, X\. Chen, H\. Li, Y\. Wu, Y\. Li, Z\. Jin, F\. Huang, D\. Tao, and J\. Zhou\(2024\)A survey on self\-evolution of large language models\.arXiv preprint arXiv:2404\.14387\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p1.1)\.
- \[TK24\]G\. Tziafas and H\. Kasaei\(2024\)Lifelong robot library learning: bootstrapping composable and generalizable skills for embodied control with language models\.In2024 IEEE International Conference on Robotics and Automation \(ICRA\),pp\. 515–522\.Cited by:[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p2.1)\.
- \[WXJ\+23a\]G\. Wang, Y\. Xie, Y\. Jiang, A\. Mandlekar, C\. Xiao, Y\. Zhu, L\. Fan, and A\. Anandkumar\(2023\)Voyager: an open\-ended embodied agent with large language models\.arXiv preprint arXiv:2305\.16291\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p2.1),[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px5.p2.1)\.
- \[WMF\+24a\]L\. Wang, C\. Ma, X\. Feng, Z\. Zhang, H\. Yang, J\. Zhang, Z\. Chen, J\. Tang, X\. Chen, Y\. Lin,et al\.\(2024\)A survey on large language model based autonomous agents\.Frontiers of Computer Science18\(6\),pp\. 186345\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p1.1)\.
- \[WPK\+24b\]M\. Wang, A\. Pang, Y\. Kan, M\. Pun, C\. S\. Chen, and B\. Huang\(2024\)LLM\-assisted light: leveraging large language model capabilities for human\-mimetic traffic signal control in complex urban environments\.arXiv preprint arXiv:2403\.08337\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[WKM\+23b\]Y\. Wang, Y\. Kordi, S\. Mishra, A\. Liu, N\. A\. Smith, D\. Khashabi, and H\. Hajishirzi\(2023\)Self\-instruct: aligning language models with self\-generated instructions\.InProceedings of the 61st annual meeting of the association for computational linguistics \(volume 1: long papers\),pp\. 13484–13508\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p1.1)\.
- \[WCL\+24c\]Z\. Wang, S\. Cai, A\. Liu, Y\. Jin, J\. Hou, B\. Zhang, H\. Lin, Z\. He, Z\. Zheng, Y\. Yang,et al\.\(2024\)Jarvis\-1: open\-world multi\-task agents with memory\-augmented multimodal language models\.IEEE Transactions on Pattern Analysis and Machine Intelligence47\(3\),pp\. 1894–1907\.Cited by:[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p2.1)\.
- \[XLM\+26\]W\. Xu, Z\. Liang, K\. Mei, H\. Gao, J\. Tan, and Y\. Zhang\(2026\)A\-mem: agentic memory for llm agents\.Advances in Neural Information Processing Systems38,pp\. 17577–17604\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p2.1)\.
- \[YGH\+26a\]Y\. Yang, Z\. Gong, W\. Huang, Q\. Yang, Z\. Zhou, Z\. Huang, Y\. Li, X\. Gao, Q\. Dai, B\. Liu,et al\.\(2026\)Skillopt: executive strategy for self\-evolving agent skills\.arXiv preprint arXiv:2605\.23904\.Cited by:[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p3.1)\.
- \[YLP\+26b\]Y\. Yang, J\. Li, Q\. Pan, B\. Zhan, Y\. Cai, L\. Du, J\. Zhou, K\. Chen, Q\. Chen, X\. Li,et al\.\(2026\)Autoskill: experience\-driven lifelong learning via skill self\-evolution\.arXiv preprint arXiv:2603\.01145\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p3.1)\.
- \[YZY\+22\]S\. Yao, J\. Zhao, D\. Yu, N\. Du, I\. Shafran, K\. Narasimhan, and Y\. Cao\(2022\)React: synergizing reasoning and acting in language models\.arXiv preprint arXiv:2210\.03629\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p1.1)\.
- \[YXS\+25\]C\. Ye, G\. Xiong, J\. Shang, X\. Dai, X\. Gong, and Y\. Lv\(2025\)SUMO\-mcp: leveraging the model context protocol for autonomous traffic simulation and optimization\.arXiv preprint arXiv:2506\.03548\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p3.1),[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p2.1)\.
- \[ZYL\+25a\]C\. Zhang, Z\. Yang, J\. Liu, Y\. Li, Y\. Han, X\. Chen, Z\. Huang, B\. Fu, and G\. Yu\(2025\)Appagent: multimodal agents as smartphone users\.InProceedings of the 2025 CHI Conference on Human Factors in Computing Systems,pp\. 1–20\.Cited by:[§2\.1](https://arxiv.org/html/2609.03753#S2.SS1.p2.1)\.
- \[ZFL\+24\]S\. Zhang, D\. Fu, W\. Liang, Z\. Zhang, B\. Yu, P\. Cai, and B\. Yao\(2024\)Trafficgpt: viewing, processing and interacting with traffic foundation models\.Transport Policy150,pp\. 95–105\.Cited by:[§2\.4](https://arxiv.org/html/2609.03753#S2.SS4.p1.1)\.
- \[ZDB\+25b\]Z\. Zhang, Q\. Dai, X\. Bo, C\. Ma, R\. Li, X\. Chen, J\. Zhu, Z\. Dong, and J\. Wen\(2025\)A survey on the memory mechanism of large language model\-based agents\.ACM Transactions on Information Systems43\(6\),pp\. 1–47\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p1.1),[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1)\.
- \[ZCL\+25\]J\. Zheng, X\. Cai, Q\. Li, D\. Zhang, Z\. Li, Y\. Zhang, L\. Song, and Q\. Ma\(2025\)Lifelongagentbench: evaluating llm agents as lifelong learners\.arXiv preprint arXiv:2505\.11942\.Cited by:[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p3.1)\.
- \[ZSC\+26\]J\. Zheng, C\. Shi, X\. Cai, Q\. Li, D\. Zhang, C\. Li, D\. Yu, and Q\. Ma\(2026\)Lifelong learning of large language model based agents: a roadmap\.IEEE Transactions on Pattern Analysis and Machine Intelligence\.Cited by:[§1](https://arxiv.org/html/2609.03753#S1.p2.1),[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p1.1),[§3\.1](https://arxiv.org/html/2609.03753#S3.SS1.SSS0.Px3.p2.2)\.
- \[ZGG\+24\]W\. Zhong, L\. Guo, Q\. Gao, H\. Ye, and Y\. Wang\(2024\)Memorybank: enhancing large language models with long\-term memory\.InProceedings of the AAAI conference on artificial intelligence,pp\. 19724–19731\.Cited by:[§2\.3](https://arxiv.org/html/2609.03753#S2.SS3.p1.1)\.
- \[ZCT\+23\]X\. Zhu, Y\. Chen, H\. Tian, C\. Tao, W\. Su, C\. Yang, G\. Huang, B\. Li, L\. Lu, X\. Wang,et al\.\(2023\)Ghost in the minecraft: generally capable agents for open\-world environments via large language models with text\-based knowledge and memory\.arXiv preprint arXiv:2305\.17144\.Cited by:[§2\.2](https://arxiv.org/html/2609.03753#S2.SS2.p2.1)\.

## Appendix ASupplementary Traces for the Learning Case Studies

The following listings provide condensed, lightly normalized excerpts from the learning logs discussed in Section[4](https://arxiv.org/html/2609.03753#S4)\. They preserve the sequence of decisions and memory operations while omitting command\-level output, repeated status messages, and long numerical tables\. Unlike the preceding benchmark appendices, these traces come from autonomous learning episodes in which accepted experience could modify procedural and semantic memory\.

### A\.1Retrieval and Task Decomposition for PP\-T4\-3\-V2

Listing[6](https://arxiv.org/html/2609.03753#LST6)shows how bounded retrieval supplied a heterogeneous set of components for a multimodal portfolio problem\. The decomposition was generated after retrieval; it was not stored as a fixed workflow\.

Listing 6:Abridged retrieval and decomposition trace for PP\-T4\-3\-V2\.Retrievedproceduralmemory\(8\):

1\.create\-grid\-network

2\.convert\-od\-matrix\-to\-trips

3\.run\-simulation

4\.simulate\-multimodal\-transit

5\.evaluate\-multimodal\-accessibility\-and\-equity

6\.appraise\-project\-alternatives\-with\-benefit\-cost\-analysis

7\.solve\-budget\-constrained\-network\-design\-problem

8\.build\-pedestrian\-crossings\-and\-phasing

Retrievedsemanticmemory\(2\):

9\.discrete\-network\-design\-and\-project\-interaction

10\.accessibility\-measurement\-and\-transport\-equity

Task\-specificdecomposition:

\-constructa5x5gridwithariverconstraintandfiveprojects;

\-generateandrouteODdemand;

\-enumeratefeasibleportfoliosandselect14byD\-optimaldesign;

\-simulatetheselectedportfolios;

\-fitasurrogateandpredictthefeasibleportfoliospace;

\-identifytheParetofrontierandconductstresstests;

\-evaluateaccessibility,equity,andthe5%lossfloor;

\-monetizebenefitsandreportdistributionaloutcomes\.

Nosingleretrieveditemspecifiesthisend\-to\-endworkflow\.Theaction

agentcomposesitfromtheretrievedproceduresandknowledgepages\.

### A\.2Curriculum Revision After a Failed Premise

Listing[7](https://arxiv.org/html/2609.03753#LST7)preserves the transition from the original shared\-micromobility hypothesis to a stricter curriculum principle and then to a verified trajectory\-reconstruction gap\.

Listing 7:Abridged curriculum\-level learning trace\.Initialgap:

Memorycontainsdispatchedfleets,scheduledtransit,andprivate

vehiclesinfiniteparkingfacilities,butnostation\-basedshared

assetwithinventorythatonetravelerconsumesandanotherreuses\.

Initialpremise:

SUMOlackstherequiredshared\-assetprimitive;buildandverifyone\.

Outerattempt1:

Claim:afinitebicyclefleetcannotberationed\.

Refutation:aperson\-triggeredstopcanrationanamedfleet\.

Outerattempt2:

Claim:atravelercannotbindtowhicheverbicycleisavailable\.

Refutation:lines="ANY"bindsatruntime;thenegativetestused

invaliddecoyroutesandsuppressedrouteerrors\.

Outerattempt3:

Claim:onevehiclecannotwaitasinventoryandlatercarryarider\.

Refutation:correctedcapacityandstop\-extensionsettingspermitit\.

Ingestiondecision:

Createnoskillwhosejustificationdependsontherejectedpremise\.

Createstation\-based\-shared\-micromobility\-in\-sumoasasemanticpage\.

Correctknowledgeaboutstopinfofieldsandparkingoccupancy\.

Curriculumprinciplelearned:

"MemorydoesnotcoverX"doesnotimply"SUMOcannotdoX\."

Establishabsenceadversariallybeforeproposingareplacement\.

Characterization,validation,comparison,andintegrationarealso

legitimatesourcesofnovelty\.

Nexttask:

ReconstructSUMOroutesandanODmatrixfromsparseGPSprobes\.

Firstverifythattracemapper\.pyandroute2OD\.pyexist;thenconfirm

thatmemorycoversonlyfixed\-pointcount\-basedreconstruction\.

### A\.3Predictive\-Control Skill Acquisition

Listing[8](https://arxiv.org/html/2609.03753#LST8)summarizes the complete curriculum–execution–criticism–ingestion–maintenance sequence for the predictive\-control episode\.

Listing 8:Abridged end\-to\-end trace for predictive\-control learning\.CURRICULUM

Gap:existingsignalcontrollersareoffline\-staticorreactive;

noneoptimizesasequenceoffuturedecisionsusingpredictedarrivals\.

Task:comparerolling\-horizonDPandsimulation\-rolloutMPCwith

validatedprediction,nullandoraclecontrols,demandandarrival

regimes,replicationintervals,andatwo\-signalcoordinationarm\.

RETRIEVAL

Skills:

implement\-maxpressure\-traci\-controller

build\-rolling\-horizon\-traffic\-forecast\-with\-state\-warm\-start

design\-actuated\-signal\-detector\-placement\-and\-fault\-tolerance

model\-demand\-arrival\-process\-and\-its\-effect\-on\-capacity\-and\-delay

optimize\-signals\-by\-tlscycleadaptation

quantify\-sumo\-run\-to\-run\-variability

Pages:

state\-serialization\-and\-rolling\-horizon\-traffic\-forecasting

actuated\-signal\-detector\-design\-and\-fault\-tolerance

demand\-arrival\-process\-and\-unsignalized\-capacity

coordinated\-adaptive\-signal\-control\-detector\-bias\-and\-transition\-cost

OUTERATTEMPT1

Theactionagentrecoversfromawatchdogtimeoutandconsolidates

1,016existingSUMOrunswithoutre\-simulatingcompletedcells\.

Criticverdict:success=false\.

Requiredchecksincludestaterestoration,sequenceoptimization,

prediction\-nullequivalence,controllerconstraints,andclaimscope\.

OUTERATTEMPT2

Theactionagentreceivesthecriticfindings,sweepsthecontroller’s

ownconstraints,checkstheDPagainstexhaustiveenumeration,

separatespredictorandoptimizereffects,andrepeatscriticalcells\.

Criticverdict:success=trueafternineindependentchecks\.

INGESTION

Newskill:

implement\-predictive\-rolling\-horizon\-signal\-control

\(\+3bundledscripts\)

Updatedskills:

build\-rolling\-horizon\-traffic\-forecast\-with\-state\-warm\-start

optimize\-under\-simulation\-noise\-with\-a\-fixed\-budget

Newpage:

value\-of\-anticipation\-in\-predictive\-signal\-control

Updatedpage:

state\-serialization\-and\-rolling\-horizon\-traffic\-forecasting

MEMORYLINT

Checktenchangedartifactsagainstallexistingskillsandpages;

parse3/3newscripts;resolvealllinks;synchronizepagesummaries;

inspectnearest\-neighboroverlap;retaindistinctskills\.Norepair\.

### A\.4Compositional Map\-Matching Acquisition

Listing 9:Abridged composition and ingestion trace for GPS map matching\.TASK

TurnsparseGPSprobetrajectoriesintoSUMOroutesandanODmatrix\.

Usetracemapper\.pyandroute2OD\.py;varypinginterval,locationnoise,

fleetpenetration,anddropout;validateedge,route,andODrecovery\.

COMPOSITION

Reusenetwork\-import,demand\-reconstruction,replication,andoutput\-

analysisskills\.Bundlenewscriptsforprobegeneration,matching,

scoring,andODaggregation\.

DEPENDENCYFAILURE

Theload\-osm\-networkwrapperpasses\-\-bboxandawestern\-hemisphere

valueasseparatearguments\.Thenegativelongitudeisparsedasan

option,soalltestedboundingboxesintheAmericasfail\.

CONSISTENTINGESTION

Newskill:

map\-match\-gps\-traces\-to\-reconstruct\-demand\(\+4bundledscripts\)

Repairedskillandscript:

load\-osm\-network\(usethesingle\-token\-\-bbox=\.\.\.form\)

Newpage:

gps\-map\-matching\-and\-probe\-demand\-reconstruction

Updatedpage:

geh\-statistic\(independentevidenceonfitversusODrecovery\)

## Appendix BComplete Categorized Procedural\-Memory Inventory

Listing[10](https://arxiv.org/html/2609.03753#LST10)gives the complete 150\-skill snapshot summarized in Table[5](https://arxiv.org/html/2609.03753#S4.T5)\. Categories indicate each skill’s primary function only; cross\-links and composition routinely connect skills across these boundaries\.

Listing 10:Complete categorized inventory of the 150 learned procedural skills\.\[Scenarioconstruction,execution,andstate\]\(6\)

analyze\-simulation\-outputs

choose\-time\-discretization\-and\-integration\-method

get\-vehicles\-state

run\-mesoscopic\-simulation

run\-simulation

set\-vehicle\-state

\[Networkandinfrastructuredesign\]\(12\)

audit\-repair\-and\-persist\-imported\-network\-defects

compare\-one\-way\-vs\-two\-way\-street\-grid\-conversion

create\-grid\-network

create\-roundabout\-network

create\-single\-intersection

create\-spider\-network

extract\-subnetwork\-scenario\-with\-boundary\-demand

load\-osm\-network

model\-horizontal\-curvature\-and\-evaluate\-design\-consistency

model\-road\-gradient\-effects\-on\-energy

model\-vclass\-lane\-permissions

quantify\-opendrive\-roundtrip\-fidelity

\[Demand,routing,andassignment\]\(17\)

assign\-traffic\-with\-marouter

build\-four\-step\-model\-with\-feedback\-loop

compute\-dynamic\-user\-equilibrium

construct\-and\-verify\-braess\-paradox

convert\-od\-matrix\-to\-trips

convert\-trips\-to\-routes

equilibrate\-departure\-time\-choice\-in\-bottleneck\-model

equilibrate\-endogenous\-mode\-choice\-with\-transit\-supply\-feedback

generate\-activity\-based\-demand

generate\-demand\-with\-jtrrouter

generate\-random\-trips

implement\-eco\-routing

map\-match\-gps\-traces\-to\-reconstruct\-demand

reconstruct\-demand\-with\-dfrouter

reconstruct\-simulation\-demand\-from\-field\-turning\-movement\-counts

specify\-route\-choice\-models\-and\-generate\-route\-sets

synthesize\-population\-and\-generate\-disaggregate\-demand

\[Signalsandintersectioncontrol\]\(30\)

build\-atspm\-pipeline\-and\-retime\-arterial

build\-pedestrian\-crossings\-and\-phasing

compare\-left\-turn\-signal\-treatments

compare\-unsignalized\-intersection\-control\-types

conduct\-driveway\-signal\-warrant\-traffic\-impact\-analysis

control\-signals\-with\-actuated\-tls

design\-actuated\-signal\-detector\-placement\-and\-fault\-tolerance

design\-arterial\-signal\-progression\-and\-verify\-bandwidth

design\-left\-turn\-storage\-bay\-length

design\-multimodal\-signal\-progression\-for\-bicycles\-and\-cars

design\-restricted\-crossing\-uturn\-and\-michigan\-left\-intersections

design\-signal\-change\-and\-clearance\-intervals

evaluate\-right\-turn\-on\-red\-and\-leading\-pedestrian\-interval

implement\-detector\-free\-cv\-adaptive\-signal\-control

implement\-emergency\-vehicle\-preemption

implement\-glosa\-speed\-advisory\-controller

implement\-maxpressure\-traci\-controller

implement\-nema\-dual\-ring\-controller

implement\-predictive\-rolling\-horizon\-signal\-control

implement\-railroad\-preemption\-at\-a\-signalized\-intersection

implement\-reservation\-based\-autonomous\-intersection\-management

implement\-scats\-style\-coordinated\-adaptive\-signal\-control

implement\-transit\-signal\-priority

measure\-roundabout\-capacity\-and\-implement\-metering

model\-intersection\-sight\-distance\-restriction\-at\-a\-twsc\-junction

optimize\-signal\-plan\-with\-simulation\-in\-the\-loop\-ga

optimize\-signals\-by\-qlearning

optimize\-signals\-by\-tlscoordinator

optimize\-signals\-by\-tlscycleadaptation

switch\-signal\-plans\-by\-time\-of\-day\-with\-waut

\[Freeway,corridor,andnetworkoperations\]\(31\)

build\-and\-benchmark\-freeway\-incident\-detection

build\-and\-evaluate\-system\-interchange

build\-diamond\-interchange\-with\-signal\-offset\-spillback

build\-diverging\-diamond\-interchange

compare\-zipper\-vs\-default\-merge\-at\-lane\-drop

control\-one\-lane\-two\-way\-alternating\-flow\-through\-a\-work\-zone

demonstrate\-and\-stabilize\-phantom\-traffic\-jams

design\-and\-control\-freeway\-work\-zone\-lane\-closures

evaluate\-corridor\-access\-management\-and\-median\-treatments

evaluate\-integrated\-corridor\-management\-with\-factorial\-interaction\-design

evaluate\-neighborhood\-traffic\-calming\-and\-cut\-through\-displacement

evaluate\-two\-lane\-highway\-with\-hcm\-and\-passing\-lanes

form\-platoons\-with\-simpla

implement\-alinea\-ramp\-metering

implement\-coordinated\-corridor\-ramp\-metering

implement\-dynamic\-hard\-shoulder\-running

implement\-mfd\-based\-perimeter\-gating

implement\-variable\-speed\-limits

model\-adverse\-weather\-effects\-on\-freeway\-traffic

model\-cordon\-tolling\-with\-generalized\-cost\-surcharge

model\-freeway\-weaving\-segment

model\-grade\-aware\-heavy\-vehicle\-performance\-and\-climbing\-lanes

model\-managed\-lanes\-with\-dynamic\-tolling\-and\-self\-selection

model\-opposite\-direction\-overtaking

model\-toll\-plaza\-as\-queueing\-facility

operate\-reversible\-tidal\-flow\-lane

scan\-network\-link\-criticality\-and\-vulnerability

simulate\-emergency\-evacuation

simulate\-incident\-rerouting

solve\-budget\-constrained\-network\-design\-problem

sweep\-rerouting\-device\-market\-penetration

\[Transit,multimodal,fleet,andparkingsystems\]\(20\)

build\-and\-evaluate\-park\-and\-ride\-corridor

build\-gtfs\-transit\-scenario

build\-rail\-corridor\-with\-railsignal

build\-rail\-road\-grade\-crossing

demonstrate\-and\-control\-bus\-bunching

design\-bus\-stop\-placement\-type\-and\-spacing

design\-transit\-service\-plan\-under\-a\-bus\-hour\-budget

evaluate\-protected\-bicycle\-intersection\-design

model\-capacity\-constrained\-transit\-passenger\-loading

model\-cruising\-for\-parking\-search\-externality

model\-curbside\-delivery\-and\-lane\-blocking\-externality

model\-dedicated\-bicycle\-lane\-infrastructure

model\-parking\-with\-rerouting

model\-urban\-freight\-delivery\-tours

simulate\-ev\-charging

simulate\-motorcycle\-lane\-filtering\-with\-sublane\-model

simulate\-multimodal\-transit

simulate\-street\-running\-tram\-corridor

simulate\-taxi\-and\-drt\-dispatch

size\-battery\-electric\-bus\-fleet\-and\-chargers

\[Calibration,estimation,andexperimentaldesign\]\(21\)

build\-macroscopic\-fundamental\-diagram

build\-rolling\-horizon\-traffic\-forecast\-with\-state\-warm\-start

calibrate\-car\-following\-parameters\-against\-field\-targets

calibrate\-demand\-with\-routesampler

calibrate\-desired\-speed\-and\-evaluate\-speed\-enforcement

calibrate\-flow\-with\-in\-simulation\-calibrator

calibrate\-lane\-changing\-parameters\-at\-a\-freeway\-diverge

calibrate\-motorist\-yielding\-and\-select\-midblock\-crossing\-treatment

characterize\-pedestrian\-flow\-and\-striping\-model\-artifacts

design\-count\-station\-locations\-for\-od\-estimation

emulate\-and\-evaluate\-partial\-sensor\-traffic\-state\-estimation

estimate\-od\-matrix\-with\-odme

estimate\-stochastic\-freeway\-capacity\-and\-breakdown\-probability

measure\-av\-penetration\-effect\-on\-bottleneck\-capacity

measure\-heavy\-vehicle\-passenger\-car\-equivalent

measure\-saturation\-flow\-and\-validate\-webster\-method

model\-demand\-arrival\-process\-and\-its\-effect\-on\-capacity\-and\-delay

optimize\-under\-simulation\-noise\-with\-a\-fixed\-budget

quantify\-sumo\-run\-to\-run\-variability

screen\-and\-decompose\-sumo\-parameter\-sensitivity

validate\-kinematic\-wave\-theory\-across\-car\-following\-models

\[Impactanalysis,validation,andvisualization\]\(13\)

analyze\-intersection\-air\-quality\-hot\-spots\-from\-microsimulation

analyze\-intersection\-safety\-with\-ssm

analyze\-traffic\-noise\-with\-harmonoise

appraise\-project\-alternatives\-with\-benefit\-cost\-analysis

evaluate\-multimodal\-accessibility\-and\-equity

generate\-hcm\-los\-report\-and\-validate\-against\-microsimulation

measure\-travel\-time\-reliability\-with\-simulated\-days

publish\-georeferenced\-and\-animated\-results

screen\-network\-safety\-with\-spf\-and\-empirical\-bayes

simulate\-fleet\-emissions

validate\-congested\-scenario\-results\-against\-teleport\-artifacts

visualize\-network\-congestion\-heatmap

visualize\-trajectories\-and\-timeseries

## Appendix CMemory\-Guided Congestion–Safety Cross\-Check \(OA\-T3\)

This and the following two appendices trace memory\-guided inference under the complete SimSkill condition\. Each case follows the same sequence: retrieval of procedural skills and semantic knowledge, action\-agent execution and critic verification, and production of a final result with reproducible artifacts\. All three tasks were executed with DeepSeek\-V4\-Pro in test mode\. Memory was available for retrieval, but ingestion was disabled, so the evaluated memory snapshot remained fixed across tasks\. Each episode was accepted by the in\-loop critic and subsequently passed the independent artifact\-based verification described in Section[5\.1](https://arxiv.org/html/2609.03753#S5.SS1)\.

### C\.1Task and Memory Use

OA\-T3 asks the agent to build a spatial congestion heat map for a4×44\\times 4\-block signalized grid with 200 m spacing and heavy demand of 1,000 veh/h at each inbound fringe edge, and then determine whether the most congested edges coincide with the locations reporting the most surrogate\-safety\-measure \(SSM\) conflicts\. The task is compositional: network and demand generation, simulation, output visualization, safety\-device configuration, spatial matching, and statistical comparison must operate on one consistent scenario\.

Retrieval returned six procedural skills\.create\-grid\-network,generate\-random\-trips, andrun\-simulationsupplied network construction, demand generation, and reproducible execution\. visualize\-network\-congestion\-heatmapsupplied interval\-based heat\-map generation;analyze\-intersection\-safety\-with\-ssmsupplied SSM configuration, conflict parsing, and spatial assignment; and analyze\-simulation\-outputssupplied output\-integrity checks\. The two semantic pages shaped analytical decisions rather than execution\.spatial\-congestion\-heatmap\-with\-plot\-net\-dumpguided the choice of lane occupancy as the congestion metric, whilesurrogate\-safety\-measuresprovided the meaning of the safety indicators, thresholds, and conflict types\.

### C\.2Memory\-Guided Inference and Critic Revision

The action agent composed the retrieved artifacts into a workflow that generated one common simulation, produced twelve interval\-level congestion maps, assigned SSM conflicts to directed edges, and compared the resulting congestion and safety rankings\. This workflow was not copied from a single skill: the LLM connected network, simulation, visualization, safety\-analysis, and validation procedures to satisfy the cross\-domain task\.

The episode used all three outer action–critic attempts\. The critic rejected the first attempt after detecting an incorrect demand calculation and a silent conflict\-parser failure\. The second action\-agent attempt repaired both defects, but the critic found that the written interpretation still disagreed with the output files and omitted important limitations\. The third attempt reconciled the report with the artifacts, corrected the hotspot description, and stated the insertion and ranking limitations explicitly\. The trace therefore shows that SimSkill inference continues beyond successful program execution until the critic accepts both the artifacts and the claims derived from them\.

### C\.3Verified Result and Output

Table[9](https://arxiv.org/html/2609.03753#A3.T9)summarizes the accepted evidence\. No edge appeared in both top\-ten lists, although the full 120\-edge rankings had a Spearman correlation of 0\.748\. The result therefore distinguishes broad rank association from agreement among the most critical locations\. The critic also required the conclusion to be scoped to the realized simulation: only 3,619 of 20,000 scheduled vehicles entered, the leading occupancy values were narrowly separated, and the SSM output represented each interaction twice\.

Table 9:Accepted OA\-T3 congestion–safety cross\-check\. SSM counts are raw ego–foe records\.The final output included reproducible build\-and\-analysis scripts, edge\-data and SSM files from the common scenario, a combined edge\-ranking table, the corrected report, and the twelve heat maps shown in Figure[9](https://arxiv.org/html/2609.03753#A3.F9)\. The maps instantiate the retrieved visualization procedure and the congestion metric selected from semantic memory; their rankings were then compared with conflicts parsed using the retrieved safety procedure\. Within the stated limitations, the verified result is that a congestion heat map cannot substitute for direct safety\-hotspot analysis in this scenario\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/task_oa-t3_result.png)Figure 9:OA\-T3 lane\-occupancy heat maps for twelve consecutive 300 s intervals\. The maps were generated from edge\-data output using the retrieved congestion\-visualization procedure and semantic guidance on metric selection\. Their interval maxima produced the congestion ranking subsequently compared with spatially assigned SSM conflicts\.

## Appendix DMemory\-Guided Time\-Dependent OD Inference \(DG\-T4\-3\-V2\)

### D\.1Task and Memory Use

DG\-T4\-3\-V2 is a Tier 4 demand\-inference task on a3×33\\times 3grid with six boundary traffic analysis zones\. It asks for posterior distributions over all 30 directed origin–destination \(OD\) pairs in eight 15\-minute intervals, yielding 240 nonnegative flows, from only 24 screenline counts and sparse Bluetooth travel times\. Holdout rows must be excluded from fitting and model selection, the result must quantify non\-identifiability, and the simulation budget is fixed at 15 designated SUMO executions\. This is a useful test of compositional inference because the stored library contained relevant foundations but no end\-to\-end procedure for likelihood\-free, time\-dependent OD estimation\.

Retrieval returned five procedural skills\.create\-grid\-networkandrun\-simulationsupplied the network and reproducible execution foundation\.estimate\-od\-matrix\-with\-odmesupplied the assignment\-matrix logic, a deterministic comparator, and diagnostics separating count fit from OD recovery\.optimize\-under\-simulation\-noise\-with\-a\-fixed\-budgetguided surrogate construction and the fixed run ledger, whilequantify\-sumo\-run\-to\-run\-variabilityguided the separation of training and validation seeds\.

The two retrieved knowledge pages shaped interpretation and validation\. od\-matrix\-estimation\-and\-underdeterminationled the agent to report uncertainty and non\-identifiable contrasts instead of presenting one fitted OD matrix as ground truth\.geh\-statisticsupplied the count goodness\-of\-fit measure and its limitations\. Memory provided the foundations and evidential standards, but no retrieved skill implemented likelihood\-free, time\-dependent OD inference\. The action agent therefore constructed that task\-specific component in new code\.

### D\.2Memory\-Guided Inference and New Construction

The action agent used the retrieved ODME procedure and identifiability knowledge to define a low\-dimensional demand model that generated all 240 flows, applied one route set to both the posterior method and the deterministic comparator, and excluded holdout observations from fitting and stopping\. It then built the missing likelihood\-free component as a task\-owned ABC–SMC workflow\.

The fixed\-budget skill directly shaped execution\. Twelve SUMO runs trained a physics\-informed surrogate; three independent posterior populations then operated entirely on the cached surrogate without calling SUMO; and two posterior representatives plus the ODME comparator consumed the final three runs\. The resulting ledger contained exactly 15 designated simulations\. Unusable development executions were retained separately in a discarded\-run ledger, preserving transparency without mixing them into the reported design\.

The episode was accepted in its first outer action–critic attempt\. The critic independently verified the holdout masks, the 15\-run ledger, the absence of SUMO calls during posterior inference, the comparator, and the required convergence and predictive diagnostics\. It also found five minor discrepancies between reported numbers and stored artifacts; these were corrected in the report without changing the code or rerunning the experiment\. This case shows how retrieved memory can structure a novel solution while the critic enforces the task’s evidential requirements\.

### D\.3Verified Result and Output

The accepted output satisfied the prescribed simulation budget, convergence checks, and holdout criterion, as summarized in Table[10](https://arxiv.org/html/2609.03753#A4.T10)\. It also retained the limitations highlighted by semantic memory: aggregate demand was better identified than individual OD cells, and apparently good count fit did not eliminate the OD null space or simulator–surrogate discrepancy\.

Table 10:Accepted DG\-T4\-3\-V2 inference and verification results\.The final artifacts included the network and signal files, ten task scripts, the 15\-run and discarded\-run ledgers, the fitted surrogate, posterior samples and metadata, a CSV containing credible intervals for all 240 flows, the deterministic ODME comparator, summary JSON files, and five diagnostic figures\. Figure[10](https://arxiv.org/html/2609.03753#A4.F10)combines the principal outputs: demand and posterior\-predictive checks, parameter correlations, and non\-identifiable contrasts\. It therefore makes visible both the inferred result and the caution supplied by semantic memory about underdetermination\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/task_dg-t4-3-v2_result.png)Figure 10:DG\-T4\-3\-V2 posterior diagnostics and results\. The left column shows total interval demand, posterior\-predictive screenline counts, and Bluetooth travel times; circled observations are holdouts and Bluetooth 90th\-percentile values are diagnostic only\. The right column shows posterior parameter correlations and prior\-to\-posterior changes in selected non\-identifiable OD contrasts\. Together, the panels distinguish fit to observed aggregates from uncertainty in the underlying OD cells\.

## Appendix EProcedural Transfer to Shared E\-Scooter Operations \(MT\-T4\-4\-V2\)

### E\.1Task and Selective Memory Use

MT\-T4\-4\-V2 compares no rebalancing, scheduled truck rebalancing, and incentive\-based user rebalancing for a docked shared e\-scooter system under operational, environmental, and equity constraints\. No semantic page about shared scooters or micromobility operations was present in the frozen memory, and the episode recordsknowledge\_used: \[\]\. The case therefore shows how SimSkill can transfer procedural memory while constructing missing domain\-specific logic in task\-owned code\.

Retrieval returned eight procedural skills, six of which shaped the solution\.create\-grid\-networkandrun\-simulationsupplied network construction and SUMO validation; model\-dedicated\-bicycle\-lane\-infrastructureinformed the protected\-lane representation; model\-urban\-freight\-delivery\-tourssupplied routing and VKT\-accounting patterns for the rebalancing truck;simulate\-fleet\-emissionssupplied the emissions\-reporting structure; and evaluate\-multimodal\-accessibility\-and\-equityguided reporting by origin\-area income label\. The agent also inspectedget\-vehicles\-stateandset\-vehicle\-state, but did not use them because the selected event\-driven formulation required no TraCI state\-transfer loop\. Retrieval thus provided candidate capabilities rather than commands that had to be applied mechanically\.

### E\.2Memory\-Guided Inference and Task\-Specific Extension

Using the retrieved procedures, the action agent assigned SUMO to network construction and route\-time validation, while implementing scooter inventory, battery state, walking, docking, truck movement, and incentive decisions in a task\-owned discrete\-event engine\. This division illustrates adaptive skill use: stored procedures supplied reliable components, while the LLM constructed the domain\-specific mechanism absent from memory\.

The agent then executed paired policy comparisons under four base perturbations and two rain perturbations, producing 18 policy–scenario–seed runs\. Within the action agent’s inner loop, it corrected four local defects involving metric calculation, incentive logic, report generation, and route validation\. The critic subsequently reran the complete workflow, obtained byte\-identical outputs, checked every explicit task requirement, and accepted the first outer attempt\. Non\-blocking modeling qualifications were retained in the report rather than treated as reasons to discard an otherwise verified result\.

### E\.3Verified Result and Output

Table[11](https://arxiv.org/html/2609.03753#A5.T11)reports the base\-scenario means\. Scheduled truck rebalancing raised served share from 58\.8% without rebalancing to 95\.8%; incentives raised it to 75\.1%\. The largest distributional change occurred at low\-income\-origin stations, where served share rose from 40\.9% to 95\.7% under the truck policy\. The truck added 10\.7 km of combustion\-vehicle travel and 2\.13 kg of CO2, while the incentive policy incurred no truck travel but paid $94\.0 per simulated day on average\. Neither full\-dock failures nor sidewalk conflicts occurred in the abstract network\.

Table 11:MT\-T4\-4\-V2 base\-scenario results, averaged over four paired perturbation seeds\.The policy ordering remained stable in the rain sensitivity case, with served shares of 87\.6%, 98\.9%, and 97\.8% for no rebalancing, truck rebalancing, and incentives, respectively\. Considering availability, equity, VKT, emissions, and cost together, the action agent recommended the truck policy as the primary strategy and incentives as a rebalancing complement without truck travel\.

The final output included five task scripts, the SUMO network and specification, route\-time validation, machine\-readable aggregate and per\-seed results, request\-level outcome files, a written report, and two figures\. Figure[11](https://arxiv.org/html/2609.03753#A5.F11)combines the network representation derived from the retrieved infrastructure procedures with the policy, equity, and VKT outcomes produced by the task\-owned engine\. The critic’s non\-blocking qualifications were retained in the report so that the accepted result remained reproducible and appropriately scoped\.

![Refer to caption](https://arxiv.org/html/2609.03753v1/task_mt-t4-4-v2_result.png)Figure 11:MT\-T4\-4\-V2 network and policy outcomes\. The left panel shows station locations, income\-area labels, protected scooter lanes, and geofenced low\-speed blocks\. The right panels compare served share, served share by origin\-station label, total motorized VKT, and wait/walk time for no rebalancing, truck rebalancing, and incentive rebalancing under base and rain demand\.
### E\.4Cross\-Case Interpretation

The three cases illustrate complementary forms of memory\-guided inference\. OA\-T3 composed mature procedural and semantic artifacts and required repeated critic\-guided correction\. DG\-T4\-3\-V2 used memory as methodological scaffolding for a likelihood\-free estimator that had to be constructed in task\-owned code\. MT\-T4\-4\-V2 selectively transferred procedural skills despite having no matching semantic page and set aside retrieved skills that were unnecessary\. Across all three cases, the action agent selected, adapted, and composed memory into a task\-specific workflow; the critic verified the artifacts and claims; and the final output preserved scripts, data, results, and figures for reproduction\. Because all tasks ran in test mode, none could alter the memory available to subsequent benchmark tasks\.

Similar Articles

SkillFlow:Benchmarking Lifelong Skill Discovery and Evolution for Autonomous Agents

Hugging Face Daily Papers

SkillFlow introduces a benchmark of 166 tasks across 20 families for evaluating autonomous agents' ability to discover, repair, and maintain skills over time through a lifelong learning protocol. Experiments reveal a substantial capability gap among leading models, with Claude Opus 4.6 improving significantly while others show limited or negative gains from skill evolution.

SkillNet: Create, Evaluate, and Connect AI Skills

Papers with Code Trending

SkillNet presents an open infrastructure for systematically accumulating and transferring AI skills using a unified ontology, showing significant improvements in agent performance across multiple domains.

@AlphaSignalAI: https://x.com/AlphaSignalAI/status/2069064122218717387

X AI KOLs Timeline

This article explores how AI agents can automatically write and optimize their skill files using techniques like SkillOpt from Microsoft Research, which treats skill documents as trainable state and delivers significant performance improvements. It addresses the challenge of manual skill tuning and presents frameworks like GEPA and EvoSkill as evolutionary approaches.