Alibaba's Recursa lets an agent rewrite its own skills and memory from experience
An Alibaba Research preprint describes Recursa, which learns skills, instructions and memory from its own task runs, lifting legal-benchmark pass rates.
Alibaba Research's Recursa preprint describes an agent system that improves itself by editing a text knowledge repository, not model weights. The repository holds instructions, skills in the Agent Skills format, and memory of past failures. If you maintain prompts and skill files for an agent by hand, this is a recipe for automating that loop. On Harvey LAB's Firm Knowledge legal benchmark, the paper reports held-out all-pass rates rising from 30.0% to 55.0% with DeepSeek-V4.1-Flash and from 35.0% to 46.0% with Qwen3.8-Flash. No stronger teacher model is involved.
The method, per the paper, has two phases. First, agents bootstrap skills by mapping the document corpus and practicing on self-generated tasks. Then parallel learners split the training tasks by topic, diagnose failures and edit skills. An edit is kept only if re-running the affected tasks, plus a sample of tasks that already passed, shows fixes without regressions. That regression check is the vibe-engineering part worth borrowing. A single learner without splitting did noticeably worse, and with Qwen3.8-Flash it fell below its bootstrap baseline on training tasks.
Some caveats apply. The test split is 100 tasks. An LLM, Qwen3.8-Max, judged every rubric criterion. The authors also revised 46 criteria in 30 tasks that they found conflicted with the task or the source documents. Separately, explainx.ai (Oct 12, 2026) notes a Hacker News commenter reported problematic tasks and rubrics in this subset. The paper says the system needs substantial compute but gives no figure.
CCTest cautions that the results cover one benchmark. As of Nov 4, 2026, the Hugging Face paper page lists no linked models or datasets, and it's unclear whether code will ship. @ekzhu calls it "a beginning, more will come."
Sources
- Recursa: Toward Recursively Self-Improving Foundation Model Systems · arXiv.org
- Recursa: Recursive Self-Improvement for Foundation Models - CCTest · CCTest
- Eric Zhu (@ekzhu) on X · @ekzhu
- Paper page - Recursa: Toward Recursively Self-Improving Foundation Model Systems · Huggingface
- GLM-Legal: 19.2% on Harvey LAB, but Is It Open Weight? | explainx.ai Blog · explainx.ai