RepositoryPython
slhleosun

slhleosun/EvoClaw

Structured SOUL evolution framework for AI agents — experience, reflection, governed identity updates, and visual timelines.

84stars
5forks
0issues
1views

🧬 EvoClaw - Experience, Reflect, Evolve

A soul & memory management framework that enables structured evolution for OpenClaw agents. Make your agents actually learn from experience!

evoclaw.dev


Quick Install

Send this to your OpenClaw agent:

Read https://evoclaw.dev/install.md and follow the instructions to install EvoClaw

Your agent downloads the framework, walks through configuration with you, restructures its soul (preserving content), and starts evolving.


What It Does

EvoClaw turns experience into structured identity evolution. It refactors existing SOUL documents into a canonical format — preserving all original content — while organizing the workspace required for:

  • Tiered memory (routine / notable / pivotal)
  • Reflection pipelines
  • Proposal-based SOUL updates
  • Social feeds as experience sources
  • A local web UI for full auditability and visualized evolution

Your agent doesn’t just store memories. It grows — under your watch.

Structured Soul Documents

Your agent's soul is organized into canonical sections — Personality, Philosophy, Boundaries, Continuity (feel free to add more on your own) — each with subsections. Every belief is tagged:

  • [CORE] — Immutable foundations. The agent cannot touch these.
  • [MUTABLE] — Beliefs that grow. These evolve through structured reflection, never random edits.

Existing soul content is preserved during installation. EvoClaw restructures, it doesn't replace.

Social Feeds as Experience

In addition to conversations with humans, EvoClaw supports customizable external sources — including Moltbook, X/Twitter, and any API-based feed — as experience inputs.

Sources are configured in evoclaw/config.json. You can add new sources by following the source learning protocol, and nudge the agent’s interests using keyword filters defined in the same file.

Controllable Governance

You decide how much freedom your agent has to evolve:

LevelWhat happens
AutonomousMUTABLE proposals auto-apply. CORE always protected.
SupervisedAgent applies changes, human reviews next session.
GatedNothing changes without explicit human approval.

The governance level is yours to set and change at any time. Your agent cannot escalate its own permissions. Hardcoded validators enforce structural integrity at every pipeline step — schema compliance, CORE immutability, provenance chains, and workspace boundaries are all checked programmatically, not by prompting.

SOUL Visualization

Built-in soul evolution visualizer locally serves an interactive dashboard and radial mindmap showing how your agent's soul grows over time:

python3 evoclaw/tools/soul-viz.py "$(pwd)" --serve 8080

Or just tell your agent: visualize the soul

Multi-Level Memory

Experiences are classified by significance as they happen:

LevelWhat it captures
RoutineStandard tasks, everyday exchanges. Logged and archived.
NotableMeaningful moments — feedback, insights, shifts in understanding. Triggers reflection.
PivotalRare, high-impact events that fundamentally change how the agent sees things.

Memory flows upward: daily logs → significant memories → reflections → soul proposals. Everything is traceable.

From Memory to Soul

Memory and soul are connected through a reflection pipeline:

  1. Experience — Log what happens. Conversations, social feeds, external signals.
  2. Reflect — Batch notable experiences. Extract insights. Find gaps between soul and behavior.
  3. Evolve — When a gap is found, propose a change with full provenance. Apply it under governance. Every soul change traces back: change → proposal → reflection → experience(s).

File Structure

evoclaw/
  SKILL.md              — Complete protocol reference
  configure.md          — Step-by-step install & configuration
  config.json           — Runtime settings (governance, sources, timing)
  README.md             — Human-facing overview
  references/
    schema.md           — All data schemas
    examples.md         — Worked pipeline examples
    sources.md          — Social feed API reference
    heartbeat-debug.md  — Troubleshooting guide
  validators/
    validate_soul.py    — SOUL.md structure & tag integrity
    validate_experience.py
    validate_reflection.py
    validate_proposal.py
    validate_state.py
    check_workspace.py  — Workspace boundary guard
    check_pipeline_ran.py — Pipeline completeness check
    run_all.py          — Run all validators
  tools/
    soul-viz.py         — Interactive evolution visualizer

