🦞

OpenClaw Integration

Available

Connect Neutron to OpenClaw for persistent AI memory across WhatsApp, Telegram, Discord, Slack, iMessage, and more.

What is OpenClaw?

OpenClaw is an open-source AI agent platform that works with any AI agent to empower it with memory. It connects to WhatsApp, Telegram, Discord, Slack, iMessage, and other messaging channels, with built-in local memory featuring semantic and exact match capabilities.

Neutron provides the long-term smart memory layer for OpenClaw - enabling cross-channel context retrieval, multimodal semantic search, and persistent memory that grows with every interaction.

Key Features

Auto-Recall

Before each AI interaction, Neutron retrieves relevant past conversations and user preferences to inform responses.

Auto-Capture

After each exchange, conversations are automatically stored in Neutron for long-term retention and deduplication.

Multi-Platform

Works across WhatsApp, Telegram, Discord, Slack, iMessage, Signal, Microsoft Teams, and more.

Blockchain Attestation

Tamper-evident memory storage with transaction hashes for verifiable, trustworthy agent memory.

Install from ClawHub

The Vanar Neutron Memory skill is published on ClawHub — OpenClaw's public skill registry. It lets your agent store and retrieve memories using Neutron's semantic search API.

Step 1 — Install the ClawHub CLI

Terminal
npm i -g clawhub

Step 2 — Install Vanar Neutron Memory

Run this from your OpenClaw project directory:

Terminal
clawhub install vanar-neutron-memory

The skill will be installed into ./skills/vanar-neutron-memory/. Start a new OpenClaw session to pick it up.

Step 3 — Configure your API key

One API key is all you need. No agent IDs, no app IDs, no other configuration.

Option A — Environment variable (recommended):

Terminal
export API_KEY=nk_your_key_here

Option B — Credentials file:

~/.config/neutron/credentials.json
{
  "api_key": "nk_your_key_here"
}

Option C — OpenClaw project config:

openclaw.json
{
  "skills": {
    "entries": {
      "vanar-neutron-memory": {
        "enabled": true,
        "apiKey": "nk_your_key_here"
      }
    }
  }
}

Get your API Key from the Manage page.

View on ClawHub

Testing

Verify your installation and credentials are working correctly:

Terminal
./scripts/neutron-memory.sh test

For a full diagnostic check (curl, jq, API key, connectivity):

Terminal
./scripts/neutron-memory.sh diagnose

Hooks (Auto-Capture & Auto-Recall)

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

Terminal
export VANAR_AUTO_RECALL=true
export VANAR_AUTO_CAPTURE=true

Memory Storage & Search

Save anything and search by what it means — not keywords. Your agent picks up where it left off across sessions.

Save a Memory

Save a memory
./scripts/neutron-memory.sh save "User prefers oat milk lattes from Blue Bottle every weekday morning" "User coffee preference"

Search Memories

Search memories
./scripts/neutron-memory.sh search "what do I know about coffee preferences" 10 0.5

Parameters:

  • QUERY (required) - Natural language search query
  • LIMIT (optional) - Max results 1-100, default 30
  • THRESHOLD (optional) - Similarity threshold 0-1, default 0.5

Response: Array of results with content and similarity score (0-1).

API Endpoints Reference

MethodEndpointDescription
POST/memory/saveSave text content
POST/memory/searchSemantic search

All endpoints require the Authorization: Bearer $API_KEY header. That's it — no other credentials needed.

Usage Guidelines

  • Use save for long-term knowledge: documents, notes, conversation history, reference material
  • Search uses semantic similarity, not keyword matching — use natural language queries
  • Processing takes 5-30 seconds after saving before memories are searchable

Security & Privacy

No data is sent unless you run a command or explicitly enable auto-capture/auto-recall. The skill only sends data you explicitly save over HTTPS.

  • No local files are read or uploaded
  • No environment variables sent (other than API key for auth)
  • No system information, file paths, or directory contents
  • Source code is fully readable — three short bash scripts, no compiled binaries

Get Started

Ready to add persistent memory to your OpenClaw agents? Create a free account to get your API key.

Get Started Free