Evolver: Claude Code and Codex reuse past runs as Genes
EvoMap's Evolver paper stores what coding agents learned in earlier runs as reusable 'Genes', for developers running Claude Code or Codex on recurring tasks.
Picture a contract developer who runs Claude Code or Codex across a handful of client repos every week. Many tasks repeat: the same flaky build step, the same odd test runner, the same dataset-wrangling chore. Each new session starts from zero. The agent explores, trips on the same error, burns a few hundred thousand tokens recovering, and eventually gets there. The lessons live only in a transcript nobody rereads. The developer's workaround is a hand-edited instructions file that goes stale within a month.
That is the gap a new paper from EvoMap's Infinite Evolution Lab targets. Evolver (arXiv, Nov 5, 2026) turns past agent runs into structured, reusable strategy records it calls Genes. It feeds them back into Claude Code or Codex on later tasks, with no change to the underlying model. On a selected diagnostic set, the authors report higher task success and lower token use. As @omarsar0 put it, "This idea isn't new, but it's becoming an important pattern in harness engineering." The question for a builder is whether this implementation is worth wiring in.
What it is
According to the paper, Evolver is an external experience layer that sits beside an existing agent harness. It has four parts, each aimed at the pain in the lede.
- Capture instead of losing transcripts. When session ingestion is on, runtime adapters collect task context, tool calls, errors and outcomes from supported harnesses. They normalize this material "with heuristic sensitive-information redaction." By default, Evolver drafts short procedural hints from the assistant's own messages and marks them unproven. An optional LLM-based distillation step extracts more structured strategies, example cases and "negative procedural guidance."
- A structured record instead of a stale notes file. Each Gene holds a summary, procedural steps, applicability conditions, task-matching signals and optional validation plans. The paper is explicit that the conditions and validation plans "provide guidance rather than enforceable execution constraints." Capsules attach a Gene to a concrete past case. AntiGenes record what to avoid. Event, provenance and review records sit alongside in content-addressed, append-only storage.
- Delivery at the right moment. Retrieved Genes reach the agent through session-start hooks, prompt-time recall, MCP tools or host-specific integrations. The paper describes this as procedural guidance injected into the existing context, not a replacement for the harness.
- Upkeep instead of pile-up. Drafted and distilled Genes enter quarantine and can be approved or rejected. An optional probation mechanism promotes them based on recorded successes and failures.
There is also a networked side. Evolver connects to EvoMap for publishing and retrieving Genes across agents. The awesome-agent-swarm list, which EvoMap maintains, describes this as "opt-in EvoMap worker-pool participation and shared Genes and Capsules." EvoMap's GitHub organization page lists the evolver engine, a JavaScript SDK, a gep-mcp-server, and plugins for Claude Code, Cursor, Codex and OpenCode.
The reported numbers, from the paper (Nov 5, 2026, Evolver v2.0.33):
- Task success rose from 83.13% to 87.50% across 320 paired executions.
- Claude Code went from 85.00% to 87.50%. Codex went from 81.25% to 87.50%.
- Nine of 16 harness–model–benchmark configurations improved and seven were unchanged. The models were deepseek-v4.1-flash and gpt-5.6-sol.
- Terminal-Bench 2.1 gained the most (+8.75 points). SWE-bench Multilingual stayed flat at 96.25%.
- Recorded task-execution tokens fell 24.24% overall. On the 265 pairs that succeeded both with and without Evolver, they fell 17.57%.
Alternatives: we have no fetched pages for competing tools, so we can't give trade-offs from their own sources. The paper's related-work section positions Evolver against documentation-style Skill packages, prompt- and context-evolution methods such as GEPA and Agentic Context Engineering, and Agentic Plan Caching. Those characterizations are the paper's, not the projects' own.
Who it's for
This is our read, based on the cited results.
Pick it up if:
- You run Claude Code or Codex on recurring task families: the same repos, the same terminal chores, the same kinds of fixes.
- Token spend on repeat work matters to you. The strongest evidence in the paper is efficiency on tasks the agent could already solve.
- You're comfortable treating a research system as an experiment.
Skip it for now if:
- You need evidence that it helps on new, unseen tasks.
- You can't tolerate unclear data flows for client code.
- A short hand-maintained instructions file already covers your repeat cases.
In vibe-engineering terms, this is a memory layer, not a verification layer. It can make an agent faster at things it has done before. It doesn't replace tests or review.
Before and after
Today:
- Start a fresh agent session on a task similar to last week's.
- The agent explores the environment, calls tools, hits known errors and recovers.
- It finishes. The trajectory is discarded or archived unread.
- Optionally, you copy a lesson into an instructions file by hand.
- Next time, repeat from step 1.
With Evolver, as the paper describes it:
- Session ingestion captures the run's tool calls, errors and outcome, with heuristic redaction.
- Evolver drafts or distills candidate Genes, Capsules and AntiGenes. They land in quarantine.
- You, or a probation rule, approve or reject candidates.
- On the next relevant task, a session-start hook or MCP call injects matching Genes into context. The paper's evaluation capped this at 12,000 bytes.
- The outcome feeds back as an Event and can change a Gene's eligibility.
The paper's case studies show the efficiency side at its best. On a Terminal-Bench 2.1 token-counting task with Claude Code and GPT, both runs succeeded, but model calls dropped from 112 to 17 and tokens fell 86.5%. On an RxJava concurrency fix in SWE-bench Multilingual with Codex and DeepSeek, calls dropped from 86 to 52 and tokens fell 58.2%. These are two hand-picked examples, not averages.
Try it
The sources do not give install commands, setup steps or pricing. What they establish:
- The paper's experiments used Evolver v2.0.33, and the paper points to EvoMap's evolver repository.
- EvoMap's GitHub organization lists that repo (about 8.7k stars as of Nov 8, 2026) alongside gep-mcp-server and editor plugins for Claude Code and Codex.
- Integration runs through hooks, MCP or host-specific plugins, per the paper.
The sources don't say which of those paths is the recommended start. A cautious first step, based on that description: try it on one repo with recurring tasks, keep any EvoMap network sharing off, and compare token counts on a few repeat tasks against your current setup. Check the repository's own documentation before installing.
Where it breaks
- The headline numbers come from a selected set. The paper reports gains on "a selected diagnostic set of 320 paired executions." It says the final selection "additionally considers observed outcome improvements and token usage, making the resulting set diagnostic rather than a random sample." We could not confirm whether results on the full benchmarks look similar.
- It's mostly replay, not transfer. Genes were distilled from baseline runs of the same tasks, and selection prioritized "experience derived from the same task." The paper says the protocol "assesses historical experience reuse rather than generalization to unseen tasks or long-term online evolution." That fits the recurring-task use case. It says little about novel work.
- Overhead isn't counted. Token accounting, per the paper, "excludes experience extraction and other overhead outside the final task executions." Optional LLM distillation costs tokens too, and the reported savings don't include it.
- Gains are uneven. Seven of 16 configurations saw no success change. The paper itself says accumulated experience "does not necessarily yield consistent improvements."
- Trust controls are pathway-dependent. The paper says admission checks and trust enforcement vary by pathway, and "some direct retrieval interfaces do not apply the same restrictions." Redaction is heuristic. What data leaves the machine when worker-pool or shared-Gene features are on is unconfirmed.
- Pruning is unproven. The paper describes quarantine, probation, rejection and revocation. It doesn't report how well these demote Genes that mislead the agent or go stale.
- The sources are vendor-heavy. The authors are EvoMap's lab. The Gene concept builds on an earlier paper by overlapping authors. Swace News ran EvoMap's October press release on that work, which reported 54.0% for Genes versus 49.9% for Skill packages across 4,590 trials. The one independent voice here, @omarsar0, restates the paper's findings rather than reproducing them.
- Unconfirmed:
- Exact setup steps for Claude Code versus Codex.
- Current repository activity and release cadence.
Sources
- Evolver: Turning Agent Exploration into Evolving Capabilities · arXiv.org
- EvoMap · GitHub
- GitHub - EvoMap/awesome-agent-swarm: A curated list of AI Agent Swarm frameworks, multi-agent orchestration, swarm intelligence, and collaborative agent systems. · GitHub
- EvoMap Publishes Skill to Gene Research Showing How AI Agents Can Keep Learning Across Runs - Swace News · Just another WordPress site
- elvis (@omarsar0) on X · @omarsar0