← 返回
AI智能 Key 中文

Vanar Neutron Memory

Save and recall agent memory with semantic search. Context that persists across every session.
通过语义搜索保存和调用智能体记忆,提供跨会话持久化的上下文。
naeemmaliki036
AI智能 clawhub v1.3.2 1 版本 99579.5 Key: 需要
★ 1
Stars
📥 2,585
下载
💾 297
安装
1
版本
#latest

概述

Neutron Memory

Every conversation, preference, and decision your agent makes can persist across sessions. Save what matters, and when you need it, semantic search finds the right context by meaning — not keywords. Every session builds on the last.

How It Works

Manual — save and search with simple commands:

  1. ./scripts/neutron-memory.sh save "user prefers dark mode" "Preferences" — save context
  2. ./scripts/neutron-memory.sh search "what theme does the user like" — find it by meaning

Automatic (opt-in) — enable hooks to capture and recall automatically:

  1. Auto-Capture saves conversations after each AI turn
  2. Auto-Recall finds relevant memories before each AI turn and injects them as context

Quick Start

See SETUP.md for the full setup guide. TL;DR:

  1. Get a free API key at https://openclaw.vanarchain.com/ ($20 free credits, no credit card)
  2. export API_KEY=nk_your_key
  3. ./scripts/neutron-memory.sh test

Commands

Save

./scripts/neutron-memory.sh save "Content to remember" "Title"

Search

./scripts/neutron-memory.sh search "what do I know about X" 10 0.5

Arguments: QUERY LIMIT THRESHOLD(0-1)

Diagnose

./scripts/neutron-memory.sh diagnose

Checks all prerequisites: curl, jq, API key, connectivity, and authentication.

Hooks (Auto-Capture & Auto-Recall)

  • hooks/pre-tool-use.shAuto-Recall: Queries memories before AI turn, injects relevant context
  • hooks/post-tool-use.shAuto-Capture: Saves conversation after AI turn

Both are disabled by default (opt-in only). To enable:

export VANAR_AUTO_RECALL=true
export VANAR_AUTO_CAPTURE=true

API Endpoints

  • POST /memory/save — Save text (multipart/form-data)
  • POST /memory/search — Semantic search (JSON body)

Auth: Authorization: Bearer $API_KEY — that's it. No other credentials needed.

Security & Privacy

No data is sent unless you run a command or explicitly enable auto-capture/auto-recall. Both hooks are disabled by default.

This skill only sends data you explicitly save (or opt-in auto-captured conversations) to the Neutron API. Here's exactly what happens:

ActionWhat's sentWhere
---------------------------
SaveThe text you pass to save or auto-captured conversation turnsPOST /memory/save over HTTPS
SearchYour search query textPOST /memory/search over HTTPS
Auto-RecallThe user's latest message (used as search query)POST /memory/search over HTTPS
Auto-CaptureUser: {message}\nAssistant: {response}POST /memory/save over HTTPS

What is NOT sent:

  • No local files are read or uploaded
  • No environment variables (other than the API key for auth)
  • No system information, file paths, or directory contents
  • No data from other tools or skills

All communication is over HTTPS to api-neutron.vanarchain.com. The source code is fully readable in the scripts/ and hooks/ directories — three short bash scripts, no compiled binaries.

版本历史

共 1 个版本

  • v1.3.2 当前
    2026-03-28 13:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,350 📥 317,717
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,056 📥 796,124
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,539