Introduction
Evolver is a protocol-constrained self-evolution engine for AI agents. Unlike ad-hoc prompt tweaks, Evolver transforms runtime observations into auditable, reusable evolution assets through the Genome Evolution Protocol (GEP). This document provides a high-level overview of the core concepts that power the evolution cycle.Architecture Overview
The evolution system consists of five interconnected components:Core Components
Signals
Extracted patterns from logs that trigger evolution
Evolution Cycle
Three-phase loop: Analysis, Selection, Execution
Mutations
Explicit change directives with risk levels
Personality
Evolvable traits that guide mutation behavior
How the Pieces Fit Together
The evolution workflow follows this pattern:1. Signal Extraction
Evolver scans session logs, error traces, and memory snapshots to extract signals:- Error patterns (
log_error,errsig:...) - Opportunity signals (
user_feature_request,capability_gap) - Stability signals (
stable_success_plateau,evolution_stagnation_detected)
2. Gene & Capsule Selection
The selector matches signals to Genes (strategy templates) and Capsules (validated solutions):3. Mutation Construction
A Mutation object encodes the change intent with risk levels and safety constraints:4. Personality Modulation
The PersonalityState evolves through natural selection to optimize for success:5. Evolution Execution
The cycle executes the mutation and records the outcome to the Memory Graph for future learning.All evolution events are append-only and auditable via
assets/gep/events.jsonl.Decision Points
The evolution cycle includes several guard conditions to prevent unsafe changes:Loop Gating
Prevents starting a new cycle until the previous one is solidified:Load Awareness
Backs off when system load is too high:Repair Loop Circuit Breaker
Detects when the evolver is stuck in a repair loop and forces innovation:Next Steps
Dive deeper into each component:Evolution Cycle
Learn the three-phase execution model
Signals
Understand signal extraction and de-duplication
Mutations
Explore mutation categories and risk levels
Personality
See how personality traits evolve over time