Skip to content

Architecture

How Sypnia App is built: its parts, where Rust runs, and how they connect.

Applies to EngineCloud
View as Markdown
Figure. Sypnia App: one interface on the web, the phone and the desktop, the App server in the middle, and every product behind it.
  1. You use the web, the phone or the desktop app: one interface.
  2. The App server keeps your sessions and streams the agent’s answers.
  3. Sypnia Agent does the work, within its budget and rules.
  4. 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.

PartWhat it doesLanguageOpen source
Web interfacethe chat, the side panel, the board, the account; also the phone’s installable web appTypeScript (React, @sypnia/ui)yes, MIT
Desktop appa Tauri window around the same interface, plus folders, terminal, editor button, notifications, updatesRust (Tauri 2)yes, MIT
App serverthe API, sessions, the stream to the agent, the board reader, notifications, uploads, MCPRust (axum)yes, AGPL-3.0
@sypnia/appthe SDK and the app commandTypeScriptyes, MIT
Credits ledger and PayPalbalances, held credits, top-ups, limitsRustno: 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.

  • Request paths

    A message in the chat, an approval, the board and a top-up, step by step.

  • Data model

    What the App server keeps, and what it only reads.

  • On AWS

    How Sypnia Cloud runs App on AWS, part by part.

  • Failures and scaling

    What happens when the agent, a product, PayPal or a notification fails, and how App grows.

  • Codebase

    Where each part of App lives in its repository.

    Search pages, sections and terms