NeuralSnapNeuralSnap/Docs

OpenClaw Integration

OpenClaw is an AI agent platform that gives language models persistent memory, tool access, and the ability to interact with external services. The NeuralSnap integration lets your OpenClaw agent crystallize knowledge and search your brain directly from conversations — turning every chat session into a potential knowledge-capture moment.

Setup Guide

1

Get your NeuralSnap API key

In your NeuralSnap dashboard, go to Settings → API Keys and generate or copy your API key.

2

Add the NeuralSnap extension to OpenClaw

In your OpenClaw gateway config, add the NeuralSnap extension with your API key. See the Configuration section below for the exact format.

3

Configure capture mode

In your NeuralSnap dashboard, go to Connections → OpenClaw and select your preferred capture mode. You can also set confidence thresholds and daily caps.

4

Verify the connection

Click the Test Connection button on the Connections → OpenClaw page to verify everything is wired up correctly. You should see a green confirmation with your plan and brain count.

Configuration

Add the following to your OpenClaw gateway config file:

OpenClaw Gateway Config
extensions:
neuralsnap:
enabled: true
apiKey: "$NEURALSNAP_API_KEY"

API Key Security

Store your API key in environment variables or a secrets manager. OpenClaw supports $ENV_VAR syntax in config files — never commit keys to version control.

Capture Modes

Configure how your OpenClaw agent captures knowledge. Set the mode from Connections → OpenClaw in your NeuralSnap dashboard.

🧠 Smart Auto

AI decides what's worth capturing based on content significance. Insights, decisions, and key facts are automatically crystallized when they exceed your confidence threshold.

🏷️ Tag-Triggered

Only captures when specific tags or keywords are mentioned in conversation (e.g. #remember). Configure your trigger tags in the connection settings.

📋 Session Summary

Crystallizes a summary at the end of each agent session. Great for capturing the overall thread of a conversation without cluttering your brain with every exchange.

✋ Manual Only

Only captures when explicitly requested via the brain_crystallize tool. Full control — nothing is saved unless you or the agent deliberately trigger it.

Available Tools

When connected, your OpenClaw agent gets access to four NeuralSnap tools:

brain_crystallize

Crystallize raw text into a Neural Snapshot — a 16-field thought crystal capturing what someone thinks, why, how it works, and how to challenge it. Accepts input (the raw text) and an optional source_type. For example: crystallize a meeting debrief, an article, or a brainstorm exchange.

Semantic search across your NeuralSnap brain. Ask questions like "What did we decide about pricing?" or "Key takeaways from last week's meeting?" and get relevant snapshots ranked by relevance. Supports optional memory_type and limit filters.

brain_remember

Store a quick fact, preference, insight, or decision in your brain without running the full crystallization pipeline. Useful for lightweight captures like "Preferred stack: Next.js + Supabase" or "Meeting moved to Thursdays."

brain_forget

Delete a specific memory from your brain by its ID. Useful for cleaning up outdated facts, correcting mistakes, or removing duplicates.