Learning Reusable Agent Subroutines from Experience

Zhihan Lei, Jiarui Yan, Joshua Momo, William W. Cohen
6/2/2026
cs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Existing methods induce various forms of knowledge from agent traces, from sample workflows to programmatic skills. We propose ARISE (Agent Routine Induction from Successful Experience), which identifies recurring procedures in agent traces and synthesizes them into a reusable library of agent subroutines.

Show full abstract

Across five tasks in narrative deduction, rule application, and constraint planning, it is shown to be a more effective learning strategy than prompting methods and prose and code artifact induction methods. ARISE outperforms chain-of-thought in all ten model-task settings of the main evaluation. Compared to state-of-the-art methods in agent experience induction, our method scores 6.1 percentage points over the strongest evaluated baselines, and 11.5 percentage points over code-skill induction. In our controlled experiment, ARISE also improves average accuracy by up to 15.6 percentage points compared to formatting the induced knowledge as skills and by up to 19.1 points over rewriting it as code tools.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lei2026learning,
  title  = {Learning Reusable Agent Subroutines from Experience},
  author = {Zhihan Lei and Jiarui Yan and Joshua Momo and William W. Cohen},
  year   = {2026},
  eprint = {2606.02994},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.02994v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.02994.svg)](https://codeofpaper.com/paper/2606.02994)

Discussion