From History to State: Constant-Context Skill Learning for LLM Agents
On the map: LLM agents and tool use → Agent skill learning and evolution
Abstract (arXiv)
Large language model (LLM) agents are increasingly used to operate browsers, files, code and tools, making personal assistants a natural deployment target. Yet personal agents face a privacy-cost-capability tension: cloud models execute multi-step workflows well but expose sensitive intermediate context to external APIs, while local models preserve privacy but remain less reliable. Both settings also pay repeatedly for long skill prompts and growing histories. We propose constant-context skill learning, a context-to-weights framework for recurring agent workflows: reusable procedures are learned in lightweight task-family modules, while inference conditions only on the current observation and a compact state block. A deterministic tracker renders this state block from task progress and supplies aligned subgoal rewards, so each module can be trained with step-level SFT and refined through online RL. Across ALFWorld, WebShop, and SciWorld, our agents achieve strong performance across Qwen3-4B, Qwen3-8B and Llama-3.1-8B. With Qwen3-8B, SFT+RL reaches 89.6% unseen success on ALFWorld, 76.8% success on WebShop, and 66.4% unseen success on SciWorld. They match or exceed strong published agent-training results while reducing prompt tokens per turn by 2--7× relative to controlled ReAct prompting baselines, showing that procedural context can be moved from prompts into weights.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 36 of its 43 references that are in the map. First posted on arXiv 6 May 2026.
Builds on
36 of 43 references.
References · 36
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
24 more
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
- 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 442
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
- 2016Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivationcited by 282
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
- 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 227
- 2024ArCHer: Training Language Model Agents via Hierarchical Multi-Turn RLcited by 212
- 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
- 2026Qwen3.5-Omni Technical Reportcited by 146
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
- 2025Agent Learning via Early Experiencecited by 79
- 2024Direct Multi-Turn Preference Optimization for Language Agentscited by 63
- 2025Beyond Single-Turn: A Survey on Multi-Turn Interactions with Large Language Modelscited by 58
- 2024Self-evolving Agents with reflective and memory-augmented abilitiescited by 52
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inferencecited by 51
- 2025AgentRefine: Enhancing Agent Generalization through Refinement Tuningcited by 51
- 2020A Probabilistic End-To-End Task-Oriented Dialog Model with Latent Belief States towards Semi-Supervised Learningcited by 47
- 2024Odyssey: Empowering Minecraft Agents with Open-World Skillscited by 26
- 2026REMem: Reasoning with Episodic Memory in Language Agentcited by 20
- 2026Exploratory Memory-Augmented LLM Agent via Hybrid On- and Off-Policy Optimizationcited by 17
- 2026Agentic Critical Trainingcited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revisioncited by 21
- 2026When Privileged Guidance Misaligns: State-Matched Routing and Contextualized Self-Distillation for Multi-Turn Agentscited by 2
- 2026MetaResearcher: Scaling Deep Research via Self-Reflective Reinforcement Learning in Adversarial Virtual Environmentscited by 1
- 2026EvoClawBench: Can Agents Learn Reusable Skills from Their Own Runs?cited by 1
- 2026Learning to Act with Task Progress: Distilling Small Agents from Compact Teacher Supervisioncited by 0
- 2026Learning to Act with Task Progress: Distilling Small Agents from Compact Teacher Supervision7 Oct 2026
- 2026When Privileged Guidance Misaligns: State-Matched Routing and Contextualized Self-Distillation for Multi-Turn Agents5 Aug 2026
- 2026EvoClawBench: Can Agents Learn Reusable Skills from Their Own Runs?23 Jun 2026
- 2026MetaResearcher: Scaling Deep Research via Self-Reflective Reinforcement Learning in Adversarial Virtual Environments18 Jun 2026
- 2026SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revision31 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026SkillRet: A Large-Scale Benchmark for Skill Retrieval in LLM Agents
- 2026SkillGym: Training Skill-Use Agents with Automatic Verifiable Environment Generation
- 2026SkillSmith: Enhancing Locally Deployed Agents via Automatic Skill Construction and Evolution
- 2026Secure Forgetting: A Framework for Privacy-Driven Unlearning in Large Language Model (LLM)-Based Agents
- 2026How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings
- 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories
- 2026LatentSkill: From In-Context Textual Skills to In-Weight Latent Skills for LLM Agents
- 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward