The Self-Evolution Engine for OpenClaw Agents.
The Periodic Cognitive Expansion Cycle (PCEC) is a meta-protocol that allows an agent to:
- Introspect: Analyze its own runtime logs (
memory/,history) to find friction points. - Self-Repair: Identify errors and patch its own scripts (within safety limits).
- Optimize: Rewrite prompts and logic for better performance.
Available on the ClawHub Registry.
clawhub install capability-evolverRun the evolution cycle manually:
/evolve
# or
node skills/capability-evolver/index.jsAdd to your openclaw.json to run hourly:
{
"name": "pcec_evolution",
"schedule": { "kind": "every", "everyMs": 3600000 },
"payload": { "kind": "agentTurn", "message": "exec: node skills/capability-evolver/index.js" }
}This plugin operates within the strict boundaries of the OpenClaw sandbox. It cannot modify files outside its working directory or access unauthorized network resources.
MIT