Overview
The Capability Evolver runs evolution cycles that analyze your agent’s runtime history, identify improvements, and generate protocol-constrained evolution prompts. This guide covers how to run the evolver and understand its output.Standard Run
Execute a single evolution cycle:- Analyze memory and history files for errors and patterns
- Extract signals from runtime data
- Select appropriate Genes/Capsules from the asset store
- Generate a GEP protocol prompt
- Apply changes if in automated mode
What Happens During a Run
The evolution cycle follows these steps:Log Analysis
Scans
memory/ and history files to detect:- Error patterns and stack traces
- Performance issues
- Repeated failures
- Resource constraints
Signal Extraction
Converts findings into structured signals:
repair_neededfor bugs and crashesoptimization_opportunityfor performance issuesevolution_saturationfor mature systems
Asset Selection
Matches signals to Genes/Capsules in
assets/gep/:- Scores each asset by signal relevance
- Prefers reusable evolution patterns
- Emits a JSON selector decision
Prompt Generation
Creates a GEP protocol prompt with:
- Selected Gene strategy
- Mutation directive (repair/optimize/innovate)
- Personality state evolution
- Strict protocol constraints
Command-Line Options
Basic Commands
Run with Strategy
Control evolution focus withEVOLVE_STRATEGY:
Interpreting Output
Successful Evolution
No Changes Needed
Evolution Failure
Output Files
Each run generates artifacts inmemory/evolution/:
| File | Purpose |
|---|---|
gep_prompt_<timestamp>.json | Full GEP protocol prompt |
gep_prompt_<timestamp>.txt | Human-readable prompt |
evolution_solidify_state.json | Run state and pending changes |
asset_call_log.jsonl | Asset usage history |
Checking Run History
View asset usage log:Filter by Run ID
Show Recent Entries
Exit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | Evolution failed (pre-validation) |
2 | Solidify or distill failed |
Next Steps
Review Mode
Add human approval before applying changes
Loop Mode
Run continuous evolution cycles
Strategy Presets
Customize evolution focus
Operations
Lifecycle management and health checks