Architecture
How Sypnia App is built: its parts, where Rust runs, and how they connect.
- You use the web, the phone or the desktop app: one interface.
- The App server keeps your sessions and streams the agent’s answers.
- Sypnia Agent does the work, within its budget and rules.
- Every product is reached through its own API and MCP server, with your session.
Read this diagram as text
The web interface, shared by the phone and the desktop app, calls the App server’s API. The server keeps sessions, messages, notifications and the credits ledger in Postgres, relays each message to Sypnia Agent and streams the answer back, and reads the products’ APIs for the board. Sign-in goes through Sypnia Data. In Sypnia Cloud, the credits ledger takes top-ups from PayPal.
| Part | What it does | Language | Open source |
|---|---|---|---|
| Web interface | the chat, the side panel, the board, the account; also the phone’s installable web app | TypeScript (React, @sypnia/ui) | yes, MIT |
| Desktop app | a Tauri window around the same interface, plus folders, terminal, editor button, notifications, updates | Rust (Tauri 2) | yes, MIT |
| App server | the API, sessions, the stream to the agent, the board reader, notifications, uploads, MCP | Rust (axum) | yes, AGPL-3.0 |
@sypnia/app | the SDK and the app command | TypeScript | yes, MIT |
| Credits ledger and PayPal | balances, held credits, top-ups, limits | Rust | no: Sypnia Cloud only |
App keeps no product data
App stores what is its own: sessions, messages, attachments’ links, notifications, and in Sypnia Cloud the ledger. The map, the code, the rows, the deploys and the problems stay in their products, and App reads them with your session each time. That is why the chat cannot do more than you can.
A message in the chat, an approval, the board and a top-up, step by step.
What the App server keeps, and what it only reads.
How Sypnia Cloud runs App on AWS, part by part.
What happens when the agent, a product, PayPal or a notification fails, and how App grows.
Where each part of App lives in its repository.