Skip to main content

Synapse - A Multi Agent Orchestrator

Project description

Synapse AI — Multi-Agent Orchestration Platform

synapse-ai-github

Website Docs Discord GitHub stars License npm PyPI Docker Pulls

Build AI workflows that actually ship.

Wire agents, tools, and LLMs into deterministic pipelines — without the framework lock-in. Synapse is an open-source platform for creating, connecting, and orchestrating AI agents powered by any LLM — local or cloud. Agents use real tools: browsing the web, querying databases, executing code, reading files, managing emails, and anything else you can expose through an MCP server, a webhook, or a Python script.

🌐 Website · 📖 Documentation · 💬 Discord


Install

Quick Setup Script (recommended)

macOS / Linux:

curl -sSL https://raw.githubusercontent.com/synapseorch-ai/synapse-ai/main/setup.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/synapseorch-ai/synapse-ai/main/setup.ps1 | iex

npm

npm install -g synapse-orch-ai
synapse

pip

pip install synapse-orch-ai
synapse

Docker

docker run -d \
  -p 3000:3000 \
  -v synapse-data:/data \
  -v /var/run/docker.sock:/var/run/docker.sock \
  synapseorchai/synapse-ai:latest

Then open http://localhost:3000. See the Docker guide in the docs for custom ports and environment variable configuration.

Upgrading

Install method Upgrade command
Bash / PowerShell installer (recommended) synapse upgrade
pip pip install --upgrade synapse-orch-ai
npm npm update -g synapse-orch-ai
Docker docker pull synapseorchai/synapse-ai:latest

Scale Mode

Run unlimited agents and orchestrations concurrently. When you need to go beyond a single process, the distributed scale layer handles the load:

  • Redis Cluster — job queue, SSE event streams, pub/sub cancellation signals, auto-failover
  • ARQ worker fleet — 1 to 100+ independent workers, each running up to 20 concurrent orchestrations; autoscale with KEDA on queue depth
  • PgBouncer — multiplexes hundreds of worker connections into a small, stable Postgres pool
  • S3 artifact storage — stream large file outputs directly to AWS S3, Cloudflare R2, or MinIO
  • Multi-tenant quotas — per-team or per-customer concurrent run limits with HTTP 429 enforcement
  • Per-step checkpoint recovery — worker crashes don't lose jobs; the next worker resumes from the last completed step

Three Docker images — pull only what you need:

docker pull synapseorchai/synapse-ai:latest             # full app (standalone mode)
docker pull synapseorchai/synapse-ai-api-server:latest  # stateless API server (scale mode)
docker pull synapseorchai/synapse-ai-worker:latest      # worker process (scale mode, run as many as needed)

The docker-compose.yml in the repo spins up the full stack. Production K8s manifests are in infra/k8s/.

📖 Scale Mode docs →


What Makes Synapse Different

  • Multi-Model Orchestrations — Run a different LLM at every step. Use a fast model for routing, a powerful one for analysis. You control where the compute goes.
  • Deterministic DAG Execution — Orchestrations follow the exact path you designed. No hallucinated detours.
  • Turn Anything Into a Tool — Python scripts, REST APIs, webhooks, MCP servers, or entire orchestrations — all become agent-callable tools.
  • Human-in-the-Loop — Pause workflows for human review. Resumable across restarts. Connect via UI, Slack, Telegram, or any messaging channel.
  • Scales to Millions of Requests — The distributed scale layer separates API servers, Redis job queues, and independent worker processes so you can run any number of agents or orchestrations concurrently. Start on one machine, grow to a Kubernetes cluster — the V2 API never changes.
  • Local-First, No Lock-In — Full local operation with Ollama. Mix local and cloud models freely. Your data stays yours.
  • Built-In Scheduling & Messaging — Cron-based automation with results pushed to Slack, Discord, Telegram, Teams, or WhatsApp.
  • 14+ LLM Providers — Cloud, local, and CLI providers including Ollama, OpenAI, Anthropic, Gemini, xAI, DeepSeek, AWS Bedrock, and more.

