Describe your system. Get a living map.
Your agent writes the architecture as one open file. Sododeck opens it as a living map: services, flows, rules and the tables behind them, on one canvas.
Runs with your own AI. Nothing leaves your browser.
- From a description, a codebase or Mermaid text
- Validated before it opens
- Laid out automatically
- No account
- Works offline
- Open JSON format
- Nothing sent anywhere
Step 2 · Explore
See the whole system, then just the part you need
Zoom out and cards become icons; zoom in and they show fields and tags. Focus a card to see only what it talks to, or open a group to work inside it.
- Saved viewsKeep a named camera and filter for each audience.
- Auto-layoutArrange the deck in one step. Pinned cards stay where you put them.
- SearchJump to any card, table or step by name or id.
Step 3 · Flows
Watch a flow run end to end
Flows are objects with steps, conditions and rules, not coloured lines. Play one and the deck deals each step in order; a branch shows where the path splits.
Step 4 · Knowledge
Rules live where they apply
Attach a decision table to the step it governs. The inspector shows the step, its condition and its rule. Stickies and notes hold what is still open.
| WHEN | THEN | |
|---|---|---|
| attempt | error | action |
| < 3 | timeout | Retry in 2 s |
| < 3 | declined_soft | Retry in 30 s |
| 3 | any | Cancel order |
| any | declined_hard | Cancel order |
Retries reuse the order id, so the provider sees one charge.
| WHEN | THEN | |
|---|---|---|
| attempt | error | action |
| < 3 | timeout | Retry in 2 s |
| < 3 | declined_soft | Retry in 30 s |
| 3 | any | Cancel order |
| any | declined_hard | Cancel order |
Retries reuse the order id, so the provider sees one charge.
| WHEN | THEN | |
|---|---|---|
| attempt | error | action |
| < 3 | timeout | Retry in 2 s |
| < 3 | declined_soft | Retry in 30 s |
| 3 | any | Cancel order |
| any | declined_hard | Cancel order |
Retries reuse the order id, so the provider sees one charge.
Step 5 · Database
The tables behind the map, on the same canvas
Open a database card and its tables are there: columns, keys, enums and indexes, with relationships attached to the columns they join. One SQL dialect per deck: Postgres, MySQL or SQLite.
- Draw tables, or import SQL and DBML.
- Flows show which tables each step touches.
- Export runnable SQL for your dialect.
Step 6 · Code
One document, two views
The canvas and the code panel edit the same file. Select a card and its JSON is highlighted; change the JSON or the DBML and the canvas follows.
Step 7 · Edit
AI drafts it. You own it.
Change anything by hand: rename a card in place, pick colours for cards and tags, align with guides, snap and resize, and re-route a connector by dragging its bends.
Step 8 · Own your file
Your decks stay on your machine
No account. Decks live in your browser and keep working offline, and nothing is sent anywhere. The format is open JSON, so your work is never locked in.
Decks live only in this browser. Export a backup now and then.Export backup
- JSON
- PNG
- SVG
- SQL
- DBML
Start with a prompt, or with a blank canvas.
Sododeck runs in your browser. Bring your own AI, or draw it by hand.