Install
openclaw skills install self-improving-agent-pro-v2ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Universal self-improving AI agent framework. Keywords: self-improving AI agent self-correction continuous learning self-correction self-healing memory persistence autonomous upgrade self-reflection reasoning verification decision-verification emotional perception psychological-core cognitive-distortion detection self-improving autonomous-agent memory-system self-correction reasoning-chain decision-engine agent-framework AI-agent self-learning self-optimizing self-evolution upgrade-pipeline
openclaw skills install self-improving-agent-pro-v2Make any AI agent better at learning from mistakes, improving continuously, and passing knowledge forward.
This framework gives AI agents the ability to:
# Install
clawhub install self-improving-agent
# Use in your AI agent
const { HeartFlowEngine } = require('./src/core/heartflow-engine.js');
const agent = new HeartFlowEngine({ name: 'MyAgent' });
Input → Psychological Perception (4-layer)
→ Decision Verifier (5-dim scoring)
→ Self-Verification (reverse check)
→ Decision Execution Loop
→ Result → Q-Learning Update
→ Memory (CORE/LEARNED/EPHEMERAL)
→ Skill Generator (optional)
| Module | Size | Purpose |
|---|---|---|
heartflow-engine.js | 69KB | Main entry, 37 exports |
decision-verifier.js | 14KB | 5-dim scoring + self-verify |
meaningful-memory.js | 33KB | 3-tier memory + forgetting |
self-healing.js | 5KB | Q-learning from failures |
guardian-system.js | 22KB | Human progress protection |
decision-execution-loop.js | 12KB | Decision→Execute→Result→Learn |
environment-sensor.js | 11KB | Sensor registry + fusion |
tree-of-thoughts.js | 9KB | Multi-branch reasoning |
self-reflection-memory.js | 15KB | Post-hoc analysis → lessons |
| Paper | Venue | Contribution |
|---|---|---|
| Reflexion | NeurIPS 2023 | RL from verbal reinforcement |
| Self-Verification | arXiv 2312.09210 | Inverse consistency checks |
| CRITIC | ICML 2023 | Self-correction via tool use |
| Constitutional AI | Anthropic | Self-critique loops |
| Generative Agents | Stanford 2022 | Memory stream simulation |
| Self-Reward | arXiv 2403.00564 | Self-scoring upgrade selection |
| Plan-and-Solve | ACL 2023 | Two-stage reasoning |
1.0.0 — 2026-05-07
self-improving-agent# For AI agents
clawhub install self-improving-agent
# Or clone directly
git clone https://github.com/yun520-1/self-improving-agent.git