Architecture
How Sypnia Design is built: its parts, where they run, and why your repository holds the truth.
- You, App or an agent change the guide or ask for a screen, through the console, the CLI or MCP.
- The engine opens a proposal, asks Sypnia AI for options when needed, and renders before-and-after pictures.
- A person approves; the engine writes the change to your repository as a pull request.
- In your repository,
@sypnia/designbuilds tokens, generates pieces and runsdesign check.
| Part | What it does | Language | Open source |
|---|---|---|---|
@sypnia/design | CLI, token builder, component generator, design check, local gallery, local renders and PDF | TypeScript | yes, MIT |
@sypnia/base | the unstyled accessible pieces, on React Aria | TypeScript (React) | yes, MIT |
| Design engine | API, MCP, proposals, the Git writer, the renderer and PDF exporter (headless Chromium), the asset sanitizer | TypeScript | yes, AGPL-3.0 |
| Design skills | the instructions agents follow | Markdown | yes, MIT |
| Console | design.app.sypnia.com and the Design panel of App | TypeScript (React) | no |
Why your repository holds the truth
Your guide, your pieces and your screens are part of your app, so they live with its code and change with it in the same pull requests. The engine keeps only what does not belong in a repository: proposals under review, rendered pictures, uploaded originals and check results. If the engine disappeared, your app would keep its whole design.
Why TypeScript
Everything Design reads and writes is web code (React, CSS, SVG) and every render is a web page, so the generator, the checker and the renderer use the same parsers and the same browser your app does.
A proposal, a render and a check, step by step.
The sypnia_design schema, and the files that live in your repository instead.
Reference implementation on AWS
Every AWS service Design uses in Sypnia Cloud, and how.
What happens when a render, the model, Git or the database fails, and how Design grows.
How the open-source repository is organized.