OpenPencil CLI

OpenPencil contributors·ZSeven-W.OpenPencil.CLI

The command-line companion of OpenPencil, the open-source AI-native vector design tool.

OpenPencil is an AI-native vector design tool with multi-agent workflows, a built-in MCP server, Figma import, and design-to-code export. Why OpenPencil 🎨 Prompt β†’ Canvas Describe any UI in natural language. Watch it appear on the infinite canvas in real-time with streaming animation. Modify existing designs by selecting elements and chatting. πŸ€– Concurrent Agent Teams The orchestrator decomposes complex pages into spatial sub-tasks. Multiple AI agents work on different sections simultaneously β€” hero, features, footer β€” all streaming in parallel with per-member canvas indicators. 🧠 Multi-Model Intelligence Automatically adapts to each model's capabilities. Claude gets full prompts with thinking; GPT-4o/Gemini disable thinking; smaller models (MiniMax, Qwen, Llama) get simplified prompts for reliable output. πŸ”Œ MCP Server One-click install into Claude Code, Codex, OpenCode, Kiro, or Copilot CLIs. Design from your terminal β€” read, create, and modify .op files through any MCP-compatible agent. 🎨 Style Guides Built-in style guide library with tag-based fuzzy matching. Apply visual styles (glassmorphism, brutalist, retro, etc.) to AI-generated designs. MCP tools for external agent access. πŸ“¦ Design-as-Code .op files are JSON β€” human-readable, Git-friendly, diffable. Design variables generate CSS custom properties. Code export to React + Tailwind or HTML + CSS. πŸ–₯️ Runs Everywhere Web app + native desktop on macOS, Windows, and Linux β€” one Rust core, a single self-contained binary, no browser engine. .op file association β€” double-click to open. ⌨️ CLI β€” op Control the design tool from your terminal. op design, op insert β€” batch design DSL, node manipulation. Pipe in from files or stdin. Works with desktop app or web server. 🎯 Multi-Platform Code Export Export to React + Tailwind, HTML + CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, React Native β€” all from one .op file. Design variables become CSS custom properties. 🧩 Embeddable SDK op-web-sdk (vanilla) + op-web-sdk-react / op-web-sdk-vue adapters β€” embed a read-only .op viewer in your own app, powered by the same wasm renderer the editor ships. πŸ›‘οΈ Design System Kit Manage reusable UIKits with style switching and component composition. Import/export kits from .pen files. Built-in registry with MCP tools for external access. πŸ‘₯ Real-Time Collaboration Design together over authenticated peer-to-peer sessions with a public relay and built-in regional hubs. Join with a short pairing code, see live remote cursors, and resolve conflicts with per-edit detail and replay.

winget install --id ZSeven-W.OpenPencil.CLI --exact --source winget

Latest 0.8.6·November 22, 2026

Release Notes

This release adds motion authoring on the canvas, shared playback with Jian, interactive HTML export, and browser-local MP4 export. Motion authoring and playback

  • Edit keyframes, easing and stagger in the Motion inspector and timeline. Scrub the playhead to see the sampled frame directly on the canvas.
  • Trigger named clips from interactions and author screen transitions. Replay motion in Play while keeping the current screen and input values.
  • Jian desktop and Web players use the shared motion runtime. Wheel and trackpad scrolling move the rendered content, hit targets and in-view animation checks together.
  • Standalone HTML evaluates dynamic routes and runs local event chains with state changes, conditions, delays, parallel branches, visibility changes and named clips. Export and automation Export clips as GIF, APNG, a ZIP of PNG frames, or H.264 MP4. The desktop and daemon use the same in-process Rust frame clock, H.264 encoder and MP4 muxer as the browser WebAssembly build. The browser paints into a local CanvasKit raster surface and can download the MP4 offline once the document and its assets are loaded. MP4 encoding and muxing require no external encoder. The CLI and MCP expose motion export, and MCP can return sampled frames for an agent to inspect its own animations. Verification
  • The macOS workspace regression passed 14,999 tests with zero failures and 63 ignored tests. All six previously failing CLI subprocess cases passed in the parallel run.
  • The same motion document was exported from offline Chromium and from the daemon. The 16 decoded frames matched sample for sample in all three Y/Cb/Cr planes. Both outputs were 160Γ—128 at 30 fps with a duration of 533.333 ms. Sample timestamps, frame durations and keyframe flags matched exactly. The files had the same SHA-256 9f320a0f1648d0cdffa6f43d2483cfbcce73a2db779a64e01291cf321ccc6eef.
  • The optimized CanvasKit WebAssembly bundle passed its size and import checks at 5,711,859 gzip bytes, below the 6 MiB limit, with zero env.* imports.

Installer type: zip

x64β€”02269DA1D7E8015CDC24D32D73A79D728B68DA8DC050B8CFFA7A4A2184B2B807
arm64β€”C838F40617FD86621AC5ECA6E1330A1CF19BBA06B510895948271F1271B16E56

Details

Homepage
https://op.zseven.tech/
License
MIT
Publisher
OpenPencil contributors
Support
https://github.com/ZSeven-W/openpencil/issues
Copyright
Copyright (c) 2026 ZSevenβ€”W

Tags

aidesignfigmamcp

Older versions (2)

0.8.5
x64β€”93EB1ED1C4E96E7979265C438E570C0B658FB2ABC5715DD21D5D86B2F9FAF14A
arm64β€”E36C8B748DD4247A485323889B71D3F7D7E684DB3B3A832F00D6B2284187C74A
0.8.4
x64β€”E97111FBD440881978D98E720160DE9583CE39CF5544E510DD2B124F6F0F3D27
arm64β€”38D4D82D72959752CAAC0E17FA6F0A28AF29439EACA0E606B8FB57793DFBC8C9