Level 3 · Prototype, hand off, team up · about 10 minutes · free
Design with AI agents
Every menu item and tool in FigCraft runs a command, and AI assistants can run the same commands through figcraft-cli. You describe a screen; the assistant builds it, and you can watch it work.
Read the AI agents page on craft.wiki (linked below).
Get the CLI. macOS: download figcraft-cli-<ver>-macos-universal.zip from the release page. Windows: it's next to figcraft.exe. Linux packages install it alongside the app.
Open a terminal and run figcraft-cli commands --filter autoLayout to check it works.
Connect Claude Code:claude mcp add figcraft -- figcraft-cli mcp.
Claude Desktop: Settings › Developer › Edit Config; add a server with command figcraft-cli and args ["mcp"]; restart.
Ask: ‘Make a sign-in screen for a phone, with auto layout, and save it as signin.figcraft.’
Watch it live: quit FigCraft, run figcraft --control 7979, and set the assistant's command to figcraft-cli mcp --attach 7979.
The assistant appears like a live collaborator, and changed layers are outlined.
Fence it in:figcraft-cli mcp --automation-read-root ~/Designs/project --automation-write-root ~/Designs/project/out.
Script without an assistant:figcraft-cli render landing.figcraft -o landing.png --scale 2, export … --format svg, convert design.fig design.figcraft.
Tips
Give the agent your system. ‘Use the Button and Input components and the Theme variables.’ Agents follow a design system far better than a vibe.
Review like a lead. Treat agent output as a junior's first draft: check spacing, names and states before you build on it.
Script the boring parts.figcraft-cli export landing.figcraft -o out/ --format svg exports every frame; perfect for build pipelines.
Check yourself
You want the assistant to only save into one output folder. What do you add?
--automation-write-root with that folder (and --automation-read-root for what it may open).