NEXO Brain
/install nexo-brain
NEXO Brain — Cognitive Memory for Your Agent
NEXO Brain gives your agent persistent memory modeled after human cognition. It remembers across sessions, learns from mistakes, naturally forgets what's irrelevant, and builds a trust-based relationship with you.
Setup
If your OpenClaw client shows an install action for this skill, use that first. It installs the nexo-brain package via your configured Node package manager.
If you are setting it up manually, install the cognitive engine:
npx nexo-brain
After NEXO Brain is installed, add the MCP server to your OpenClaw config (~/.openclaw/openclaw.json):
{
"mcp": {
"servers": {
"nexo-brain": {
"command": "python3",
"args": ["~/.nexo/server.py"],
"env": {
"NEXO_HOME": "~/.nexo"
}
}
}
}
}
Restart the gateway: openclaw gateway restart
What You Get
Key MCP capabilities include:
- Cognitive Memory — RAG-powered semantic search, trust scoring, sentiment detection, cognitive dissonance resolution
- Guard System — Checks "have I made this mistake before?" before every code change
- Episodic Memory — Change logs, decision logs with reasoning, session diaries for continuity
- Learnings — Error patterns and prevention rules, searchable by category
- Session Management — Startup, heartbeat, multi-session coordination
- Reminders & Followups — Track user tasks and system verification tasks separately
- Entities & Preferences — Remember people, services, URLs, and observed user preferences
- Backup & Evolution — SQLite backup with retention, self-improvement proposals
How Memory Works
NEXO implements the Atkinson-Shiffrin memory model (1968):
- Sensory Register — Raw capture, 48h retention
- Short-Term Memory — 7-day half-life, promoted if used frequently
- Long-Term Memory — 60-day half-life, semantic search by meaning
Memories naturally decay via Ebbinghaus forgetting curves. Accessing a memory reinforces it. Automated "sleep cycles" consolidate, prune, and merge memories.
Key Tools
| Tool | When to Use |
|---|---|
nexo_startup |
Once at session start — registers session, returns active sessions |
nexo_heartbeat |
Every interaction — updates task, checks inbox |
nexo_cognitive_retrieve |
Semantic search across all memories |
nexo_guard_check |
Before editing code — checks for past errors |
nexo_learning_add |
After resolving an error — prevents recurrence |
nexo_session_diary_write |
Before closing session — enables continuity |
nexo_cognitive_trust |
After user feedback — calibrates rigor level |
Privacy
Everything stays local. Two SQLite databases in ~/.nexo/. No telemetry, no cloud APIs. Vector search runs on CPU via fastembed.
More Info
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nexo-brain - 安装完成后,直接呼叫该 Skill 的名称或使用
/nexo-brain触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
NEXO Brain 是什么?
Cognitive memory system for AI agents — Atkinson-Shiffrin memory model, semantic RAG, trust scoring, and metacognitive error prevention. Gives your agent per... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5658 次。
如何安装 NEXO Brain?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nexo-brain」即可一键安装,无需额外配置。
NEXO Brain 是免费的吗?
是的,NEXO Brain 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
NEXO Brain 支持哪些平台?
NEXO Brain 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 NEXO Brain?
由 wazionapps(@wazionapps)开发并维护,当前版本 v7.33.0。