Skip to content
This page was generated and translated with the assistance of AI. If you spot any inaccuracies, feel free to help improve it. Edit on GitHub

prx evolution

Inspect and control the self-evolution engine. PRX supports three levels of autonomous evolution: L1 (memory), L2 (prompts), and L3 (strategies). This command lets you check evolution status, review history, update configuration, and trigger manual evolution cycles.

Usage

bash
prx evolution <SUBCOMMAND> [OPTIONS]

Subcommands

prx evolution status

Display the current state of the evolution engine.

bash
prx evolution status [OPTIONS]
FlagShortDefaultDescription
--json-jfalseOutput as JSON

Example output:

 Evolution Engine Status
 ───────────────────────
 Engine:    running
 L1 Memory:    enabled   (last: 2h ago, next: in 4h)
 L2 Prompt:    enabled   (last: 1d ago, next: in 23h)
 L3 Strategy:  disabled
 Total cycles: 142
 Rollbacks:    3

prx evolution history

Show the evolution history log.

bash
prx evolution history [OPTIONS]
FlagShortDefaultDescription
--limit-n20Number of entries to show
--level-lallFilter by level: l1, l2, l3
--json-jfalseOutput as JSON
bash
# Show last 10 L2 evolutions
prx evolution history --limit 10 --level l2

Example output:

 Time                Level  Action                          Status
 2026-03-21 08:00    L1     memory consolidation            success
 2026-03-20 20:00    L1     memory consolidation            success
 2026-03-20 09:00    L2     prompt refinement (system)      success
 2026-03-19 14:22    L2     prompt refinement (tool-use)    rolled back

prx evolution config

View or update evolution configuration.

bash
prx evolution config [OPTIONS]
FlagShortDefaultDescription
--setSet a config value (e.g., --set l1.enabled=true)
--json-jfalseOutput as JSON
bash
# View current config
prx evolution config

# Enable L3 strategy evolution
prx evolution config --set l3.enabled=true

# Set L1 interval to 2 hours
prx evolution config --set l1.interval=7200

prx evolution trigger

Manually trigger an evolution cycle.

bash
prx evolution trigger [OPTIONS]
FlagShortDefaultDescription
--level-ll1Evolution level to trigger: l1, l2, l3
--dry-runfalsePreview the evolution without applying changes
bash
# Trigger L1 memory evolution
prx evolution trigger --level l1

# Preview a L2 prompt evolution
prx evolution trigger --level l2 --dry-run

Evolution Levels

LevelTargetDescription
L1MemoryConsolidates, deduplicates, and organizes memory entries
L2PromptsRefines system prompts and tool-use instructions based on interaction patterns
L3StrategiesAdapts high-level behavioral strategies (requires explicit opt-in)

All evolution changes are reversible. The engine maintains a rollback history and will automatically revert changes that cause degraded performance.

Released under the Apache-2.0 License.