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.

Design with AI agents: the finished result in FigCraft
Start the interactive lesson: narrated demo, steps and quiz →

What you’ll learn

Step by step

  1. Read the AI agents page on craft.wiki (linked below).
  2. 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.
  3. Open a terminal and run figcraft-cli commands --filter autoLayout to check it works.
  4. Connect Claude Code: claude mcp add figcraft -- figcraft-cli mcp.
  5. Claude Desktop: Settings › Developer › Edit Config; add a server with command figcraft-cli and args ["mcp"]; restart.
  6. Ask: ‘Make a sign-in screen for a phone, with auto layout, and save it as signin.figcraft.’
  7. Watch it live: quit FigCraft, run figcraft --control 7979, and set the assistant's command to figcraft-cli mcp --attach 7979.
  8. The assistant appears like a live collaborator, and changed layers are outlined.
  9. Fence it in: figcraft-cli mcp --automation-read-root ~/Designs/project --automation-write-root ~/Designs/project/out.
  10. Script without an assistant: figcraft-cli render landing.figcraft -o landing.png --scale 2, export … --format svg, convert design.fig design.figcraft.

Tips

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).

← Design together, liveProject: A clickable onboarding →

FigCraft is an open-source project by its own authors. Craftpath is an independent, free learning resource.