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.4.tar.gz (822.0 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.4-py3-none-any.whl (21.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synapse_orch_ai-1.7.4.tar.gz
  • Upload date:
  • Size: 822.0 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.4.tar.gz
Algorithm Hash digest
SHA256 e75d1e5fb847e8e96d4c57d3c073f532f3151e37d23db0b94db72127421ee17a
MD5 f18b2482d676df600cf06d169ace731b
BLAKE2b-256 46b7893023facae1823dc47f6c3fa1a6d635155d12898524fcdeaeb78fc90da5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for synapse_orch_ai-1.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 53d956e8b74f820b64f363150d04c9273b46d3f5fea78ef816fef5a308663372
MD5 7b2b9fe44f57b47e219f1a7a2812dc7d
BLAKE2b-256 39847fa05f2bbec9d4a38cae9aa76671162335648b2ca2c361be74095eba3829

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