Skip to content

Recuris

Recursive Experiential–Working Memory Evolution for Long-Horizon Agent Harnesses

Install

$pip install huggingface_hub

Install command taken from the project's README or registry entry. Always review code before running it.

Recursive Experiential–Working Memory Evolution for Long-Horizon Agent Harnesses

National University of Singapore  ·  Stanford University  ·  University of Oxford  ·  Princeton University


💡 Introduction

Recuris is a recursive self-improvement framework that improves a long-horizon agent by evolving its memory instead of its weights or its prompt. A frozen agent is paired with a Skill Memory M = (E, W, ρ, C). A meta-agent reads structured execution traces, locates each failure in one component of that memory, and patches only that component. A deterministic validation gate then decides, on paired held-out evidence, whether the patch survives. Recuris has the following key features:

  • State-grounded memory use. Working memory drives skill invocation, so retrieval is conditioned on verified task state rather than on a chat history that grows until the state is buried.
  • Targeted memory evolution. Structured trajectories (w_t, E_t, a_t, o_t) locate a failure in a specific component, instead of nudging a monolithic prompt from outcomes alone.
  • Bounded by a validation gate. Candidates are admitted by paired held-out arithmetic and nothing else. No model votes on its own patch.
  • Training-free and model-agnostic. The downstream agent stays frozen, and a memory evolved on one model transfers to others unchanged.

Overall, Recuris achieves higher task success, larger gains on longer horizons, and substantially fewer long-horizon failures, on both frontier and open-source agents.

🔔 News

  • [2026-08] 🎉 Initial release: evaluation and evolution code, the evolved Skill Memory packages, and the frozen evaluation splits.

📊 Results

Task success (avg@4, %), each model run with the benchmark's own reference agent alone and with that same agent plus Recuris. Bold marks the better of each pair, the subscript is Δ, † marks a paired task-clustered bootstrap 95% CI excluding zero, and n/a means the model was not run on that benchmark.

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…