NeuralCleave Documentation

NeuralCleave is a local-first personal AI assistant gateway. One agent, connected to 32 messaging platforms simultaneously, with 3-tier memory, task-aware LLM routing, voice, and a typed plugin SDK.

32
Channel adapters
13
LLM providers
41
REST endpoints
5,064
Tests passing
v2.1
Current version

Start here

πŸš€
Getting Started
Install NeuralCleave, run neuralcleave init, and have your first agent answering messages in under a minute.
β†’
πŸ—
Architecture
How the gateway, agent runtime, model router, reflection engine, and memory pipeline fit together.
β†’
πŸ“‘
Channels
32 production-ready adapters β€” Telegram, Discord, WhatsApp, Slack, Teams, LINE, Bluesky, Nostr, Twitch, and 23 more.
β†’
πŸ€–
LLM Providers
13 providers β€” Anthropic, OpenAI, Gemini, DeepSeek, Ollama, Mistral, xAI, Cohere, Moonshot, Zhipu, Qwen, ERNIE, Doubao.
β†’
πŸ”Œ
REST API
41 documented endpoints β€” chat, memory, plugins, hub, orchestrator, canvas, voice, settings. Full OpenAPI via FastAPI.
β†’
🧩
Plugin SDK
Write typed plugins with neuralcleave-sdk. PEP 451 entry-points, hot-reload, NeuralCleave Hub marketplace.
β†’
🧠
Memory System
Redis (hot, TTL) β†’ Qdrant (vector ANN) β†’ SQLite (long-term). Session compaction, archiver, per-node isolation.
β†’
πŸŽ™
Voice
Whisper STT, 3-tier TTS (ElevenLabs β†’ Kokoro β†’ pyttsx3), OpenWakeWord, voice cloning, continuous listener.
β†’
πŸ“Š
Observability
13 Prometheus metrics, structured JSON logging with ContextLogger. Prometheus-compatible /api/v1/metrics endpoint.
β†’
☁️
Deployment
Docker, docker-compose with Redis + Qdrant, Railway, Render. neuralcleave cloud generate writes all manifests.
β†’
βš™οΈ
Configuration
Complete TOML reference β€” gateway, models, memory, voice, channels, scheduler. ENV: secret resolution.
β†’
πŸ§ͺ
Testing
5,064 tests. Running the suite, test coverage by module, writing new tests for channels and plugins.
β†’

Quick install

bash
# Linux / macOS
curl -fsSL https://neuralcleave.com/install.sh | bash

# Windows (PowerShell)
iwr -useb https://neuralcleave.com/install.ps1 | iex

# Or via pip directly (Python 3.12+ required)
pip install neuralcleave
neuralcleave init
neuralcleave start
πŸ’‘

Python 3.12+ required. Redis and Qdrant are optional β€” the gateway runs without them but with reduced memory capability. See requirements.

Repository layout

PathContents
neuralcleave/Core gateway package β€” gateway, channels, memory, LLM router, voice, tools, canvas, hub, orchestrator, PWA
neuralcleave-sdk/Plugin SDK β€” Plugin, Tool, ChannelAdapter ABCs; PEP 451 entry-point registration
examples/plugins/Reference plugins: neuralcleave-github, neuralcleave-notion, neuralcleave-google-calendar
frontend/Tauri 2.x desktop app (Rust sidecar + WebView)
backend/Backend configuration and compose for standalone deploy
scripts/install.sh / install.ps1 one-liner installers; bundle_backend.ps1 PyInstaller pipeline
tests/5,064 tests β€” unit, integration, channel, API, frontend-contract
.github/workflows/CI (lint+test, SDK, plugins, Docker) + docs deploy