Skip to content

OpenPencil

Local design editor that opens Figma .fig files and is scriptable by AI agents

Permissive (OSI) · MIT
  • macOS

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

10,081

Last commit

today

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

v0.17.0

Nov 2026

Contributors

–

11 active in 90 days

Releases

15

last 12 months

Language

TypeScript

OpenPencil is an open-source design editor that reads and writes Figma .fig files and also opens .pen files. It ships as a roughly 15 MB desktop app built with Tauri v2 for macOS, Windows and Linux, and it runs in the browser as a PWA. It is MIT licensed.

It includes built-in AI chat that creates and edits nodes with 100+ tools, using your own API key. You can also drive it from a headless CLI, XPath queries, a Figma Plugin API, and an MCP server for agents. Other features include components and variants, auto layout and CSS Grid, linting, token extraction, and JSX/Tailwind export. Collaboration works peer to peer over WebRTC or through an optional Cloud server. A headless Vue SDK lets you embed it in other apps.

It targets designers who want a local Figma-compatible editor. The project is early-stage, with some rough edges, and its plugin and library ecosystem is smaller than Figma's.

Who it's for

Designers working with existing Figma files

It opens and saves .fig files in a local app.

Skip if: You need a mature plugin and shared library ecosystem.

Developers automating design work with AI agents

A CLI, MCP server and Plugin API let agents inspect and modify documents.

Skip if: You only want a point-and-click editor.

Teams building custom design tools

The headless Vue SDK lets you embed editing components in your own app.

Skip if: You do not use Vue.

The problem it solves

Design work is often tied to a hosted tool and its cloud accounts. OpenPencil lets you open Figma files and edit them in a local app that you can also script.

Strengths

  • Reads and writes native Figma .fig files and opens .pen files
  • Desktop app is about 15 MB, with Windows, macOS and Linux builds
  • MCP server, CLI and Plugin API for AI agents
  • Peer-to-peer collaboration over WebRTC with no account
  • MIT license; installs on macOS with Homebrew

Trade-offs

  • Early-stage, with some rough edges
  • Smaller plugin and library ecosystem than Figma
  • No click-through prototype flows
  • AI features need your own provider key

OpenPencil replaces

Self-host OpenPencil

Self-hostable
No (desktop or local app)

Quick start

brew install --cask openpencil

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is OpenPencil free?

Yes. It is MIT licensed. The AI features use your own API key for the provider you choose.

Can it open Figma files?

Yes. It reads and writes .fig files and also opens .pen files.

Which platforms does it run on?

macOS 13 or later, Windows 10 or later, and Linux with WebKitGTK 2.40+. It also runs in modern browsers as a web app.

Does it support real-time collaboration?

Yes, through peer-to-peer WebRTC rooms or an optional Cloud server.

Other Figma alternatives

Compare all 4 Figma alternatives →

Similar tools in UI design and prototyping tools

Grida

UI design and prototyping tools

Open design canvas with AI image tools for designers on macOS, Windows and Linux

2.7k 154 yesterday Active Apache-2.0

Replaces Figma

open-codesign

UI design and prototyping tools

Desktop AI design tool that turns prompts into prototypes with your own model keys

8.3k 879 2 days ago Thriving MIT

Replaces Claude Design

Quant-UX

UI design and prototyping tools

Self-hosted prototyping and usability testing tool for UI designers and researchers

2.8k 292 20 days ago Slowing GPL-3.0

Gluon Scene Builder

UI design and prototyping tools

Drag-and-drop visual designer that produces FXML layouts for JavaFX apps

826 228 4 days ago Active 0BSD

Doop

UI design and prototyping tools

Multiplayer design canvas where people and AI agents edit the same HTML frames

2.3k 295 today Thriving AGPL-3.0

desigma

UI design and prototyping tools

Native, offline Rust design tool for UI designers who need to open Figma files

1.3k 133 today Active Apache-2.0

Replaces Figma