Skip to content

Synapse OSS

Self-hosted AI assistant with hybrid memory, evolving personality, and multi-channel support (WhatsApp, Telegram, Discord, Slack)

Install: npm install -g synapse-oss

Install

$npm install -g synapse-oss

Install command taken from the project's README or registry entry. Always review code before running it.

Synapse

Personal AI with continuity — multi-channel, hybrid-RAG memory, evolving behavioral profile, privacy-aware routing. Self-hostable, model-agnostic.

Quick Start

For normal users, install the standalone Synapse command and let it create the product home under ~/.synapse. You do not need the GitHub repo for this path.

npm install -g synapse-oss
synapse install
synapse onboard
synapse start

Re-testing onboarding? Back up active setup state and launch the wizard again:

synapse reset --scope config --reonboard

Developer setup stays separate in CONTRIBUTING.md and HOW_TO_RUN.md.

Docs

Document Purpose
HOW_TO_RUN.md Install, onboarding, provider testing, reset, and production paths
CONTRIBUTING.md Developer setup, test commands, and PR guidelines
docs/provider-testing.md Offline and live provider compatibility checks

Try it in 60 seconds

docker compose -f docker-compose.demo.yml up
# then open the browser playground:
open http://localhost:8000/

(Need a non-Docker path or want to use your own LLM keys? See HOW_TO_RUN.md.)

What it actually does

  • Multi-channel — WhatsApp, Telegram, Discord, Slack, CLI, browser playground.
  • Hybrid RAG memory — FastEmbed (default) or Gemini-embed, LanceDB ANN+FTS, FlashRank rerank.
  • SBS (Soul-Brain Sync) — an evolving 8-layer behavioral profile of you, rebuilt every 50 messages from your own conversation history.
  • Dual Cognition — an optional inner-monologue + tension-scoring pass before the LLM replies (configurable).
  • Privacy-aware routing — sensitive topics route to a local Ollama "Vault" model; nothing about them leaves your machine.
  • Knowledge graph — SPO triples in SQLite for entity recall (see docs/kg-limits.md).

How Synapse compares

Tool What it nails Where Synapse differs
Mem0 Drop-in memory layer for any LLM app Synapse is a full personal-AI architecture, not a memory SDK; ships with channels, persona, routing
MemGPT / Letta Long-context simulated via tiered memory Synapse explicitly models behavioral substrate (SBS), not just facts
Pieces Developer-context AI Synapse targets personal continuity, not coding context
ChatGPT memory items Polished UX, locked to OpenAI Synapse is self-hostable, model-agnostic, multi-channel

Install

Copy .env.example to .env and fill in GEMINI_API_KEY (only required key — see .env.example.advanced for the full set).

git clone https://github.com/UpayanGhosh/Synapse-OSS.git
cd Synapse-OSS
pip install -r requirements.txt                       # requirements.txt is at the repo root
cp .env.example .env && $EDITOR .env
( cd workspace && python main.py chat )                # subshell — cwd auto-restores

For Docker, no-cloud, or production deploys, see HOW_TO_RUN.md.

Architecture at a glance

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related