External timeline + evolution tooling for OpenClaw. This MVP provides:
- Session timeline UI (messages, tool calls, compactions, subagent runs)
- Optional capture of gateway agent events to JSONL
- Zero changes required inside the OpenClaw repo
pnpm install
pnpm build
node dist/cli.js serveOpen http://127.0.0.1:4797 in your browser.
node dist/cli.js captureThis writes JSONL to:
~/.openclaw/evolve-my-claw/agent-events.jsonl
You can override the gateway URL or auth:
node dist/cli.js capture --url ws://127.0.0.1:18789 --token <token>node dist/cli.js parseThis appends candidate tasks to:
~/.openclaw/evolve-my-claw/tasks.jsonl
By default it skips sessions from analyzer agents and filters outbound message sends. You can override defaults with a config file at:
~/.openclaw/evolve-my-claw/config.json
Example:
{
"excludeAgentIds": ["evolve-my-claw"],
"excludeTools": ["message/send", "message/thread-reply"],
"analysisAgentId": "evolve-my-claw",
"analysisTimeoutSeconds": 120,
"evolutionAnalysis": {
"scopeDays": 5,
"agentIds": [],
"focus": [],
"dimensions": [
"C1",
"C2",
"C3",
"C4",
"C5",
"C6",
"C7",
"C8",
"C9",
"C10",
"C11",
"W1",
"W2",
"W3",
"W4",
"W5",
"E1",
"E2",
"E3",
"E4"
],
"changeTargets": ["config", "workspace", "extensions"],
"useSearch": false
}
}node dist/cli.js analyze --agent evolve-my-clawThe analysis uses the self-evolution skill in the evolve-my-claw workspace. Run
node dist/cli.js evolution once to ensure the agent workspace + skill are synced.
This appends analysis records to:
~/.openclaw/evolve-my-claw/tasks.analysis.jsonl
If the gateway requires auth:
node dist/cli.js analyze --agent evolve-my-claw --token <gateway-token>node dist/cli.js evolutionThis ensures an evolve-my-claw agent exists in OpenClaw with its own workspace
and full tools/skills enabled.
- Open the UI (
node dist/cli.js serve). - Select tasks in the sidebar.
- Switch to the Evolution tab.
- Choose analysis dimensions + change targets, then click Run evolution analysis.
Reports are written to:
~/.openclaw/evolve-my-claw/evolution.reports.jsonl
Each change can be applied from the UI (safe, scoped file operations + config merge patches).
Note: If you upgrade evolution analysis dimensions/config (e.g. switching to the self-evolution dimension set), delete the old evolution.reports.jsonl to avoid stale schema conflicts.
- Tool start/update events are not globally broadcast by the gateway. The UI relies on session transcripts for tool timing.
- The viewer parses OpenClaw session transcripts and subagent registry files directly.
emc serve: start the local UI serveremc capture: capture gateway agent events to JSONLemc parse: build task candidates and append to tasks.jsonlemc analyze: analyze task candidates and append tasks.analysis.jsonl
Agent-facing install/start instructions live in docs/agent-install.md.