Harnessing LLM Agents with Skill Programs
On the map: LLM agents and tool use → Agent skill learning and evolution
Abstract (arXiv)
Equipping LLM agents with reusable skills derived from past experience has become a popular and successful approach for tackling complex and long-horizon tasks. However, such lessons are often encoded as textual guidance that remains largely advisory, lacking explicit mechanisms for when and how to intervene in the agent loop. To bridge the gap, we introduce HASP(Harnessing LLM Agents with Skill Programs), a new framework that upgrades skills into executable Program Functions (PFs). Rather than offering passive advice, PFs act as executable guardrails that activate on failure-prone states and modify the next action or inject corrective context. HASP is highly modular: it can be applied at inference time for direct agent-loop intervention, during post-training to provide structured supervision, or for self-improvement by evolving validated, teacher-reviewed PFs. Empirically, HASP drives substantial gains compared to both training-free and training-based methods on web-search, math reasoning, and coding tasks. For example, on web-search reasoning, inference-time PFs alone improve the average performance by 25% compared to (multi-loop) ReAct Agent, while post-training and controlled evolution achieve a 30.4% gain over Search-R1. To provide deeper insights into HASP, our mechanism analysis reveals how PFs trigger and intervene, how skills are internalized, and the requirement for stable skill library evolution.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 33 of its 42 references that are in the map. First posted on arXiv 18 May 2026.
Builds on
33 of 42 references.
Closest ancestors · 3
Same direction, newest first
- 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization2 Apr
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning9 Feb
- 2025Reinforcement Learning for Self-Improving Agent with Skill Library18 Dec
Other references · 30
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024GPT-4o System Cardcited by 4,588
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
18 more
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
- 2025Open-Reasoner-Zero: An Open Source Approach to Scaling Up Reinforcement Learning on the Base Modelcited by 461
- 2025Learning to Reason under Off-Policy Guidancecited by 281
- 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 208
- 2025ToRL: Scaling Tool-Integrated RLcited by 169
- 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learningcited by 161
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
- 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 142
- 2025General-Reasoner: Advancing LLM Reasoning Across All Domainscited by 135
- 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 119
- 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Usecited by 96
- 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 93
- 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 88
- 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 72
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 25
- 2025MedMMV: A Controllable Multimodal Multi-Agent Framework for Reliable and Verifiable Clinical Reasoningcited by 8
- 2025SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoningcited by 5
- 2025SUCEA: Reasoning-Intensive Retrieval for Adversarial Fact-checking through Claim Decomposition and Editingcited by 2
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026Skill Self-Play: Pushing the Frontier of LLM Capability with Co-Evolving Skillscited by 10
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Librariescited by 6
- 2026SkillComposer: Learning to Evolve Agent Skills for Specification and Generalizationcited by 4
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 3
- 2026Harnessing Agent Skills: Architectural Patterns and a Reference Architecture for Skill-Mediated LLM Agentscited by 1
- 2026HiSkill: Empowering LLM Agents with Hierarchical Skill Graphscited by 1
- 2026CyberFactory: Scaling Cyber Security Capabilities with Instances from the Wildcited by 0
- 2026Beyond Instruction Following: Learning Grounded Skill-Following with Skill Contractscited by 0
- 2026Socratic Skill Learning: Interleaving Teaching and Practice for Transferable Agent Skillscited by 0
- 2026Socratic Skill Learning: Interleaving Teaching and Practice for Transferable Agent Skills13 Oct 2026
- 2026Beyond Instruction Following: Learning Grounded Skill-Following with Skill Contracts4 Oct 2026
- 2026CyberFactory: Scaling Cyber Security Capabilities with Instances from the Wild24 Aug 2026
- 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence21 Aug 2026
- 2026HiSkill: Empowering LLM Agents with Hierarchical Skill Graphs28 Jul 2026
- 2026Skill Self-Play: Pushing the Frontier of LLM Capability with Co-Evolving Skills24 Jul 2026
- 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Libraries11 Jul 2026
- 2026SkillComposer: Learning to Evolve Agent Skills for Specification and Generalization4 Jun 2026
- 2026Harnessing Agent Skills: Architectural Patterns and a Reference Architecture for Skill-Mediated LLM Agents29 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Demystifying Agent Skills: Why They Work-Until They Don't
- 2026SkillMaster: Toward Autonomous Skill Mastery in LLM Agents
- 2026How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings
- 2026Agent Skills Can Be Harmful: An Empirical Study of Skill-Induced Failures in LLM Agents
- 2026SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revision
- 2026SkillSeek: Revisiting Agent Skill Retrieval at Marketplace Scale
- 2026SkillSentry: Reliable Skill Execution for LLM Agents via Runtime Assurance
- 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories