open-codesign README

The project's README from github.com/OpenCoworkAI/open-codesign. As one markdown file: README.md.

Open CoDesign

简体中文: README.zh-CN.md

Your prompts. Your model. Your laptop.

Turn prompts into polished artifacts — locally, openly, and with whichever model you already pay for.

Website · Quickstart · What's new · Changelog · Discussions · Docs · Contributing · Security

Open-source alternative to: Claude Design · v0 by Vercel · Lovable · Bolt.new · Figma AI

Open CoDesign — prompt on the left, live artifact on the right

GitHub release License CI Stars WeChat Group

Last commit Commit activity Contributors Downloads

claude-code · claude-design-alternative · v0-alternative · bolt-alternative · lovable-alternative · figma-alternative · ai-design · design-to-code · prompt-to-design · ai-prototyping · desktop-design-tool · byok · local-first · multi-model · electron


What's new

Full release history → · Changelog →


What it is

Turn a prompt into a polished prototype, slide deck, or marketing asset, locally, with the model you already use.

Open CoDesign is the open-source Claude Design alternative — built for people who want the speed of AI-native design tools without subscription lock-in, cloud-only workflows, or being forced onto a single provider. An MIT-licensed desktop app, local-first from day one, with BYOK for any model (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Ollama, or any OpenAI-compatible endpoint) plus direct ChatGPT Plus / Pro / Team subscription sign-in for Codex models. One-click import of existing Claude Code or Codex provider configs, or one-click ChatGPT sign-in, gets you running in under 90 seconds.


See it generate

The Examples gallery also includes three editable, asset-backed starting points: Daymark (Todo brief, task/project JSON, original logo and design tokens), Common Ground (workshop brief, schedule CSV and original artwork), and Trailhead (an original low-fidelity SVG sketch, annotated brief and trip data). Selecting a pack creates a fresh workspace and copies its reference files before filling the composer; inspect or edit them in Files, then send when ready. Nothing is submitted automatically and no existing workspace is overwritten. These fictional MIT-licensed packs contain inputs, not prebuilt final interfaces. Tags describe supplied references and requested prototype behavior, not verified generation results. Bookings and other data are simulated; the sketch includes text annotations for models without image input. Preflight receives a bounded, non-exhaustive list of existing workspace file paths and recognizes local DESIGN.md guidance. An absent App.jsx does not mean reference inputs are missing; the agent can inspect them before building. Local CSV references are included in the bounded agent text-file scan alongside Markdown, JSX, JSON, and SVG inputs. Preview and final verification resolve local assets relative to the source file inside the bound workspace. Missing assets and paths outside that workspace remain verification errors.

While a design is generating, Queue follow-up (Enter) adds a text request for when the agent would otherwise finish. Steer next step supplies it after the current assistant response and tool batch finish; it does not interrupt file writes, streaming tokens, permission decisions, or an unanswered agent question. The current run keeps its model, reasoning setting, and workspace. Queued requests are explicitly marked pending until the agent receives them. Stop, errors, or restarting the app leave undelivered requests recoverable, never automatically resent. Active-run messages are text-only: remove attached files, reference URLs, and queued comments before sending; those drafts are not silently included or discarded. Individual queue editing/removal is not supported. Delivery receipts use the existing local pi session JSONL, not a separate database. After sending, an empty composer stays compact; queue and steering actions appear only while composing another message. Delivery explanations are available on demand, not inserted into the draft. Long tool errors show a short reason with expandable, scrollable original diagnostics.

From a blank prompt to a finished artifact, the agent plans, writes, self-checks, and ships something with hover states, tabs, and empty states already wired up:

Generate a design from scratch


Why people star it


Why Open CoDesign?

Open source, desktop-native, and built for people who do not want their design workflow locked to one model or one cloud.

