One memory pool for all your AI apps. Auto-ingests conversations from Claude Code, Cursor, and any JSONL source. Cryptographic provenance on every write. Survives kill -9. Single Go binary.
v0.1.3 (pre-1.0, API subject to change)
# Install with zero-friction defaults (SQLite, localhost, single API key)
nexus install --mode simple
# Start the daemon
nexus startThat's it. Nexus is now listening on 127.0.0.1:8080 with MCP on :8082 and the web dashboard on :8081.
- Client sends
POST /writewith payload - Auth middleware validates API key (constant-time compare) or JWT
- Policy engine checks source permissions, allowed destinations, field visibility
- WAL writes entry with CRC32 checksum (+ optional HMAC/encryption), fsyncs
- Idempotency store registers the key
- Non-blocking queue enqueues for async delivery
- Worker delivers to destination (SQLite/PostgreSQL/Supabase)
| Feature | Description |
|---|---|
| Proactive Ingestion | Watches Claude Code, Cursor, and generic JSONL directories — auto-ingests conversations as memories |
| Multi-Client Memory Pool | Claude Code, Cursor, ChatGPT, Claude Desktop, LM Studio, Open WebUI, Perplexity all share one memory |
| Bulk Import | nexus import ingests Claude/ChatGPT export ZIPs, Claude Code dirs, Cursor dirs, generic JSONL |
| Cryptographic Provenance | Per-source Ed25519 signing, hash-chained audit log, Merkle roots, query attestation |
| Survives kill -9 | WAL with fsync, group commit, dual integrity sentinels, 24-hour chaos testing |
| Proprietary Retrieval Cascade | Policy, exact cache, semantic cache, structured, semantic, hybrid merge with temporal decay and projection |
| Retrieval Profiles | fast, balanced, deep, wake with per-source stage toggles |
| Tiered Temporal Decay | Per-destination/collection decay, exponential and step modes |
| MCP Server | nexus_write, nexus_search, nexus_status for Claude Desktop and Cursor |
| WAL CRC32 Checksums | 4-byte CRC32 on every entry |
| WAL HMAC Integrity | Optional HMAC-SHA256 for tamper detection |
| WAL Encryption | Optional AES-256-GCM with per-entry nonce |
| Config Signing | nexus sign-config for signed-mode deployments |
| Zero-Dep LRU Cache | Go generics, map + container/list, no external dependencies |
| Constant-Time Auth | subtle.ConstantTimeCompare for all token validation |
| Admin vs Data Token Separation | Wrong token class returns 401 |
| Provenance Fields | actor_type (user/agent/system) + actor_id on every write |
| Non-Blocking Queue | select-based enqueue, sync.Once drain |
| Simple Mode Install | nexus install --mode simple for zero-friction setup |
| Install Profiles | Open WebUI, PostgreSQL, OpenBrain starter configs |
nexus dev |
Daemon with debug logging and auto-reload |
| Backup and Restore | nexus backup create / nexus backup restore |
| Config Lint | nexus lint for dangerous config detection |
| Consistency Assertions | Background WAL-to-destination consistency checks |
| WAL Health Watchdog | Background disk/permissions/latency monitoring |
nexus bench |
Throughput, latency, and retrieval evaluation benchmarks |
| Reliability Demo | nexus demo — golden crash-recovery scenario |
| Structured Security Events | Dedicated security event log for SIEM integration |
| Security Metrics | Auth failures, policy denials, rate limits, admin calls |
| Blessed Integration Configs | Pre-built templates for Claude, Open WebUI, Perplexity |
| Reference Architectures | Dev laptop, home lab, air-gapped deployment docs |
| TLS/mTLS Support | Optional TLS with configurable cert, key, client CA |
| Trusted Proxies | CIDR allowlist with forwarded header parsing |
| Event Sink (Webhooks) | Optional async webhook notifications from WAL |
| Live Pipeline Visualization | Lossy event channel, never blocks hot paths |
| Security Tab | Dashboard tab with source policies and auth failure history |
| Debug Stages | Optional _nexus.debug with admin auth |
| System Tray | Windows tray icon with status and dashboard launch |
| Sketch Substrate | Optional compact binary sketches with per-memory encryption and forward-secure deletion. See Docs/substrate.md |
nexus install Create config directory and initial configuration
nexus start Start daemon + MCP + dashboard + tray + ingest
nexus stop Stop the daemon gracefully
nexus dev Start daemon with debug logging and auto-reload
nexus import <path> Bulk import from Claude/ChatGPT ZIP, Claude Code dir, Cursor dir, JSONL
nexus ingest status Show all ingest watchers with state and counts
nexus ingest pause Pause a named ingest watcher
nexus ingest resume Resume a paused ingest watcher
nexus ingest reset Forget file state (re-parse from offset 0)
nexus chaos Fault injection durability test with A+B verification
nexus verify Cryptographic provenance verification
nexus timeline Forensic memory audit history
nexus backup Create or restore backups
nexus bench Throughput, latency, and retrieval benchmarks
nexus demo Reliability demo: crash-recovery with 50 memories
nexus lint Check configuration for dangerous settings
nexus mcp test Start MCP server and verify nexus_status responds
nexus version Print version string
BubbleFish Nexus is built for durability. The crash demo proves it:
# Start the daemon
nexus start &
# Run the reliability demo — writes 50 memories, simulates crash, verifies recovery
nexus demo --api-key $NEXUS_API_KEY --admin-key $NEXUS_ADMIN_KEYThe demo writes 50 memories through the full pipeline, verifies WAL durability through a simulated crash, and confirms every memory survives recovery. Results are visible in both the CLI and the web dashboard.
BubbleFish Nexus exposes an MCP server (JSON-RPC 2.0, protocol version 2024-11-05) for native integration with Claude Desktop and Cursor.
Tools available via MCP:
nexus_write— store a memorynexus_search— query memories with full retrieval cascadenexus_status— daemon health and metrics
See examples/blessed/claude-desktop-mcp.toml for a ready-to-use configuration.
Config lives in ~/.nexus/Nexus/. Key files:
~/.nexus/Nexus/
daemon.toml # Main daemon config
sources/*.toml # Per-source auth and policy
destinations/*.toml # Database connection configs
compiled/*.json # Compiled policies (nexus build)
compiled/*.sig # Config signatures (nexus sign-config)
Secrets are never stored in plain text — use env:VARIABLE_NAME or file:/path/to/secret references.
Source configs support hot reload without restart. Destination changes require restart.
Pre-built starter configurations in examples/blessed/:
| File | Use Case |
|---|---|
claude-code-http.toml |
Claude Code via direct HTTP |
claude-desktop-mcp.toml |
Claude Desktop via native MCP |
open-webui.toml |
Open WebUI integration |
perplexity.toml |
Perplexity integration |
- Dev Laptop — local development with SQLite
- Home Lab — multi-client with PostgreSQL
- Air-Gapped — offline deployment with local embeddings
See KNOWN_LIMITATIONS.md for current limitations including the Go 1.26.1 race detector linker bug, SQLite write serialization, and in-memory cache behavior.
BubbleFish Nexus v0.1.3 includes an OAuth 2.1 authorization server for
MCP clients that require OAuth discovery (ChatGPT connectors, Claude Web
UI custom connectors, etc.). OAuth is disabled by default. Clients
that support Bearer token auth (Claude Desktop, Perplexity Comet, Open
WebUI, Cursor) continue to use the static bfn_mcp_ key path with zero
configuration changes.
See docs/OAUTH_KNOWN_LIMITATIONS.md for the current scope and limitations of the OAuth implementation.
Nexus A2A is a governed agent-to-agent protocol that lets any MCP-compatible AI assistant (Claude Desktop, ChatGPT, Perplexity, LM Studio, Open WebUI) invoke registered agents through Nexus without code changes. Every task is governed by capability-scope grants you control, every destructive action requires explicit approval, and every action is recorded in the tamper-evident audit chain. Nexus A2A is wire-compatible with the public A2A v1.0 specification. See Docs/a2a/overview.md for details and the quickstart guide to get running in 10 minutes.
GNU Affero General Public License v3.0
© 2026 Shawn Sammartano. All rights reserved. Multiple Patents Pending