FLEX: Continuous Agent Evolution via Forward Learning from Experience

Zhicheng Cai, Xinyuan Guo, Yu Pei, Jiangtao Feng, Jinsong Su +5 more
11/9/2025
cs.LGcs.AI

No official code found. Best implementation: GenSI-THUAIR/FLEX (82 stars, MIT, last commit 2026-02-12). 1 more below.

Abstract

Autonomous agents driven by Large Language Models (LLMs) have revolutionized reasoning and problem-solving but remain static after training, unable to grow with experience as intelligent beings do during deployment. We introduce Forward Learning with EXperience (FLEX), a gradient-free learning paradigm that enables LLM agents to continuously evolve through accumulated experience. Specifically, FLEX cultivates scalable and inheritable evolution by constructing a structured experience library through continual reflection on successes and failures during interaction with the environment. FLEX delivers substantial improvements on mathematical reasoning, chemical retrosynthesis, and protein fitness prediction (up to 23% on AIME25, 10% on USPTO50k, and 14% on ProteinGym). We further identify a clear scaling law of experiential growth and the phenomenon of experience inheritance across agents, marking a step toward scalable and inheritable continuous agent evolution. Project Page: https://flex-gensi-thuair.github.io.

View on arXivView PDF

Code Implementations(2)

GenSI-THUAIR/FLEXCommunity70%
MIT

The official codebase for our paper, FLEX: Continuous Agent Evolution via Forward Learning from Experience.

822PythonNov 3, 20258 months agoMIT

The official Project Page for our paper, FLEX: Continuous Agent Evolution via Forward Learning from Experience

90HTMLNov 5, 202511 months ago

Similar Papers

Cite this paper

@article{cai2025flex,
  title  = {FLEX: Continuous Agent Evolution via Forward Learning from Experience},
  author = {Zhicheng Cai and Xinyuan Guo and Yu Pei and Jiangtao Feng and Jinsong Su and Jiangjie Chen and Ya-Qin Zhang and Wei-Ying Ma and Mingxuan Wang and Hao Zhou},
  year   = {2025},
  eprint = {2511.06449},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06449v2}
}

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/2511.06449.svg)](https://codeofpaper.com/paper/2511.06449)

Discussion