cs.AIOct 29, 2026

Compile Away Uncertainty: Self-Evolving Agent Skills via Programmatic Compilation

Authors: Chengyu Yang, Yunxiang Zheng, Zongzheng Li, Jiamei Li, Boxun Lan, Xiaoyu Liu, Xiaoyu Zhang, Xiaohong Chen, 

Organizations: East China Normal University · China University of Geoscience

Abstract

Self-evolving agent skills enable AI agents to accumulate and refine reusable procedural knowledge from interaction experience without updating model parameters. However, since such skills are typically represented as textual documents and executed through LLM reasoning, even previously learned procedures must be repeatedly interpreted and regenerated, introducing avoidable uncertainty into every execution. In contrast, program execution is deterministic and independently verifiable. Intuitively, transforming well-specified operations into executable programs can reduce reliance on LLM reasoning and, consequently, reduce execution uncertainty. Motivated by this intuition, we introduce SKillCompiler, a self-evolving skill framework that integrates programmatic compilation into the skill evolution process. Specifically, SkillCompiler adopts an executability-aware skill compilation strategy that decomposes skills into fine-grained operations, analyzes their executability, and constructs hybrid skill skeletons that retain LLM reasoning for context-dependent operations while compiling well-specified ones into validated programs. To avoid redundant program synthesis and enable executable knowledge to accumulate across evolving skills, we further design a program asset reuse mechanism that organizes validated programs as reusable assets, retrieves existing implementations whenever applicable, and synthesizes and verifies new programs only when necessary. Extensive experiments on five benchmarks and six model families demonstrate that SkillCompiler consistently outperforms state-of-the-art methods, achieving up to 32.33% improvement in task performance.

Figures & tables

Explore similar work

CardsList
  1. SkillComposer: Learning to Evolve Agent Skills for Specification and Generalization

    Jun 4, 2026Qi Zhang, Zhaopeng Feng, Xiaonan Shi +8LLM Agent Self-ImprovementLLM Agent Skill Learning

  2. SkillSmith: Compiling Agent Skills into Boundary-Guided Runtime Interfaces

    May 12, 2026Duling Xu, Zheng Chen, Zaifeng Pan +4LLM Agent Workflow OptimizationLLM Agent Skill Retrieval

  3. SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revision

    May 31, 2026Yuxuan Liu, Zhaochen Su, Lingyun Xie +11LLM Agent Self-ImprovementLLM Agent Skill Learning