Open CoDesign Claude Design v0 by Vercel Lovable
Open source ✅ MIT ❌ Closed ❌ Closed ❌ Closed
Desktop native ✅ Electron ❌ Web only ❌ Web only ❌ Web only
Bring your own key ✅ Any provider ❌ Anthropic only ❌ Vercel only ⚠️ Limited
Local / offline ✅ Fully local app ❌ Cloud ❌ Cloud ❌ Cloud
Models ✅ 20+ (Claude, GPT, Gemini, Ollama…) Claude only GPT-4o Multi-LLM
Version history ✅ Local sessions + workspace files ❌ ❌ ❌
Data privacy ✅ On-device app state ❌ Cloud-processed ❌ Cloud ❌ Cloud
Editable export ✅ HTML, PDF, PPTX, ZIP, Markdown ⚠️ Limited ⚠️ Limited ⚠️ Limited
Price ✅ Free app, provider/subscription cost only 💳 Subscription 💳 Subscription 💳 Subscription

Highlights

Click any element, leave a pin, let the model rewrite that region

Comment, don’t retype.
Click any element, drop a pin, and let the model rewrite only that region.

AI-emitted tweaks panel with color pickers and RGB inputs

AI-tuned sliders.
The model surfaces the parameters worth tweaking, so you can refine color, spacing, and typography without another full prompt.

Your Designs hub, filled with real generated artifacts

Every iteration, kept.
Designs are saved locally, with instant switching between recent versions.

Live agent panel showing todos and streaming tool calls

Watch the agent work.
Todos, tool calls, and live progress stay visible and interruptible throughout generation.


Quickstart

Time to first artifact: about 3 minutes

Requires: one API key, ChatGPT subscription sign-in, or local Ollama

Runs on: macOS 12+ (Monterey or later, Apple Silicon), Windows 10+, Linux (glibc ≥ 2.31)

1. Install

Package manager (recommended):

# macOS
brew install --cask opencoworkai/tap/open-codesign

# Windows — Scoop
scoop bucket add opencoworkai https://github.com/OpenCoworkAI/scoop-bucket
scoop install opencoworkai/open-codesign

Or direct download from the v0.2.0 GitHub Release:

Platform File
macOS (Apple Silicon) open-codesign-*-arm64.dmg
Windows (x64) open-codesign-*-x64-setup.exe
Windows (ARM64) open-codesign-*-arm64-setup.exe
Linux (x64, AppImage) open-codesign-*-x64.AppImage
Linux (x64, Debian/Ubuntu) open-codesign-*-x64.deb
Linux (x64, Fedora/RHEL) open-codesign-*-x64.rpm

Each release ships with SHA256SUMS.txt and a CycloneDX SBOM (*-sbom.cdx.json) so you can verify what you downloaded.

More package managers
Manager Command Status
Homebrew Cask (macOS) brew install --cask opencoworkai/tap/open-codesign 🟢 Live
Scoop (Windows) scoop bucket add opencoworkai https://github.com/OpenCoworkAI/scoop-bucket && scoop install opencoworkai/open-codesign 🟢 Live
winget (Windows) winget install OpenCoworkAI.OpenCoDesign 🟡 PR submitted; waiting for Microsoft review
Flathub (Linux) flatpak install flathub ai.opencowork.codesign ⏸ Deferred; needs signed build + AppStream metadata
Snap (Linux) snap install --dangerous open-codesign-*.snap 🟡 Attached to releases best-effort; Snap Store publish not yet wired

