Versions:

  • 0.8.5
  • 0.8.4
  • CLI

OpenPencil is an AI-native vector design tool that turns prompts into editable product interfaces, with multi-agent workflows, a built-in MCP server, Figma import, and design-to-code export. The current release is version 0.8.5. Any UI can be described in natural language and appears on the infinite canvas in real-time with streaming animation, and existing designs can be modified by selecting elements and chatting. Concurrent agent teams are supported: the orchestrator decomposes complex pages into spatial sub-tasks, and multiple AI agents work on different sections simultaneously, such as hero, features and footer, all streaming in parallel with per-member canvas indicators. The tool automatically adapts to each model's capabilities: Claude gets full prompts with thinking, GPT-4o/Gemini disable thinking, and smaller models (MiniMax, Qwen, Llama) get simplified prompts for reliable output. The MCP server installs with one click into Claude Code, Codex, OpenCode, Kiro, or Copilot CLIs, so designs can be made from the terminal by reading, creating, and modifying .op files through any MCP-compatible agent. A built-in style guide library with tag-based fuzzy matching applies visual styles (glassmorphism, brutalist, retro, etc.) to AI-generated designs, with MCP tools for external agent access. Designs are treated as code: .op files are JSON, human-readable, Git-friendly and diffable, design variables generate CSS custom properties, and code can be exported to React + Tailwind or HTML + CSS. OpenPencil runs everywhere as a web app and as a native desktop application on macOS, Windows, and Linux, with one Rust core, a single self-contained binary, no browser engine, and .op file association so that a double-click opens a file. The CLI, called op, controls the design tool from the terminal with op design and op insert, a batch design DSL and node manipulation, piping in from files or stdin, and works with the desktop app or web server. Multi-platform code export covers React + Tailwind, HTML + CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose and React Native, all from one .op file, and design variables become CSS custom properties. An embeddable SDK, op-web-sdk (vanilla) with op-web-sdk-react and op-web-sdk-vue adapters, embeds a read-only .op viewer in your own app, powered by the same wasm renderer the editor ships. The Design System Kit manages reusable UIKits with style switching and component composition, imports and exports kits from .pen files, and has a built-in registry with MCP tools for external access. Real-time collaboration works over authenticated peer-to-peer sessions with a public relay and built-in regional hubs, with a short pairing code to join, live remote cursors, and conflict resolution with per-edit detail and replay.

Tags: