Multi-agent Rust runtime with IPC broker, web dashboard, and hexagonal core.
Models, tools, memory, channels, and execution β one deployable binary.
Getting Started | Docs Hub | Docs TOC | Skills Quickstart
Quick Routes: Reference Β· Operations Β· Skills Troubleshooting Β· Architecture Β· Extend
SynapseClaw is a single-binary Rust runtime for autonomous agent workflows. It runs one agent or a broker-managed agent family from the same binary β no containers, no orchestrators, no JVM.
The project started as a fork of ZeroClaw and has since diverged into an independent project with its own architecture, IPC system, web dashboard, and modular core.
- Multi-agent IPC broker β trust-aware inter-agent messaging with directional ACLs, quarantine, ephemeral agent spawning, and delivery controls.
- Web operator dashboard β fleet topology, agent workbench, chat sessions, activity feed, cron management β all from one frontend shell.
- Hexagonal core (
synapse_domain) β pure business logic as a workspace crate with 0 upstream dependencies, 10 use cases, 180+ tests. Ports & adapters architecture. - Trait-driven pluggability β providers, channels, tools, memory, observers, and runtime adapters are all swappable via traits.
- Channel support β Telegram, Discord, Slack, Matrix (E2EE), Mattermost, web chat, and more.
- Security hardening β Ed25519 identity, PromptGuard integration, execution profiles, tool allowlists, workspace scoping.
- Lean runtime β < 5 MB RAM, < 10 ms startup, ~9 MB binary. Runs on $10 ARM boards.
crates/domain/ crates/adapters/ Infrastructure
synapse_domain (24K LOC) composition root (55K LOC) βββ gateway/ (HTTP + WS)
βββ domain/ βββ core/ (synapse_adapters) βββ cron/scheduler
β βββ channel, conversation βββ channels/ (34K) βββ security/
β βββ ipc, memory, approval βββ tools/ (37K) βββ channels/ (transport)
β βββ run, spawn, config βββ security/ (10K) βββ tools/ (execution)
β βββ message βββ memory/ (8K)
βββ ports/ (12 traits) βββ providers/ (20K)
βββ application/services/ (6) βββ observability/ (5K)
βββ application/use_cases/ (10) βββ cron-store/ (3K)
βββ mcp/ (3K)
βββ infra/ (5K)
βββ onboard/ (7K)
Dependency rules β domain depends on nothing; adapters depend on domain; the binary composes everything.
For current architecture docs, start with docs/understand/architecture.md.
Historical phase plans, audits, and fork-era notes are archived under docs/deprecated/.
Windows
-
Visual Studio Build Tools (provides the MSVC linker and Windows SDK):
winget install Microsoft.VisualStudio.2022.BuildToolsDuring installation (or via the Visual Studio Installer), select the "Desktop development with C++" workload.
-
Rust toolchain:
winget install Rustlang.Rustup
After installation, open a new terminal and run
rustup default stableto ensure the stable toolchain is active. -
Verify both are working:
rustc --version cargo --version
- Docker Desktop β required only if using the Docker sandboxed runtime (
runtime.kind = "docker"). Install viawinget install Docker.DockerDesktop.
Linux / macOS
-
Build essentials:
- Linux (Debian/Ubuntu):
sudo apt install build-essential pkg-config - Linux (Fedora/RHEL):
sudo dnf group install development-tools && sudo dnf install pkg-config - macOS: Install Xcode Command Line Tools:
xcode-select --install
- Linux (Debian/Ubuntu):
-
Rust toolchain:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
See rustup.rs for details.
-
Verify both are working:
rustc --version cargo --version
curl -LsSf https://raw.githubusercontent.com/panviktor/synapseclaw/master/install.sh | bash| Resource | Minimum | Recommended |
|---|---|---|
| RAM + swap | 2 GB | 4 GB+ |
| Free disk | 6 GB | 10 GB+ |
If your host is below the minimum, use pre-built binaries:
./install.sh --prefer-prebuilt- Docker β required only if using the Docker sandboxed runtime (
runtime.kind = "docker"). Install via your package manager or docker.com.
Note: The default
cargo build --releaseusescodegen-units=1to lower peak compile pressure. For faster builds on powerful machines, usecargo build --profile release-fast.
brew install synapseclawgit clone https://github.com/panviktor/synapseclaw.git
cd synapseclaw
./install.sh
# Optional: bootstrap dependencies + Rust on fresh machines
./install.sh --install-system-deps --install-rust
# Optional: pre-built binary first (recommended on low-RAM/low-disk hosts)
./install.sh --prefer-prebuiltRelease assets are published for Linux (x86_64, aarch64, armv7), macOS (x86_64, aarch64), and Windows (x86_64).
Download: https://github.com/panviktor/synapseclaw/releases/latest
git clone https://github.com/panviktor/synapseclaw.git
cd synapseclaw
cargo build --release --locked
cargo install --path . --force --locked
export PATH="$HOME/.cargo/bin:$PATH"# Quick setup
synapseclaw onboard --api-key sk-... --provider openrouter
# Or preset-first guided wizard
synapseclaw onboard
# Chat
synapseclaw agent -m "Hello, SynapseClaw!"
# Interactive mode
synapseclaw agent
# Start the gateway (webhook server)
synapseclaw gateway
# Start full autonomous runtime
synapseclaw daemon
# Check status
synapseclaw status
# Run system diagnostics
synapseclaw doctor
# Manage background service
synapseclaw service install
synapseclaw service statussynapseclaw onboard starts with simple provider presets (ChatGPT / Codex,
Claude, OpenRouter, Local, Advanced) and expands those into lane-aware
routing under the hood.
# Set the default model directly
synapseclaw models set claude-sonnet-4-6
# Check what's active
synapseclaw models status
# List cached models for your provider
synapseclaw models list
# Pull the latest models from the provider API
synapseclaw models refreshSynapseClaw ships with a built-in catalog (model_catalog.json) containing presets,
30+ providers, curated model lists, pricing, context-window profiles, embedding profiles,
and route aliases (cheap, qwen36, gemma31b, β¦).
To override anything locally:
synapseclaw models catalog init # writes model_catalog.json next to config.toml
synapseclaw models catalog init --force # overwrite if it already existsThe local file is merged over the built-in catalog on startup:
- matching entries (by
id,provider,model, orhint) replace built-in values - new entries are added β custom providers, presets, aliases
- missing sections are ignored β include only what you want to change
Locations (checked in order):
| Path | Scope |
|---|---|
~/.synapseclaw/model_catalog.json |
Global (all agents) |
~/.synapseclaw/agents/<name>/model_catalog.json |
Per-agent override |
<--config-dir>/model_catalog.json |
Custom config directory |
Full command reference:
| Command | What it does |
|---|---|
synapseclaw models catalog init |
Create editable catalog from built-in seed |
synapseclaw models catalog init --force |
Overwrite existing catalog |
synapseclaw models catalog status |
Show path and active/not active |
synapseclaw models catalog path |
Print catalog file path |
synapseclaw models refresh |
Pull latest models from provider APIs |
synapseclaw models list |
List cached provider models |
synapseclaw models set <model> |
Set default model in config |
synapseclaw models status |
Show current model configuration |
Dev fallback (no global install): prefix commands with
cargo run --release --(example:cargo run --release -- status).
SynapseClaw supports subscription-native auth profiles (multi-account, encrypted at rest).
# OpenAI Codex OAuth
synapseclaw auth login --provider openai-codex --device-code
# Claude Code / Anthropic
synapseclaw auth paste-token --provider anthropic --profile default --auth-kind authorization
# Run with subscription auth
synapseclaw agent --provider openai-codex -m "hello"
synapseclaw agent --provider anthropic -m "hello"- Documentation hub:
docs/README.md - Docs TOC:
docs/SUMMARY.md - Start guide:
docs/start/what-is-synapseclaw.md - User guide:
docs/use/README.md - Skills quickstart:
docs/use/skills/quickstart.md - Skills lifecycle:
docs/reference/skill-lifecycle.md - Skills API:
docs/reference/skills-api.md - Operations:
docs/operate/README.md - Architecture:
docs/understand/architecture.md - Developer guide:
docs/extend/README.md - Archived historical docs:
docs/deprecated/README.md - Security:
SECURITY.md
SynapseClaw is dual-licensed:
| License | Use case |
|---|---|
| MIT | Open-source, research, academic, personal use |
| Apache 2.0 | Patent protection, institutional, commercial deployment |
You may choose either license. See CLA.md for the archived contributor agreement.
The SynapseClaw name and logo are trademarks of SynapseClaw Labs. See TRADEMARK.md for permitted and prohibited uses.
See CONTRIBUTING.md. Implement a trait, submit a PR:
- New
Providerβcrates/adapters/providers/src/ - New
Channelβcrates/adapters/channels/src/ - New
Toolβcrates/adapters/tools/src/ - New
Memoryβcrates/adapters/memory/src/ - New
Observerβcrates/adapters/observability/src/
SynapseClaw β Multi-agent runtime. Single binary. Deploy anywhere.
