OPEN SOURCE · BUILT FOR CODING AGENTS

Evolve
anything.

Prompts, skills, programs, agent harnesses, or your own artifact type. AgentDescent gives each a measurable evolution loop, with interchangeable modules for how candidates are proposed, selected, merged and accepted.

$curl -fsSL https://raw.githubusercontent.com/Birfy/agentdescent/main/scripts/install.sh | bash
ONE ENGINE · MANY POSSIBILITIES
01 Your artifact, your representation
02 Swappable algorithm modules
03 One evolve() entry point

Define what changes.
Measure what improves.

AgentDescent is not tied to a prompt format. A Strategy represents your artifact as state and turns proposals into diffs. An actor tries tasks; a reward says what success means. The loop explores candidates, evaluates them and commits accepted changes to a versioned ledger.

Meet evolve() ↗
01RepresentChoose a built-in Strategy or write your own
02ExploreRun and propose candidates in parallel
03Evaluate and mergeUse your reward and chosen policies

One evolve().
Many algorithms.

Keep the loop; change its decisions. Choose what the artifact is, who proposes edits, how work runs, and which candidates survive. Swap one module or supply your own optimizer.

Explore all policy slots ↗
AN EVOLVE RECIPEDEFAULT

Start with one artifact.

The same entry point handles the task, reward, actor and artifact strategy. Unspecified policy slots use their defaults.

evolve(tasks, reward, agent=agent,
       strategy=FileTree(files),
       policies=Policies())
Illustrative configuration · supply your own tasks, reward, agent and files.
8 SWAPPABLE DECISIONStask samplerselectionproposalconflictfusionacceptancepromotionstaleness

A policy slot only changes that decision. For algorithms with their own population or optimizer state, use aggregator_factory ↗. See the full module map ↗

See it inside
your agent.

AgentDescent also works inside Claude Code, Codex and other coding agents. Walk through a sample conversation, from plan to proposed diff.

BROWSER SIMULATION
No model calls or files changed
SET UP THE SCENARIO
Your agent
What to improve
CLAUDE CODE / AGENTDESCENT
READY
✳See what your agent can do.Choose a host, then start the sample conversation.
This demo illustrates the workflow; it does not contact an agent.Use it for real ↗

More than prompts.
More than skills.

Any artifact you can represent, propose changes to and evaluate can fit the loop. Start with built-in strategies or define the three-method Strategy contract for your own state.

SINGLE SLOT STRATEGY

Evolve one instruction.

Replace a single value and compare candidates against the tasks you care about.

Read the prompt quickstart ↗
ARTIFACT STATEprompt.md
You are a helpful assistant.

+ Respond with only the requested answer.
+ Omit extra explanation and restatement.
23 RUNNABLE METHOD PORTS

Algorithms are examples,
not the limit.

The repository ports published methods onto the same engines. ACE evolves context, GEPA searches prompts, DGM edits an agent harness, and OpenEvolve searches programs. Each declares its own strategy, policies or optimizer.

Explore all 23 methods ↗

Research flexibility.
Engineering control.

AgentDescent includes the machinery around an algorithm: scheduling work, checking candidates, handling conflicts and keeping accepted versions. Use what you need; replace the parts your method changes.

BRING YOUR OWN AGENT

Use Claude, an OpenAI-compatible endpoint, a local model or your own run and propose functions.

Connect an actor ↗

Start with your agent.

One command installs AgentDescent and connects supported agents on your PATH.

Open Quickstart ↗