synaplan README

The project's README from github.com/metadist/synaplan. As one markdown file: README.md.

Synaplan. Own the flow. Your knowledge, your models, your channels.

Own the flow.

Build agents on your own documents and put them wherever work happens: the web, WhatsApp, email, Outlook, and the files you keep in OpenCloud, Nextcloud, and ownCloud.online. Mix local models with the best cloud AI, see what every answer costs, and decide what the AI is allowed to do – open source, on your server or ours.

Synaplan in about 30 seconds: a chat answer and its cost, ready-made agents, models with a cost on each one, then the tools it connects, from WhatsApp, email and Outlook to Nextcloud, Dropbox and more

A chat answer and its cost, agents, the model for each job, then the tools it connects: WhatsApp, email, Outlook, Nextcloud, Dropbox, and more.

▶ Watch the full demo on YouTube

Run it  ·  Try it hosted  ·  Docs  ·  Discord

Latest release GitHub stars Discord metadist/synaplan MCP server Synaplan MCP connector

Self-hosting is free. The hosted version opens with a paid plan or an invitation code – ask us at [email protected].


Own the flow

The same assistant answers on your website, in WhatsApp, by email, in Outlook, and on the files in OpenCloud, Nextcloud, and ownCloud.online. Sensitive work can stay on Ollama. Everything else can go to OpenAI, Anthropic, Google, Mistral or a sovereign EU provider. Every answer shows its model and its price. A planner spends the expensive model only where it matters, and a mail or a ticket goes out only after a person approves it.

It runs in production at a yoga studio (Megaherz Yoga), a care service (SANI Pflegedienst), a public-sector cloud (National Secure Cloud) and an ecommerce solution for custom-made kitchen panels.


Quickstart

You need: Docker with Compose v2 and 8 GB of RAM.

git clone https://github.com/metadist/synaplan.git
cd synaplan
make up

Open http://localhost:5173, log in as [email protected] / admin123 and say hello. Your first message starts the Synaplan Demo – no API key needed (40 messages a day for 14 days, how it works). When you're ready, add your own key (free: Groq) or run local models with Ollama.

The first start downloads everything and takes 5–15 minutes. After that, Synaplan starts in seconds.

[!IMPORTANT] These logins are for trying Synaplan on your own machine. On a server, use the installer – it creates its own admin password.


Install it your way

Where How Guide
Published image, no git One compose.yaml, then docker compose up -d Published image
Docker GUI Portainer, Dockge, Synology: paste the compose file as a stack Docker GUI
Closed network No route to the internet, HTTPS on your LAN address Closed network
Linux server The installer pins a release, generates secrets and runs a smoke test On a server
Kubernetes Free Helm charts, Apache-2.0 synaplan-charts
Coolify Paste the service file, then Deploy. Not in the Coolify catalog yet On Coolify
One click RepoCloud · Elestio –
Railway Optional one-click template for the published image Deploy on Railway
Public sector (EU/CH) openDesk, Nextcloud and OpenCloud, on-premises or in an EU cloud synaplan.eu

A Linux server in one line:

curl -fsSL https://raw.githubusercontent.com/metadist/synaplan/main/install.sh | \
  bash -s -- --mode server --domain https://ai.example.com

Own the stack. On-prem, EU cloud, Kubernetes, or fully air-gapped. No training on your data, no forced telemetry, no feature paywall: self-hosted Synaplan is the same software as our cloud, under Apache-2.0. The Helm charts in synaplan-charts are free under that same license. They deploy this image, the Nextcloud and OpenCloud apps, optional speech-to-text, and Jitsi meeting notes.


How it compares

People usually arrive comparing Synaplan with a chat window or an app builder. This is what each project is for. It is not a scoreboard.

Synaplan Open WebUI LibreChat Dify
What it is A team platform: chat, your files as knowledge, a site widget, and the same AI on WhatsApp and email A chat interface for local and cloud models A chat app for many providers A builder for AI apps and workflows
First run Several containers, 8 GB of RAM One container A Compose stack A Compose stack, and a hosted cloud
Cost of an answer Shown on the answer Not on the answer Not on the answer In the builder's usage logs, not on the chat answer
Same AI on your site, WhatsApp and email Yes No No Site widget yes. WhatsApp and email are not built in

If you only want a chat window, Open WebUI or LibreChat gets you there faster.


Where the AI shows up

The web app in this repo is the full chat, in five languages, light and dark. The same account is on the App Store and Google Play. Mail stays inside Outlook with the Synamail add-in.

One snippet puts a chat widget on a website, and a person can take the conversation over. WhatsApp and email answer on the channel the question came in on.

Synaplan Desktop pairs a computer and runs skills on it. There is no installer yet, so you build it from source. The same account also reaches Microsoft 365, Dropbox, WebDAV, CalDAV, and IMAP. How to connect.

Files stay in your cloud

OpenCloud, Nextcloud, and ownCloud.online are file providers. From a file you summarize, translate, or ask a question. Add it to a knowledge folder and chat can find it (RAG). The file stays in the cloud that already stores it.

Watch a folder or a file and Synaplan keeps that knowledge folder current. New and changed files become searchable there, sent by the app as they change. The same watch can run one of your tasks on new files. How the apps and a plain WebDAV folder differ.

