ZSeven-W/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.

What it solves

OpenPencil is an open-source, AI-native vector design tool that allows users to create user interfaces (UI) using natural language prompts. It bridges the gap between conceptual design and production-ready code by automating the layout and styling of vector graphics through AI agents.

How it works

The tool uses a multi-model intelligence system that adapts prompts based on the model's capabilities (e.g., Claude, GPT-4o, Gemini). It employs an orchestrator to break down complex page designs into smaller spatial sub-tasks, which are then handled by concurrent AI agent teams working in parallel. These agents generate designs on an infinite canvas in real-time. Additionally, it includes a built-in MCP (Model Context Protocol) server, allowing external AI agents (like Claude Code or GitHub Copilot) to read and modify design files directly from a terminal.

Who it’s for

It is designed for UI/UX designers, developers, and product managers who want to accelerate the design-to-code workflow using AI, as well as those who prefer a "design-as-code" approach where designs are stored as human-readable JSON files.

Highlights

  • Prompt-to-UI: Generate full page designs from text descriptions with real-time streaming animations.
  • Concurrent Agent Teams: Parallel generation of different page sections (e.g., hero, footer) by multiple agents.
  • Design-as-Code: Uses .op JSON files that are Git-friendly and diffable.
  • Multi-Platform Export: Export designs to React + Tailwind, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, and more.
  • MCP Server: Enables terminal-based design automation via MCP-compatible agents.
  • Cross-Platform: Built with a Rust core, available as a native desktop app (macOS, Windows, Linux) and a web app.

Related

  • Project
  • Project
  • Project
  • Project
  • Project