mlsanityData to 14 Oct 2026

Harnessing LLM Agents with Skill Programs

arXiv 2605.17734 ↗First posted 18 May 2026cs.AIcited by 9

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

  1. 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization2 Apr
  2. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning9 Feb
  3. 2025Reinforcement Learning for Self-Improving Agent with Skill Library18 Dec

Other references · 30

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2024Qwen2.5 Technical Reportcited by 4,942
  3. 2024GPT-4o System Cardcited by 4,588
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2021Program Synthesis with Large Language Modelscited by 3,637
  8. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  9. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  10. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  11. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  12. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
18 more
  1. 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
  2. 2025Open-Reasoner-Zero: An Open Source Approach to Scaling Up Reinforcement Learning on the Base Modelcited by 461
  3. 2025Learning to Reason under Off-Policy Guidancecited by 281
  4. 2025ZeroSearch: Incentivize the Search Capability of LLMs without Searchingcited by 208
  5. 2025ToRL: Scaling Tool-Integrated RLcited by 169
  6. 2025ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learningcited by 161
  7. 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
  8. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agentscited by 142
  9. 2025General-Reasoner: Advancing LLM Reasoning Across All Domainscited by 135
  10. 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 119
  11. 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Usecited by 96
  12. 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 93
  13. 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 88
  14. 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 72
  15. 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 25
  16. 2025MedMMV: A Controllable Multimodal Multi-Agent Framework for Reliable and Verifiable Clinical Reasoningcited by 8
  17. 2025SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoningcited by 5
  18. 2025SUCEA: Reasoning-Intensive Retrieval for Adversarial Fact-checking through Claim Decomposition and Editingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Demystifying Agent Skills: Why They Work-Until They Don't
  2. 2026SkillMaster: Toward Autonomous Skill Mastery in LLM Agents
  3. 2026How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings
  4. 2026Agent Skills Can Be Harmful: An Empirical Study of Skill-Induced Failures in LLM Agents
  5. 2026SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revision
  6. 2026SkillSeek: Revisiting Agent Skill Retrieval at Marketplace Scale
  7. 2026SkillSentry: Reliable Skill Execution for LLM Agents via Runtime Assurance
  8. 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories