OpenPencil

dannote·OpenPencil.OpenPencil

An AI-native design editor and open-source Figma alternative.

OpenPencil is an AI-native design editor and open-source Figma alternative that supports .fig and .pen design files. What it does - Opens .fig and .pen files — read and write native Figma files, open supported Pencil documents from the app or OS file browser, copy & paste nodes between apps - AI builds designs — describe what you want in chat, 90+ tools create and modify nodes. Connect OpenRouter, Anthropic, OpenAI, Google AI, Z.ai, MiniMax, or compatible endpoints - Fully programmable — headless CLI, XPath queries, Figma Plugin API via eval, MCP server for AI agents, and desktop agent integrations for Claude Code, Codex, and Gemini CLI - Lint, convert, and extract tokens — inspect documents, lint naming/layout/accessibility, convert between supported formats, analyze colors/typography/spacing/clusters, and extract design tokens - Components and variants — create reusable components, group variants into component sets, insert local assets as instances, and switch variants from the inspector - Image vectorization — convert image layers into editable vector layers with Recraft or fal.ai - Design-to-code export — export selections as JSX/Tailwind, generate token outputs, and map designs into component-oriented code workflows - Vue SDK for custom editors — headless components and composables for embedding OpenPencil into other apps or building workflow-specific editing surfaces. Read the SDK docs → - Real-time collaboration — P2P via WebRTC, no server, no account. Cursors, presence, follow mode - Auto layout & CSS Grid — flex and grid layout via Yoga WASM, with gap, padding, alignment, track sizing - ~7 MB desktop app — Tauri v2 for macOS, Windows, Linux. Also runs in the browser as a PWA

winget install --id OpenPencil.OpenPencil --exact --source winget

Latest 0.15.1·September 18, 2026

Release Notes

Added

  • Configure built-in AI and local MCP tool access independently on a Tool access page, including optional extended AI tools, searchable read-only and side-effect groups, and per-target defaults (#584).
  • Set the built-in AI's maximum steps per message in Chat settings, including a custom number, with consistent stopping and remaining-step warnings (#573).
  • Open documents and jump to a named layer from openpencil://open?file=&node= links, resolving the file against open tabs or a one-time file picker. Path segments match the way the filesystem does: case-insensitively on macOS and Windows, exactly on Linux.
  • Open documents and jump to a named layer in the web app from ?file=&node= links, fetching the file from an https: URL without credentials, ignoring the URL fragment, and refusing a document larger than 64 MiB — a ceiling the automation bridge's openFile now shares. Changed
  • Create new documents with the sRGB colour profile, so Display P3 is reserved for documents that declare it.
  • Export diagnostics from Settings only, with a retention count you choose. AI requests and tool activity now carry conversation and request identifiers, while chat no longer offers a separate diagnostic log or includes transcript content.
  • Replace the demo's legacy reference page with a component library on the first page, including component sets, linked instances, component properties, and the variable collections, and show the standard canvas loading overlay and tab indicator while it is generated instead of an empty canvas. Fixed
  • Store colours edited in the colour picker in the document's colour profile, and convert them on the way to the display, so a Display-P3 document no longer looks different on an sRGB display than on a wide-gamut one.
  • Keep Display-P3 documents rendering correctly in wide gamut where the browser supports it and in sRGB elsewhere, fixing the black rectangles and incorrect blend colours, with a dismissible notice when wide gamut is unavailable.
  • Classify MCP open_file and close_file operations as read-only hints, and close opened document tabs through the new close_file tool with the usual unsaved-change prompt.
  • Let the desktop app use an MCP server you started yourself by allowing the app's own origin by default, instead of requiring OPENPENCIL_MCP_CORS_ORIGIN.
  • Explain why the local MCP server did not start — a missing @open-pencil/mcp install, a denied command, an early exit, or an unreachable address — with translated guidance, and find a globally installed server when the desktop app is launched from the system shell.
  • Animate the AI chat tool-call disclosure, which expanded and collapsed without motion because its animation classes were misspelled.
  • Mark unsaved documents and ask whether to save before closing a tab, the desktop window, or the application, rather than relying on recovery alone.
  • Defer AI provider connections and system credential reads until you send a message or use a connected feature, so opening documents and browsing chat history no longer trigger unexpected credential prompts.
  • Save and recover documents whose text uses disabled numeric, fraction, or small-caps OpenType features, which previously failed to write a .fig file.
  • Update instance text properties on the canvas while typing, with grouped undo for rapid edits.
  • Point Homebrew installation instructions to the official openpencil cask and document separate CLI installation.
  • Reach the custom model option in the model picker for providers with large model catalogs instead of requiring a search for it. Performance
  • Reduce editor pauses while generating recovery snapshots and exporting text-heavy .fig documents.
  • Recompute layout only for the pages an edit affects, instead of every page, when editing a component or its instances.

Installer types: nullsoft, wix

x64usernullsoft5E06BC1B58AFC80E16C7A5828FCED68C3B3AA656B32C20F4FE9C651FEAB6F5F9
arm64usernullsoftC2834E9FD57FE8BDCF7FA7F16C2CE7776C0D555BF9DC3DB85ADBD40F92DB461F
x64machinewixBEE6617F9164DC965C226F14068A1E90BA6C5E6F619400F2A2CA6DDC62B1BF0D
arm64machinewix32BA3143DA55BCB227A95665187442FFEA1C605465F14F6E6658D70EF366BBAF

Details

Homepage
https://openpencil.dev/
License
MIT
Publisher
dannote
Support
https://github.com/open-pencil/open-pencil/issues
Copyright
Copyright (c) 2026 Danila Poyarkov

Tags

aidesignfigma

Older versions (2)

0.15.0
x64usernullsoftC7189B7B7401CFA6F6447F8264FC35A5E39B0FD563891350AFE5A4957F151A43
arm64usernullsoft3AEE8469B0C5BBE6D4A2C81EBD63FECEB507FF72E6650D36359DEA2355CB2A53
x64machinewixFA60F8E5F2083AF9748BE0928577BC5272692E4672DBFCE33A91F8CAC6C7FD26
arm64machinewix446B37D4DCF1C1FF4A4D5C571AF2C5AAE62C22859A2BA916E564FDD2806C1309
0.14.0
x64usernullsoft697580C38D33FB2DEB3A270C19DF93563B3FE9BDD045F7702FED8CAE1A0F17C9
arm64usernullsoftE77DE213E91CA9FB2F98B73494B0EC544D5434CF2E19D285C167551978CF268E
x64machinewixB4915E7A7C41A6768247FD1719DF08B754C8827608C0E4B1FD5B4F2AC01E8E66
arm64machinewix9DC50082DC30DEF40FE709CBC10CB6343D2C5591094B9D26EE1FA7F6BF6A7DEB