After installation, the agent creates:

memory/
  experiences/          — Daily JSONL logs (routine, notable, pivotal)
  significant/          — Curated notable + pivotal memories
  reflections/          — Structured reflection artifacts
  proposals/            — Pending + resolved soul change proposals
  pipeline/             — Pipeline execution logs
  soul_changes.jsonl    — Machine-readable evolution history
  soul_changes.md       — Human-readable evolution history
  evoclaw-state.json    — Pipeline state

Manual Install

If you want to install manually, follow:

# Clone
git clone https://github.com/slhleosun/EvoClaw.git

# Copy the evoclaw folder to your agent's workspace

# Tell your agent
Read evoclaw/configure.md and evoclaw/SKILL.md in your workspace and follow the steps to configure EvoClaw.

Requirements

  • An OpenClaw agent with workspace access
  • Python 3 (for validators and visualization — stdlib only, no pip)
  • A heartbeat configured to run periodically

Safety

  • Recommended: use an aligned LLM for your agent.
  • [CORE] is immutable. No exceptions.
  • All changes require full provenance chains.
  • 8 validators enforce structural integrity at every pipeline step.
  • Workspace boundary checks prevent cross-agent contamination.
  • The human is always notified of soul changes.
  • The agent cannot change its own governance level.

License

MIT — see LICENSE

Contact

For questions, feedback, or collaboration: 📧 slhleosun@uchicago.edu

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
win4r/ClawTeam-OpenClaw

ClawTeam fork fully adapted for OpenClaw — multi-agent swarm coordination with OpenClaw as the default agent

1.5k
Dec 1, 2026
RepositoryJavaScript
prompt-security/clawsec

A complete security skill suite for OpenClaw, Hermes, PicoClaw and NanoClaw agents (and variants). Protect your SOUL.md (etc') with drift detection, live security recommendations, automated audits, and skill integrity verification. All from one installable suite.

1.1k
Dec 2, 2026
RepositoryTypeScript
win4r/openclaw-a2a-gateway

OpenClaw plugin implementing the A2A (Agent-to-Agent) protocol v0.3.0 — bidirectional agent communication gateway

548
Dec 1, 2026
RepositoryPython
NevaMind-AI/memU

Personal memory across agents

14.6k
Nov 27, 2026
RepositoryPython
browser-act/skills

Browser automation CLI built for AI agents. Break through anti-bot walls, hand off to humans across platforms when stuck. Parallel multi-task execution, independent multi-session operation, isolated multi-account browsing.

6.4k
Nov 4, 2026
RepositoryPython
jangviktor-web/nihaixia

倪海厦视角的中医Agent Skill,基于倪海厦教学资料开发,蒸馏倪师伤寒论、金匮要略、黄帝内经、神农本草经、针灸篇等,人纪/医案/经方思维,六经辨证,八纲辨证,天机道,天纪,紫微斗数,易经,阴阳,八卦,五行,风水,地纪等,总结8个诊断公式+快速诊断流程图+脉舌速查+七步走思维模式,蒸馏129条伤寒论 · 23篇金匮 · 72篇黄帝内经 · 神农本草经374种本草(上137/中110/下127) · 1257 例结构化案例 + 243 例叙事医案 · 2,452页讲义。

4.4k
Nov 27, 2026
RepositoryPython
win4r/team-tasks

Multi-agent pipeline coordination: Linear, DAG, and Debate modes for AI agent orchestration

448
Nov 26, 2026
RepositoryPython
XiaoYiWeio/deepsafe-scan

Universal preflight security scanner for AI coding agents — Detects hooks injection, credential exfiltration & backdoors in .cursorrules, CLAUDE.md, AGENTS.md and more.

78
May 29, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026