📖 Learn more →


Synapse UI

https://github.com/user-attachments/assets/7a5ab42c-5fae-4f13-876c-13aa9b5a0366

Demos

Content Writing Orchestration

Multi-agent pipeline that researches a topic, drafts content in a Google Doc, and returns the shared link. (Video is 2x speed)

https://github.com/user-attachments/assets/4eec5db8-70d0-47b6-8608-f52b1f7b7d68

Autonomous Code Development & PR Creation

Multi-agent system with human-in-the-loop that writes code and generates pull requests autonomously.

https://github.com/user-attachments/assets/95a511e1-e3e9-4812-b9ca-f7f4c28ef80f

Native Orchestration Builder

Chat with the AI builder — describe what you want, and it creates the orchestration DAG for you.

https://github.com/user-attachments/assets/282cc99d-cdea-4ad0-b648-f22112c6e295


Key Concepts

Concept Summary
Agents Independent ReAct loops with their own system prompt, tools, model, and repos. Docs →
Orchestrations DAGs of steps — wire agents together with routing, parallelism, loops, and human gates. Docs →
Tool Ecosystem 10+ native tool servers, built-in MCP servers, remote MCP via OAuth/PAT, and custom HTTP/Python tools. Docs →
AI Builder A meta-agent that designs and materializes orchestrations from natural language. Docs →
Schedules Cron/interval automation with messaging notifications. Docs →
Messaging Slack, Discord, Telegram, Teams, WhatsApp — with multi-agent mode. Docs →
Scale Mode Distributed execution layer: Redis job queue, independent worker fleet, per-step Postgres checkpoints, S3 artifact storage, and multi-tenant quotas. Docs →
V2 API Stable versioned REST API for building products on top of Synapse — enqueue, stream, cancel, webhooks. Docs →
Vault Persistent file storage shared across agents and sessions. Docs →

CLI

synapse start     # start backend + frontend, open browser
synapse stop      # stop background processes
synapse upgrade   # upgrade to the latest version
synapse uninstall # remove Synapse, wipe ~/.synapse, and uninstall the package

Roadmap

  • Spawn Sub-Agent Tool — Agents natively spawn and delegate tasks to temporary sub-agents mid-execution.
  • Compact Conversations — Automatic message history compression for large contexts.
  • Global Variables — Dynamic variables injectable into prompts, orchestrations, tools, and MCP environments.

Star History

Star History Chart


Contributing

See CONTRIBUTING.md for dev setup, architecture details, how to add MCP tool servers, and the PR checklist.

License

Synapse AI is licensed under AGPL v3 — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synapse_orch_ai-1.7.1.tar.gz (820.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synapse_orch_ai-1.7.1-py3-none-any.whl (21.4 MB view details)

Uploaded Python 3

File details

Details for the file synapse_orch_ai-1.7.1.tar.gz.

File metadata

  • Download URL: synapse_orch_ai-1.7.1.tar.gz
  • Upload date:
  • Size: 820.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for synapse_orch_ai-1.7.1.tar.gz
Algorithm Hash digest
SHA256 274bb39a0d29575ee1d50aa0ac97015e0bfe4fbe4da4b3497c5391e8737d2194
MD5 294d734abbc2ea1f309b877a254785c4
BLAKE2b-256 5be1695d9357765837d199fa5e241f493e125d796084a5331c56c9bca117bd6b

See more details on using hashes here.

File details

Details for the file synapse_orch_ai-1.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for synapse_orch_ai-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9865099d74d4e0cedf9c7a01d513e8e49ea58c67060c06cb70cb63c4478aa8e3
MD5 ff8a974f8e2895e86a55555272d1d5c6
BLAKE2b-256 969c44b87a5cd9751ab01e1c28aa7a9e933c895e108968963f45092803d0f78e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page