A design editor for opening Figma files with AI assistance, real-time P2P collaboration, and a programmable CLI.

OpenPencil is an open-source design editor. It allows users to create, modify, and manage design documents using a desktop application or a browser-based PWA. The software specifically supports reading and writing .fig and .pen files, enabling users to move design assets between different platforms without losing native data.
The software functions as both a visual editor and a programmable toolkit. It is deployed as a lightweight desktop app built with Tauri for macOS, Windows, and Linux, but it also provides a headless CLI for automating design tasks. This allows users to perform operations like inspecting node trees or exporting assets without ever opening the graphical interface.
The architecture emphasizes programmability and extensibility. It provides a plugin API via an eval command and a headless Vue SDK for developers building custom editing surfaces. The tool includes a comprehensive set of analysis commands to audit design systems, allowing users to find inconsistencies in colors, typography, and spacing. It integrates with multiple AI providers including OpenRouter, Anthropic, and OpenAI, and supports an MCP server that allows external coding agents to inspect or modify design documents headlessly. Users can also convert HTML and CSS directly into editable layers within the editor.
OpenPencil is a flexible, account-free design tool for developers and designers who require a programmable workflow and local control over their design files.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.