Skip to content

The Self-Evolving Agent Protocol (PCEC). It writes its own code.

Notifications You must be signed in to change notification settings

autogame-17/capability-evolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧬 Capability Evolver (PCEC Protocol)

The Self-Evolution Engine for OpenClaw Agents.

ClawHub License: MIT

Overview

The Periodic Cognitive Expansion Cycle (PCEC) is a meta-protocol that allows an agent to:

  1. Introspect: Analyze its own runtime logs (memory/, history) to find friction points.
  2. Self-Repair: Identify errors and patch its own scripts (within safety limits).
  3. Optimize: Rewrite prompts and logic for better performance.

📦 Installation

Available on the ClawHub Registry.

clawhub install capability-evolver

🚀 Usage

Manual Trigger

Run the evolution cycle manually:

/evolve
# or
node skills/capability-evolver/index.js

Automated (Cron)

Add 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" }
}

🛡️ Safety

This plugin operates within the strict boundaries of the OpenClaw sandbox. It cannot modify files outside its working directory or access unauthorized network resources.

📜 License

MIT

About

The Self-Evolving Agent Protocol (PCEC). It writes its own code.

Resources

Stars

Watchers

Forks

Packages

No packages published