Documentation¶
AgentDescent is a parallel, asynchronous engine for self-evolving LLM agents. You give it an artifact — a prompt, a skill, a directory, a program or a harness — a way to try tasks, and a reward. It runs candidates in parallel, merges their edits, accepts only what the held-out evidence supports, and writes every accepted change to a git-backed ledger.
Diffs are the gradients; the aggregator is the optimizer.
Choose the route that matches what you want to do. Each guide links to the deeper reference when you need it.
Three audiences¶
Getting started¶
- Install and see the loop once, offline.
pip install "agentdescent[mcp]>=0.11.0", thenagentdescent demo. Skill evolution means a multi-file library:agentdescent demo --kind skill_library. Install and first run - Point it at your artifact. From the CLI:
init→plan→evolve→show→apply. From Python:evolve(tasks, reward, run=…, propose=…). Dataset to skill · Directory · Agent code - Read the evidence. The report carries the decision, the cost and the next action. Measured results · Trust evidence
The interactive demo walks through the same flow inside a
host agent. The website quickstart is the one-command installer
that also wires supported agents already on your PATH.
What it is not
A research reference implementation, not a hosted product or a benchmark leaderboard. The engine and the evidence layer are the product; a host agent or a platform owns the UI. Missing evidence defers, and an unchanged artifact is not repriced as a gain. Read the main path for the supported surface and the results page for the caveats behind every number.
Hosts and plugins¶
The same engine runs as a plugin: a shared skill teaches the host when to reach
for it, an MCP server exposes Path A (doctor → plan → start → apply),
and the CLI mirrors those verbs so a run started from an agent can be inspected
from a shell. The host quotes the call count before starting and asks again
before it writes anything back.
- The plugin, step by step
- Use it from your agent — every host, the MCP tools, and evolving the plugins themselves
- MCP / CLI Path A — the default loop, and what
--advancedunlocks - Set it up and test it
- dsh-super-agent — the zero-code DeepSeek Harness composition
- Agents & LLMs — providers, keys, and CLI agents
Algorithms¶
Named cards are wheel mechanism slices you can select from the CLI, a spec,
MCP, or a host plugin. The twenty-three research ports live under
examples/ and need a source checkout. The same slug is not the same fidelity;
never read a card run as paper numbers.
- Named algorithms · Algorithm decision tree
- Twenty-three ports · Port fidelity
- Register a named Algorithm card
- Porting checklist · MethodPolicy checklist
The three supported paths¶
| path | you have | the product surface |
|---|---|---|
| A — evolve one artifact | tasks, a reward, an actor | agentdescent plan/evolve/status/show/apply/snapshot |
| B — governed release | paired held-out scores | agentdescent release + release verify |
| C — continuous platform | a run database and callbacks | agentdescent platform + platform status |
These are product surfaces over the same evolve() engine, not separate
algorithms. The main path is the design contract for where a new
capability belongs. Individual surfaces (release, traces,
governed-harness, tenant, ops, platform, capability) each have their
own page under Product surfaces in the navigation.
Go deeper¶
The engine.
Architecture · Concepts ·
The evolve() method · Strategies ·
Portable snapshots ·
Policies · API reference.
Run and operate it. Parallelism · Async · Budget · Diagnose · Usage — demos and extension.
Trust and release. Verifier · Trusted promotion · Release · Safety.
Measurements. Results · Efficiency · Runtime matrix.
Questions about the code? Ask DeepWiki indexes the repository and answers with links to the source.