What is Evolver?
Evolver is a self-evolution engine for AI agents: instead of leaving what an agent learned in a growing pile of prompt edits, it encodes experience as compact Genes and Capsules under the project's GEP protocol, and records every change as an auditable event. It sits in the Agent Memory category of the Agents & Automation tools and is open-source, written in JavaScript and licensed GPL-3.0-or-later.
Overview
Evolver is a self-evolution engine for AI agents: instead of leaving what an agent learned in a growing pile of prompt edits, it encodes experience as compact Genes and Capsules under the project's GEP protocol, and records every change as an auditable event. Each run scans the local `./memory/` directory for logs and signals, selects a matching Gene or Capsule from its asset pool, prints a GEP prompt to stdout — that prompt is the artifact — and writes an `EvolutionEvent` back to `./memory/` for the audit trail.
The design rests on a published comparison rather than taste. The project's paper, "From Procedural Skills to Strategy Genes: Towards Experience-Driven Test-Time Evolution" (arXiv:2604.15097), reports 4,590 controlled trials across 45 scientific code-solving scenarios, finding that documentation-style skill packages give a sparse and unstable control signal while a compact Gene representation performs best and survives structural perturbation; on CritPt, gene-evolved systems lifted their paired base models from 9.1% to 18.57% and from 17.7% to 27.14%. Evolver is the engine that implements that result.
It runs as a Node CLI inside a git repository — git is required, since Evolver uses it for rollback and blast-radius calculation — and works fully offline. Hooks wire it into Cursor, Claude Code, Codex, Kiro and opencode so evolution fires on session start, file edit or stop; OpenClaw needs no setup because it interprets the directives Evolver emits. Connecting to the EvoMap hub is optional and only unlocks network features such as skill sharing and leaderboards. Note the licensing trajectory: releases were MIT from the first release on 2026-02-01 and GPL-3.0-or-later since 2026-04-09, and the project has announced that future releases will move from fully open source to source-available, with already-published versions remaining usable under their original terms.
What it does
- Encodes agent experience as Genes and Capsules under the GEP protocol rather than as accumulated prompt text
- Every run writes an EvolutionEvent to ./memory/, so what changed and why is auditable after the fact
- Uses git for rollback and blast-radius calculation — it refuses to run outside a git repository
- Three run shapes: a single pass, `--review` for human confirmation before applying, and `--loop` as a background daemon
- `setup-hooks` integrations for Cursor, Claude Code, Codex, Kiro and opencode; OpenClaw needs no setup
- Runs fully offline; the EvoMap hub connection is optional and only adds sharing, worker pool and leaderboards
Getting started
Evolver needs Node.js 18 or newer and git. Install the CLI globally, then run it from inside a git-initialised project — a run that produces no GEP prompt almost always means you are not in a git repository.
Install the CLI
Install globally from npm and confirm it is on your PATH.
npm install -g @evomap/evolver
evolver --helpRun it in a project
From inside a git repository, run evolver. It prints the detected strategy preset, scans ./memory/ (creating it if missing), selects a Gene or Capsule, prints a GEP prompt and records an EvolutionEvent.
# single evolution run
evolver
# pause for human confirmation before applying
evolver --review
# run continuously as a background daemon
evolver --loopWire it into your agent runtime
setup-hooks registers Evolver with a host's hook system so evolution fires automatically. Run it once per platform; most hosts need a restart afterwards.
evolver setup-hooks --platform=cursor
evolver setup-hooks --platform=claude-code
evolver setup-hooks --platform=codex
evolver setup-hooks --platform=kiro
evolver setup-hooks --platform=opencodeOptionally join the EvoMap network
Evolver is fully functional offline. To enable sharing and leaderboards, put a .env in the directory you run evolver from — it is read from the current working directory on each run, so each project can have its own.
A2A_HUB_URL=https://evomap.ai
A2A_NODE_ID=your_node_id_hereCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Keep what a coding agent learned about a repository as versioned assets rather than an ever-growing instructions file
- Review each proposed change to an agent's behaviour before it applies, with git-backed rollback if it regresses
- Run evolution automatically on session start and file edits through a host's hook system
- Audit how an agent's behaviour drifted over time by reading the recorded evolution events
How Evolver compares
Evolver alongside other open-source agent memory tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Claude-Mem | ★ 121k | Persistent memory layer for coding agents: it captures what an agent does during a session, compresses it into semantic summaries, and injects the relevant parts back into later sessions. |
| Mem0 | ★ 69.7k | A memory layer that you add to existing LLM agents to extract, store, and recall user facts and preferences across sessions using vector, graph, and key-value backends. |
| Hindsight | ★ 64.3k | An agent memory server that stores facts and experiences, consolidates them into observations and mental models, and serves them back through retain, recall, and reflect operations. |
| MemPalace | ★ 60.8k | Local-first agent memory that stores conversations verbatim instead of summarising them, with a structured palace index, pluggable vector backends and an MCP server. |
| OpenViking | ★ 43.1k | A context database that stores an agent's memories, resources, and skills as one browsable viking:// filesystem with three-tier (abstract/overview/details) on-demand loading. |
| Cognee | ★ 33.7k | A graph-native memory engine that turns raw documents and conversations into a queryable knowledge graph for agents that need to build lasting knowledge. |
| Graphiti | ★ 33.2k | A library that builds a temporal knowledge graph from an agent's conversations and data so facts can be tracked and queried as they change over time. |
| Evolver | ★ 8.8k | Stores agent experience as auditable Genes and Capsules instead of ad hoc prompt tweaks |
