OpenPencil
Open-source AI-native vector design tool that turns prompts into UI on a live canvas, with concurrent agent teams.
- Source repo
- ZSeven-W/openpencil
- Stars
- ★ 7.4k
- Last updated
- 1d ago
- FARS reviewed
- Nov 24, 2026
- License
- MIT
- Primary language
- Rust
- FA score
- 68/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A frontend engineer who wants a landing-page idea turned into working React + Tailwind code and iterated on a canvas instead of hand-writing scaffolding.
- Not a fit if
- Teams requiring a mature plugin ecosystem (plugin system still on the roadmap)
- Users who only want a lightweight browser tool and will not install a desktop app
- Website
- op.zseven.tech ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-23
- Source review
- 68/100 · Some gaps
What does this agent do, and when should you use it?
OpenPencil is an AI-native vector design tool rewritten in Rust, with the editor, CLI, MCP server, AI runtime and code generators all living in one Cargo workspace under crates/. It streams natural-language prompts onto an infinite canvas via SSE, and its op-orchestrator splits complex pages into spatial sub-tasks so multiple agents generate different sections in parallel. Designs are stored as .op JSON — human-readable, diffable and Git-friendly — and export to React + Tailwind, HTML + CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose and React Native. A built-in MCP server (op-mcp) exposes design tools that install into Claude Code, Codex, OpenCode, Kiro and Copilot CLIs so terminal agents can read and write .op files. It ships as a native desktop binary for macOS, Windows and Linux (winit + GPU Skia, no browser engine), a browser web build, a Docker-hosted web app, the op command-line tool, and embeddable read-only viewer SDKs.
A user describes a page in natural language on the canvas; the request goes through op-ai's provider layer (built-in Anthropic, OpenAI, Google, DeepSeek presets, or a local Claude Code / Codex / OpenCode / Copilot session), and the streamed result is written into the .op document held by op-editor-core and repainted live. op-orchestrator decomposes a page into spatial sub-tasks (hero, features, footer) executed by concurrent agent teams with per-member canvas indicators. op-mcp exposes the layered design_skeleton → design_content → design_refine workflow, style-guide tools (get_style_guide_tags, get_style_guide), multi-page management, and an incremental codegen pipeline (codegen_plan, codegen_submit_chunk, codegen_assemble, codegen_clean). op-codegen emits target framework code with design variables as CSS custom properties; op-figma parses .fig files; op-git handles clone, branch, push/pull and folder-mode three-way merge. The op CLI supports op design @file, stdin piping, op insert and op start --headless, and the desktop binary doubles as a stdio MCP server via --mcp <path>.
- A frontend engineer who wants a landing-page idea turned into working React + Tailwind code and iterated on a canvas instead of hand-writing scaffolding.
- Developers already running Claude Code or Codex who want their terminal agent to read and modify .op design files as part of the coding loop.
- A design team that needs a Git-diffable design file format so design changes go through code review alongside the code.
- Teams importing existing Figma .fig files or capturing live web pages into a design tool.
- Distributed designers who want real-time P2P collaboration with short pairing codes instead of a SaaS account system.
- An internal platform team deploying the web app via a single Docker image for colleagues behind a private network.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install --cask openpencilscoop install openpencilbrew install zseven-w/openpencil/opcurl -fsSL https://raw.githubusercontent.com/ZSeven-W/openpencil/main/scripts/install-op.sh | bash
- Config files
rust-toolchain.toml- Install notes cover
- Windows · macOS · Linux · Docker
How do you install or deploy this agent?
macOS desktop app via Homebrew:
brew tap zseven-w/openpencil
brew trust --tap zseven-w/openpencil
brew install --cask openpencilWindows via Scoop:
scoop bucket add openpencil https://github.com/zseven-w/scoop-openpencil
scoop install openpencilLinux and Windows can also download .AppImage, .deb or .exe from GitHub Releases. The op CLI installs separately:
brew tap zseven-w/openpencil
brew trust --tap zseven-w/openpencil
brew install zseven-w/openpencil/opOr use the install script:
curl -fsSL https://raw.githubusercontent.com/ZSeven-W/openpencil/main/scripts/install-op.sh | bashBuilding from source requires the pinned Rust toolchain (1.94 via rust-toolchain.toml) and recursive submodules under vendor/:
git clone --recurse-submodules https://github.com/ZSeven-W/openpencil.git
rustup toolchain install 1.94
rustup target add wasm32-unknown-unknown
cargo run -p op-host-desktopWeb dev server:
bash scripts/start-web-rust.shDocker deployment:
docker run -d -p 3100:3100 "ghcr.io/zseven-w/openpencil-web:v$(scripts/workspace-version.sh)"How do you use this agent?
After launching the desktop app, press Cmd+J to open the AI chat, or select elements and describe changes in the chat. Built-in providers need an API key entered in Agent settings (Cmd+,); reusing an already-logged-in local Claude Code install needs no extra configuration. Batch-design from the terminal:
op start --headless --file design.op
op design @landing.txt
op insert '{"type":"rectangle"}'
cat design.dsl | op design -Install the MCP server into a terminal agent (Codex shown):
op install --target codexThe desktop binary can also expose MCP over stdio directly:
openpencil-desktop --mcp /path/to/design.opCode export runs from the code panel (Cmd+Shift+C) or through the MCP pipeline codegen_plan → codegen_submit_chunk → codegen_assemble → codegen_clean. A private web deployment that uses internal LLM endpoints must set the endpoint allowlist:
export OPENPENCIL_WEB_AI_ENDPOINT_ALLOWLIST="http://127.0.0.1:11434,https://llm.internal.example"
export OPENPENCIL_WEB_ALLOWED_ORIGINS="https://demo.openpencil.dev"Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- One Rust workspace holds editor state, CLI, MCP, AI, codegen, Figma import and Git, so all interfaces are type-checked together and cannot drift into parallel reimplementations.
- The desktop app is a single self-contained ~55.5 MB binary (winit + GPU Skia) with no bundled Chromium or Node runtime; the web build is ~8.2 MB wasm / 2.18 MB gzip.
- The built-in MCP server (op-mcp) needs no Node.js and works both over stdio from the desktop binary and over a live HTTP endpoint, with a layered design workflow and incremental codegen tools.
- Model capability profiles auto-adjust prompts and thinking mode per model tier, and the provider layer spans Anthropic, OpenAI, Google, DeepSeek plus Claude/Codex/OpenCode/Copilot CLI agents.
- The .op format is JSON, diffable in Git, and design variables export as CSS custom properties, backed by a Git panel with folder-mode three-way merge and a conflict panel.
- Distribution is broad: a Docker web-host image, embeddable read-only viewer SDKs, a VS Code extension and a Chrome web-capture extension.
- The product is under active development and the plugin system is still unchecked on the roadmap, so APIs and features can shift.
- AI features depend on external model vendors or a local CLI agent login; users supply their own API keys and must assess model spend and data egress.
- The web host supports built-in API-key agents only — CLI and ACP agents are native-only, and the Docker image bundles no Claude/Codex/OpenCode/Copilot CLI tooling.
- Building from source needs three vendor/ submodules, the pinned 1.94 toolchain and the wasm32 target, a heavier setup than a pure JS design tool.
- Portable Windows .zip and VSIX artifacts skip the serviced Visual C++ runtime install, so users must install Microsoft's latest redistributable manually, and new releases can trigger antivirus false positives.
- Cross-network collaboration relies on a public relay or regional hubs, and the README does not document a full self-hosted hub deployment.
How does this agent compare with similar options?
The README explicitly positions OpenPencil as 'a modern alternative to Pencil' and documents Figma .fig import. Against Pencil, its differentiators are open source, a native Rust single binary, a built-in MCP server and concurrent agent teams; against Figma, it centers collaboration on local .op JSON files and Git rather than a cloud SaaS account.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OpenPencil This agent | 68 · Some gaps | Desktop appFree + model costs | ★ 7.4k | 1d ago | Rust | Codex · Claude Code · OpenAI API · Claude API |
| UIZZE · Better UI for Coding Agents | 69 · Some gaps | Agent plugin / skillFreemium | ★ 136 | 24d ago | JavaScript | Codex · Claude Code |
| Generative Media Skills | 79 · Good | CLIFree + model costs | ★ 7.2k | today | Python | Claude Code · Claude.ai |
| UI Craft | 72 · Some gaps | CLIFree | ★ 476 | 4d ago | Go | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows token-authenticated local MCP endpoints, loopback/origin allowlists by default, sandboxed JavaScript, plugin disposer cleanup, credential-storage documentation, and opt-in server persistence. However, install scripts use curl | bash / irm | iex and brew trust, image generation explicitly proceeds without a separate per-call confirmation, tool-level permission scopes are not defined, and external AI/stock/collaboration calls lack per-action consent. Scores: least_privilege=2, user_confirmation=1, data_flow_transparency=2, sensitive_data_handling=2, dependency_security=2, external_effects=1, rollback=2, source_attribution=2.
README, CLAUDE.md, AGENTS.md, and SKILL.md are broadly consistent about the Rust architecture, commands, and retired TypeScript code. Install paths are numerous but dependencies are complex (submodules, Node 22+, Rust 1.94, platform packages), and the packet shows no lockfile or dependency-audit evidence. The CLI has error output and doctor/setup diagnostics, but no systematic error catalog. Scores: self_consistency=2, dependency_availability=2, failure_messages=2.
The product covers designers, developers, CLI, MCP, multiple hosts, and 15 languages with substantial scenario guidance. SKILL files explicitly exclude generic frontend implementation, require export only on request, treat an empty selection as not a whole-page edit, and stop when a target is deleted. However, the short “op” trigger may over-fire, and environment support is broad but uneven: the HSM signer is POSIX-only and Codex local HTTP iframes are restricted. Scores: audience_and_scenarios=3, capability_boundaries=3, trigger_precision=2, environment_fit=2.
Documentation hierarchy is clear, install notes are extensive, limitations are well documented, and the MIT license is explicit. Naming has constants and version-sync tooling but also a TypeScript retirement history; examples are plentiful but there is no FAQ; versioning and release workflows exist but no CHANGELOG is in the packet; maintenance responsibility is visible only through authors and CI, and publisher identity is unverified. Scores: information_architecture=3, install_notes=3, naming_stability=2, examples_and_faq=2, known_limitations=3, license=3, versioning_changelog=2, maintenance_responsibility=1.
Outputs are editable .op files, PNG previews, multi-framework code export, and verified saves, so usability is high. Differentiation comes from the AI-native canvas, Agent Teams, and MCP, but claims such as “world's first” are unsubstantiated and value depends on the workflow. Cost is only partially addressed: image-generation quota is mentioned, but there is no cost model, and Rust builds plus AI calls are non-trivial. Scores: output_usability=3, marginal_value=2, cost_benefit=1.
Some features are corroborated across README, CLAUDE.md, SKILL.md, Cargo.toml, and CI files. However, README mixes marketing claims with facts; “world's first” and “first to feature concurrent Agent Teams” have no source, test, or benchmark links, and the boundary between fact and inference is unclear. Scores: claim_traceability=1, cross_source_corroboration=2, fact_inference_separation=1.
- Install scripts use curl | bash / irm | iex and brew trust; verify scripts and signatures before running, especially in production.
- Image generation proceeds without a separate per-call confirmation and may consume quota; require explicit approval for paid or external actions.
- Browser credentials are stored in same-origin localStorage, and README warns about XSS. Enabling server-side persistence in shared deployments needs strict access control.
- Plugins/connectors require Node 22+ and platform packages; the local MCP endpoint is loopback by default but should still be origin-restricted and token-protected.
- Marketing claims such as “world's first” are not substantiated in the packet; this static review did not execute builds, tests, or live Agent runs.
- Publisher identity is unverified; the update path and maintenance responsibility should be independently confirmed.
FAQ
Is it free, and what will it cost me?
Where do my design files live, and are they uploaded?
Can I use it entirely from the terminal without the desktop app?
How do I host the web version on a company intranet?
What can I export to?
Does OpenPencil work on Windows?
scoop install openpencil.Is OpenPencil open source?
Is OpenPencil safe to use?
Is OpenPencil still maintained?
Who makes OpenPencil?
What is OpenPencil's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.