Meeting subtitles

Synaplan writes live subtitles for Jitsi and OpenTalk today. You set the speech service once, under Admin → Meeting notes, and each meeting app gets its own small service. When the notes stop, the transcript is saved in Synaplan. Nextcloud Talk and BigBlueButton are next.

Programs run in a sidecar

An agent, a chat, or a saved task can ask for a short program: a chart, a cleaned spreadsheet, a change to files the person already picked. PHP hands that run to the compute sidecar. The sidecar is the process that starts one container and removes it when the run ends.

The model picks a runtime by key, python or node. Each key is a pinned image. The request is that key, a program from the image's allow-list (python, node, or sh), and an argument list. A script is a file inside the sandbox. The container then runs with a read-only root filesystem, no network on a default install, every Linux capability dropped, and a non-root user. It sees copies of the chosen files, writes results to an output directory, and can keep one folder per person between runs (Files → Workspace). Time, memory, and the process limit apply while the container runs. Output size is checked after it stops. Result files come back on the chat card when the run succeeded.

An agent uses this when its tools include code_run.

MCP: use it, offer it, bridge it

Synaplan consumes MCP, provides an MCP server, and bridges the servers you connect into one place you call.


Troubleshooting

Problem What to do
"Port already in use" on start A port Synaplan needs is taken – see Port conflicts
Containers stop right after start Give Docker at least 8 GB of RAM, then check docker compose logs -f backend
Chat gives no answers Use the Synaplan Demo, paste one provider key, or add the local-ai profile – see the quickstart
First start seems stuck The first start downloads all images and takes 5–15 minutes. docker compose logs -f startup-notes shows where it is
Anything else Ask in Discord or open a GitHub issue

Under the hood

Symfony and Vue, MariaDB VECTOR or Qdrant, Redis, Docker. The core is the app, the database and Redis. Local AI, office files, web search and voice are blocks you switch on. The API is OpenAPI. Synaplan consumes MCP servers, serves POST /mcp, and bridges the servers you connect so one call to your Synaplan reaches them. An Anthropic-compatible /v1/messages endpoint and a plugin system let you extend it without forking it. The compute sidecar starts a Python or Node container for each program an agent runs.

Docs · Technical manual · Platform reference · Discussions · Contributing · Security · Discord

Changing the code? Start with adding an AI provider or following a tool call. AGENTS.md is the guide for coding agents.


License

Apache-2.0 · Built in Düsseldorf by metadist · Member of the Open Source Business Alliance

OSBA member

If Synaplan helps you Own the flow, a ⭐ helps the next team find it.

synaplan (metadist/synaplan)

ollama
Searching Database…

What is this?Synaplan is an open-source, self-hosted AI platform that lets you chat with any model, run RAG search over your own documents, embed a chat widget on your site, and expose your knowledge as MCP tools, while showing the cost of every answer.
Is this one app, or a whole ecosystem of apps?This repo is the core PHP/Symfony backend, frontend and widget that you self-host with Docker. Separate repos (Helm charts, mobile apps, a desktop pairing agent, an Outlook add-in, Nextcloud/OpenCloud connectors) all talk to the same platform.
How do I get it running?Clone the repo and run make up to build and start the Docker Compose stack, or use the curl one-liner installer; a lighter published-image Compose file and a Linux install.sh --mode server script are provided for production.
What do I need before installing it?Docker + Docker Compose v2, Git, at least 8GB RAM (16GB recommended with local AI), and about 4GB of free disk space. Provider API keys or a local model via Ollama are added after the stack is up.
Any pitfalls with the default install?Out of the box it only binds to the local machine; opening it to a network requires setting SYNAPLANHTTPBIND and SYNAPLANURL correctly or live chat won't connect, and over plain HTTP on a network address browsers block the microphone and clipboard.
Is it free, and what does the license allow?The self-hosted software is Apache-2.0 and free to run yourself forever. There's also a paid hosted version at web.synaplan.com that needs a paid plan or an invite code.
What is the Synaplan ecosystem made of?Besides this core repo, separate projects add Kubernetes Helm charts (synaplan-charts), native iOS/Android apps, a desktop pairing agent (synaplan-desktop), an Outlook add-in (Synamail), and Nextcloud/OpenCloud connectors — all talking to the same backend.
Can I run AI models locally instead of sending data to a cloud provider?Yes — enabling the local-ai profile (COMPOSE_PROFILES=local-ai) pulls Ollama and the bge-m3 embedding model so RAG and chat can run entirely on your own hardware, no cloud key required.
What systems can I connect Synaplan to?Through Manage → Connections you can link Microsoft 365, Dropbox, Nextcloud/ownCloud/WebDAV, a CalDAV calendar, IMAP mailboxes, and Jira & Confluence, plus WhatsApp and email as chat channels.
How does the cost-tracking feature work?Every chat answer in the UI shows exactly what it cost. Model catalog changes (new models, price updates, retirements) ship as seeders so an existing install is automatically repointed to a supported, correctly priced model.
What are similar projects?SurfSense, ruflo, WeKnora, LangBot, sim, LongMemory, m_flow, DeskcommCRM
Creator
metadist
Size
181.7 MB
Stars
1K
Age
1y
Commits · 90 Days