Design at the speed of thought.

SweetDesign is a lightweight design tool with a JSON document model and a plugin architecture from day one — built so humans and AI agents design through the same API.

Free while in preview · Runs entirely in your browser · Files stay on your device

Features

An editor that stays out of your way

The surface is Figma-familiar — same layout, same shortcuts. Underneath, everything is a JSON document and a stream of commands.

A canvas that keeps up

A purpose-built Canvas 2D engine: pan, zoom, marquee selection, snapping and Alt-hover measurements. Layers live in a spatial index, not the DOM, so busy files stay fluid.

Undo that never loses work

Every edit records its exact inverse command as it is applied. Undo and redo walk a true history of your actions — no snapshots, no state copies, nothing to corrupt.

Keyboard-first

The Figma shortcut table works from day one: tool keys, ⌘K quick actions, ⌘D duplicate, Alt measurements. Your hands stay on the keyboard.

Plugin-ready architecture

Plugins ship in P1, but the seams are already here: one command channel, one JSON document model, and a manifest format modeled on Figma's dual-context plugins.

Built for agents

Every edit is a serializable command, so an AI agent can drive SweetDesign through the same channel as the UI — no screen scraping, no pixel clicking. MCP support lands with the plugin system.

Your files, your format

Documents are plain JSON in an open .sdesign file. Diff them, generate them, keep them in git — no proprietary binary, no lock-in, no account required.

Agent & MCP

One channel for UI, plugins and agents

There is exactly one way to change a SweetDesign document: execute a command. The mouse, the keyboard, a plugin or an MCP-connected agent all go through the same DocStore.execute() — and get the same undo history for free.

  • No UI automation. Agents send commands, not clicks — deterministic, inspectable, reversible.
  • The document is JSON. An agent can read the whole file, plan a change, and apply it as one composite command.
  • Every command carries its inverse. Agent-made edits undo exactly like hand-made ones.
// An edit, as the editor itself performs it — // a plain JSON command on the single channel: store.execute({ type: 'setProps', patches: [{ id: 'hero-card', props: { fills: [{ color: '#5B5BD6', opacity: 1 }] } }] }) // The same channel is the public API — live in the editor today: sd.execute({ type: 'addNode', pageId, parentId, node }) const doc = sd.getDocument() // JSON, end to end

The public sd.* API is live in the editor today — open the console and try sd.getDocument(). The MCP server lands in P1, on the same channel.

Shortcuts

Figma muscle memory, intact

If your fingers already know Figma, they already know SweetDesign. The full table is in the editor under Ctrl+Shift+?.

Move toolV
Frame toolF
Rectangle / EllipseR/O
Pen / TextP/T
Quick actions — command palette⌘+K
Undo / Redo⌘+Z/⇧+⌘+Z
Duplicate⌘+D
Group / Ungroup⌘+G/⇧+⌘+G
Create component⌘+⌥+K
Add auto layout⇧+A
Align left / right / top / bottom⌥+ADWS
Measure distances — hold while hovering⌥
Find & replace layers⌘+F
Zoom to fit / to selection⇧+1/⇧+2

⌘ is Cmd on macOS, Ctrl on Windows and Linux.

Plugins

Plugins, designed in from the start

The plugin system lands in P1 — but it isn't being bolted on. The editor already runs on the exact channel plugins will use, so a plugin is just another client of the command API.

  • Figma-style dual context. A sandboxed UI iframe plus a main-thread API context, with an sd.* surface that mirrors figma.*.
  • Dual-host. Plugins can also run headless against a document, so an MCP-connected agent can invoke them without an open editor tab.

In development — P1

// manifest.json { "name": "Token Sync", "id": "token-sync", "api": "1.0.0", "main": "code.js", "ui": "ui.html", "capabilities": ["document:write"] }

A manifest declares the entry points and the capabilities a plugin needs — nothing runs with more access than it asked for.

Open the editor and draw something

No sign-up, no install. The P0 editor is live — frames, shapes, text, layers, real undo, local files.

Start designing — it's free