openpencil
The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
OpenPencil: an AI-native design tool built in Rust
OpenPencil describes itself as the first open source AI-native vector design tool, turning natural language prompts into UI on a live canvas with concurrent agent teams.
The core claim
OpenPencil stakes out a strong position in its own README: the world's first open source AI-native vector design tool, and the first with concurrent agent teams. Design-as-Code is the umbrella idea, where prompts become UI directly on the live canvas, and the project bills itself as a modern alternative to Pencil. The stack is Rust throughout, one self-contained binary for macOS, Windows, and Linux with no browser engine, licensed MIT, with the homepage at op.zseven.tech. Files use a .op format described as JSON, human-readable, Git-friendly, and diffable.
How the AI actually works
Several mechanisms sit under the prompt-to-canvas flow. An orchestrator decomposes a complex page into spatial sub-tasks, and multiple agents work different sections in parallel, hero, features, footer, each streaming with its own canvas indicator. Models are handled by tier: Claude gets full prompts with thinking enabled, GPT-4o and Gemini have thinking disabled, and smaller models like MiniMax, Qwen, and Llama receive simplified prompts for reliability. Style guides apply visual styles like glassmorphism, brutalist, or retro through tag-based fuzzy matching. A built-in MCP server installs into Claude Code, Codex, OpenCode, Kiro, or Copilot with one click, letting an agent read, create, and modify .op files from the terminal.
Beyond the editor
The feature surface extends past drawing. Code exports to React plus Tailwind, HTML plus CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, and React Native. An embeddable SDK ships a read-only viewer for your own app. Real-time collaboration runs over authenticated peer-to-peer sessions with a public relay and regional hubs, joining by a short pairing code with live remote cursors and per-edit conflict detail. Git operations are built in, from a clone wizard to a folder-mode three-way merge with a conflict panel. There is even a browser extension that captures a webpage into the tool. The README ties it to a family of Rust projects, with jian rendering OpenPencil, agent-rs running its agents, noema providing memory, and Zode designing from the terminal.
Editorial conclusion
The README describes a tool that tries to be a full design environment rather than a canvas with an AI bolt-on, and most of its claims are about what the software can do, not how well it does it.
Community notes