After each stable tag push, CI syncs SHAs back into packaging/ and publishes downstream Homebrew updates when HOMEBREW_TAP_TOKEN is configured. Automated winget and scoop CI submission jobs were removed from release.yml; their manifests in packaging/ are still synced by packaging/update-shas.sh for manual submission. Every packaging/*/README.md documents its own channel.

Unsigned installer note: installers are not notarized or Authenticode-signed yet. On macOS Sequoia 15+ right-click → Open no longer bypasses Gatekeeper, and "Open Anyway" in System Settings often fails. Reliable one-liner:

xattr -cr "/Applications/Open CoDesign.app"

Then double-click normally. (Older 0.1.x builds are installed as /Applications/open-codesign.app.) On Windows: SmartScreen → More info → Run anyway.

Want a verified build? Compile from source — see CONTRIBUTING.md.

2. Add a provider

On first launch, Open CoDesign opens the Settings page. Pick the path that matches how you already use models:

For a custom endpoint that accepts requests without an API key, select No API key required in the custom-provider form. Choose the endpoint's wire protocol (including OpenAI Responses when appropriate), enter its base URL and default model, and leave the key empty. Local/private endpoint testing still requires the separate network confirmation. Automatic model discovery never sends API keys; for authenticated endpoints, enter a key and click Test connection. Switching an existing provider to keyless removes its stored key on save; switching back requires a stored or newly entered key.

JSX previews and standalone exports use system-ui by default without downloading fonts. The runtime loads a supported Google Fonts family (Fraunces, DM Serif Display, DM Sans, or JetBrains Mono) only when the artifact explicitly references it. Use local/system fonts for offline-only designs; explicit remote font choices still require network access.

Credentials stay in ~/.config/open-codesign/config.toml and the ChatGPT OAuth token store under the app config directory. Nothing leaves your machine unless your chosen model route requires it.

Linux secure-storage selection

On desktops Electron does not recognize, an installed Secret Service or KWallet can still be missed and Electron may select its insecure basic_text backend. Open CoDesign refuses to save new API keys with that backend.

To persist your installed secure backend, create linux-password-store.json in the app config folder (normally ${XDG_CONFIG_HOME:-$HOME/.config}/open-codesign, or the custom config folder shown in Settings → Storage):

{"schemaVersion": 1, "passwordStore": "gnome-libsecret"}

Choose gnome-libsecret, kwallet, kwallet5, or kwallet6 to match your installed and running secret service, then fully quit and restart the app. The preference is applied before Electron selects its key provider. An explicit --password-store launch flag takes precedence; remove the file to restore Electron's desktop-based selection. Changing providers may require re-entering keys encrypted with the previous provider. The preference does not install or unlock a secret service and never enables a plaintext fallback.

See Electron's safeStorage backend documentation for the supported backends.

3. Type your first prompt

Pick one of fifteen built-in demos — landing page, dashboard, pitch slide, pricing, mobile app, chat UI, event calendar, blog article, receipt/invoice, portfolio, settings panel, and more — or describe your own. A sandboxed prototype appears in seconds.

For app requests, the agent is guided to build a bounded, connected local prototype, not a collection of isolated screens: a core journey, working navigation and back paths, shared records, and relevant validation, empty, and success states. For example: “Build Daymark, a polished mobile Todo app for planning a day.” Adding, editing, completing, and filtering tasks should update related views and counts together. Explicit single-screen requests, decks, documents, and narrow revisions keep their original scope.

Substantial fresh apps use a few runnable milestones: an early coherent frame with visual tokens and realistic initial content, connected journeys and shared-state actions, then integrated craft and responsive refinement. The agent edits complete, readable source at each checkpoint rather than holding back one giant file or showing generation placeholders. An early frame preview is progress, not completion; the final requested journeys still need to be implemented and checked. This is workflow guidance, not a guaranteed generation-speed improvement.

When useful or requested, tweak controls focus on consequential choices such as brand, density, type scale, and implemented layout variants, rather than every pixel. Defaults should match the source, choices should affect the relevant screens, and later agent edits should preserve your selections. Checking a source variant in preview does not verify the separate host tweak panel or guarantee automatic updates to unbound files.

These are interactive prototypes, not production services. Data and service actions are simulated; backend setup, real authentication, and payments are not implied. State is in memory by default and may reset on reload. The agent previews the result and, when supported by the preview tool, exercises a bounded journey at the target viewport, repairs concrete failures, and distinguishes runtime checks from interactions actually tested.


Bring your stack

Already using Claude Code or Codex? API-key provider configs import in one click, with no copy-paste and no need to re-enter settings. If you use Codex through ChatGPT subscription login, sign in directly from Settings:

Import from Claude Code or Codex in one click


Built-in taste

Build first, clarify blockers. Capability routing does not open a pre-generation questionnaire. The agent chooses reversible visual and layout details, notes material assumptions, and delivers a preview before optional refinement. It can still ask a compact batch for genuinely missing required facts or references, an output constraint that cannot be inferred, or your explicit request for a brief interview. Concept drafts may label nonessential event details as pending; official dates, sponsors, and legal claims must not be invented. Permission prompts remain separate and are not automatically approved.

Answered ask results already stored in the current design's session are reused as labelled data within the existing history budget, without displacing selected conversation or the design brief. Cancelled, empty, malformed, unmatched, or count-only results are not treated as answers or consent. Oversized answer groups are omitted intact rather than misleadingly truncated; facts that older preflight events never stored cannot be reconstructed.

Open CoDesign combines shared design guidance with on-demand method skills for composition, app navigation, mobile layouts, accessibility, charts, decks, and design-system handoff. Visual direction comes from the brief and references, not a fixed font or palette blacklist. Existing designs keep their language unless a redesign is requested.

The core prompt defines scope, workspace/runtime boundaries, and completion evidence. Selected skills provide focused techniques and examples, including source-backed tweak declarations and a DESIGN.md example checked against the app's validator. Resource indexes are available up front; full method bodies load only when requested by the agent.

DESIGN.md component extensions with string values (such as minHeight or borderRadius) are preserved with non-blocking warnings, following the pinned Google DESIGN.md consumer rules. Completion reports these metadata warnings separately; malformed token types and runtime failures still block completion. This targeted compatibility rule does not imply full conformance with every evolving upstream feature.

This approach synthesizes OpenAI's current prompting guidance, Claude prompting best practices, and skill-authoring guidance, reviewed on September 17, 2026. The dated official frontend-design reference informed an original rewrite; no external skill text is bundled. These are shared product rules, not assumptions that a private gateway model ID has a vendor's documented capabilities.

Contract tests check loaded instructions, supported source examples, preference consistency, and size limits. They do not establish faster generation, visual quality, or working journeys in every model output; those require separate rendered evaluation. Existing profiles load their local template copies, so rebuilding the app alone does not replace older or customized method text. Template upgrades must preserve user-owned content.


What you get

Models and providers

Generation and editing

Preview and workflow

Export and packaging


Roadmap

Current release: v0.2.0. The current release theme is Agentic Design.

Now — v0.2.0 shipped

v0.2 turns Open CoDesign from a one-shot generator into a local design agent with a real workspace:

Previous — v0.1.4

Later — v0.2.x and beyond

Have a different priority in mind? Open an issue or 👍 an existing one — we do read them.


Star History

Star History Chart


Built on

Reporting issues

Found a bug or have a feature request?

  1. Search existing issues first.
  2. Generate a diagnostics bundle — Settings → Storage → Export diagnostics (API keys and prompts are redacted automatically).
  3. Open a new issue using our bug report or feature request template.
  4. For security vulnerabilities, see SECURITY.md.

More from OpenCoworkAI

If you like Open CoDesign, you may also want to check out our earlier project, Open Cowork, an open-source AI agent desktop app for Windows and macOS with one-click install, multi-model support, sandbox isolation, and built-in skills.

Community

Open CoDesign first launched on the LINUX DO community — thanks to everyone there for the early feedback and discussion.

WeChat group

For Chinese-speaking users, we also keep a WeChat group for product updates, usage questions, and community discussion.

Open CoDesign WeChat group QR code

⚠️ The WeChat QR code rotates every 7 days and is currently valid until May 16. If the code has expired, please leave a message in GitHub Issues and we will refresh the image in-repo.

See also the Chinese README: README.zh-CN.md#社群.

Contributing

For automation without the desktop window, the Agent-native CLI provides diagnostics, workspace inspection and HTML export. Start with pnpm --silent cli --help from a source checkout.

To verify Open CoDesign's own interface in an isolated offscreen Electron instance, use debug ui. It captures screenshots, runs page interactions, collects errors, and checks Windows window/focus/input observations. Use debug session for a continuous agent screenshot/decision/action loop in the same isolated instance, with JSONL requests and automatic cleanup on close or timeout.

Read CONTRIBUTING.md. Open an issue before writing code and run pnpm lint && pnpm typecheck && pnpm test before a PR. Desktop tests use at most two workers on Windows so concurrent Chromium and filesystem integration suites do not exhaust the host during workspace-wide checks.

License

MIT — fork it, ship it, sell it. Third-party notices remain in NOTICE.

Cite this project

If you reference Open CoDesign in a paper, article, or product comparison, please cite the repository as:

@misc{open_codesign_github,
  author       = {OpenCoworkAI Contributors},
  title        = {Open CoDesign: An Open-Source Desktop AI Design Tool},
  year         = {2026},
  howpublished = {\url{https://github.com/OpenCoworkAI/open-codesign}},
  note         = {GitHub repository}
}

Or the machine-readable CITATION.cff at the repo root.

open-codesign (OpenCoworkAI/open-codesign)

Searching Database…

What is this?An open-source, MIT-licensed desktop app that turns prompts into polished prototypes, slide decks, and marketing assets — positioned as an alternative to Claude Design, v0, Lovable, and Figma AI.
Is this a web service, or something I install on my own machine?A native desktop app built on Electron — fully local, with app state kept on-device. It runs on macOS 12+, Windows 10+, and Linux (glibc 2.31+).
How do I get it running?Install via Homebrew (brew install --cask opencoworkai/tap/open-codesign), Scoop, or a DMG/EXE/AppImage from GitHub Releases, then add a provider in Settings and type a prompt — first artifact in about 3 minutes.
Do I need to pay for a specific AI provider, or can I use what I already have?Bring any key — Anthropic, OpenAI, Gemini, OpenRouter, SiliconFlow, DeepSeek, or any OpenAI-compatible endpoint. A ChatGPT subscription sign-in works for Codex models, local Ollama needs no key at all, and existing Claude Code / Codex configs import in one click.
Are there any install gotchas before it will launch?Installers are not signed or notarized yet: on macOS 15+ you need a Gatekeeper workaround (the README gives a one-liner), and on Windows you click through SmartScreen. The winget package is still awaiting Microsoft review; Flathub is deferred.
Does anything I type or create leave my laptop?Not unless your model route requires it. App state stays on-device, and credentials live in ~/.config/open-codesign/config.toml plus the app's ChatGPT OAuth token store.
What does the agent do while it generates?It plans, writes code, and self-checks, with todos and tool calls streaming in a panel you can interrupt at any point. In v0.2.0 each design is a session with JSONL history and a workspace folder, running permissioned local tools (read, write, edit, bash, grep, find, ls) behind a permission UI.
What can I generate from a blank prompt?Fifteen built-in demos cover landing pages, dashboards, pitch slides, pricing pages, mobile apps, chat UIs, event calendars, blog articles, receipts/invoices, portfolios, settings panels, and more — each renders as a sandboxed prototype in seconds.
How does it avoid generic AI-looking output?Twelve built-in skill modules (slide decks, dashboards, landing pages, SVG charts, glassmorphism, editorial typography, heroes, pricing, footers, chat UIs, data tables, calendars) plus a taste layer steer typography, whitespace, and color. You can add your own SKILL.md to teach it your taste.
Why pick it over Claude Design or v0?It is open source, desktop-native, and not locked to one provider or the cloud: you choose among 20+ models, keep sessions and version history locally, and export fully editable files. The commercial tools in its comparison table are closed, web-only, and subscription-priced.
Size
67 MB
Stars
8.2K
Age
7mo
Commits · 90 Days