OpenCode OpenDesign

Design With
OpenCode in
OpenDesign.

How to design interfaces with OpenCode in OpenDesign: design.md bound before anything is generated, the provider you choose, one shared-inbox task from brief to reviewed file, and the limits to know before you start.

From brief to interface01 / OpenCode
YOU BRING THE IDEA

“A shared inbox built on
design.md, not on defaults.”

Illustrative interface · not a captured product session
On This Page Example
  1. Example
  2. Fit
  3. Compatibility
  4. Setup
  5. Workflow
  6. Resources
  7. Limitations
  8. FAQ

One Complete OpenCode Design Task

A OpenCode Design Task, From Brief to Interface

A single task, shown end to end: the brief and constraints you hand over, the artifact that comes back, and the checks you still run before it is done. The interface below is an illustrative example built for this page, not a recorded OpenCode run.

1Design Brief and Constraints

Brief

Design a shared team inbox: conversation list with owners, a thread view and a right rail with customer context. Bind the design.md system before generating. Desktop and phone.

  • Design systemdesign.md tokens; Albert Sans, one green accent
  • Breakpoints1440px desktop and 390px mobile, no horizontal scroll
  • InteractionsOwner filter, thread switch, context rail toggle, reply
  • OutputOne self-contained HTML file with stable data-od-id hooks

2Division of Work: You, OpenCode and OpenDesign

  • You

    Write the brief, select the design system and define the acceptance criteria.

  • OpenCode

    Plans the layout, writes the HTML, CSS and JavaScript and revises it on request.

  • OpenDesign

    Provides the design system and skill, renders the preview and stores every version as a file in the project.

  • Review

    Visual hierarchy, spacing on the 8px grid, both breakpoints and every interaction are checked before handoff.

3OpenCode Artifact: The Team Inbox at 1440px and 390px

OpenCode Artifact: The Team Inbox at 1440px and 390px — Desktop
Illustrative example

4Review Before Handoff

Layout

Grid and Spacing

Three panes on the 8px grid; the context rail collapses before the thread does.

Hierarchy

Visual Hierarchy

Owner and subject first; the accent marks “waiting on us” only.

Responsive

Mobile Layout

List, then thread on tap; the context rail becomes a sheet.

Interaction

Interaction Checks

Filter by owner, open a thread, toggle the rail, send a reply.

Fit

When OpenCode Fits the Task, and When It Does Not

OpenCode Fits When

  • design.md systems. Drop a brand DESIGN.md (Stripe/Linear/Airbnb-style rules) into the project so OpenCode generates a matching UI.
  • UI/UX skills. Design-intelligence skills add dozens of UI styles and palettes, generating a design system before coding.
  • Figma & visual canvas MCP. Connect Figma or a visual canvas via MCP for a design-to-code loop.
  • Model taste. Because OpenCode is BYOK, you pick the model that designs best for your taste and budget.

Choose Another Workflow When

  • You need editable vector files. The artifact is HTML, not an editable design document. Check a separate vector workflow for your required asset format.
  • You have no reference and no constraints. Without a design system or examples the output tends toward a generic look; write the brief first.
  • You do not have the credential this agent needs. Required: Provider keys via OpenCode config (bring your own key). OpenDesign does not provide or proxy credentials.
  • Your team works in Claude Code or Aider. Those agents have their own pages; the workspace is the same, the setup differs. See related agents.

Compatibility

OpenCode Requirements Before You Start

This guide covers OpenCode as connected through the OpenDesign desktop app. Published references checked on 6 September 2026.

Tool ScopeOpenCode, by Anomaly

OpenCode is an open-source (MIT) terminal AI coding agent — a TUI plus desktop and IDE surfaces — maintained by Anomaly (the SST team) at github.com/anomalyco/opencode. This page is about designing interfaces with OpenCode through OpenDesign, not about OpenCode’s own interface. OpenDesign’s setup notes list the available agents.

Accounts and AuthenticationProvider keys via OpenCode config (BYOK)

Provider keys via OpenCode config (BYOK). OpenCode uses your provider keys via its own config (BYOK) — nothing is proxied. This page does not promise a quota or price.

System and VersionsDesktop app or source

Check the download page for desktop builds. The Node.js and pnpm requirements in the source quickstart apply to running from source, not to installing a desktop package. Minimum compatible OpenCode version: not verified here.

Connection CheckThe success signal

Follow the connection instructions shown by your installed version, then run a small task. Confirm that OpenCode handled it and that the artifact opens. A download alone does not establish a working connection.

Start with the desktop app

OpenCode Setup in Three Steps

Download first, complete the OpenCode setup for your installed version, then check a small result. You do not need to build OpenDesign from source to follow this path.

  1. 1

    Download the OpenDesign Desktop App

    Choose the package for your computer, install it and open the app.

    Download OpenDesign
    CHECKPOINT
    The desktop app opens. Already installed? Move to the next step; there is no need to download again.
  2. 2

    Prepare Your OpenCode Connection

    Follow the OpenCode instructions in your installed version. OpenCode uses your provider keys via its own config (BYOK) — nothing is proxied.

    # 1. Install OpenCode
    curl -fsSL https://opencode.ai/install | bash
    # or: npm i -g opencode-ai@latest
    # or: brew install sst/tap/opencode
    
    # 2. Start the TUI in your project, then authenticate your provider
    opencode          # then run /login and pick your provider + paste your key

    From the OpenCode setup notes in the published guide; check the vendor documentation for the current command.

    CHECKPOINT
    Confirm the intended agent and account. If it is unavailable, check compatibility before trying a larger task.
  3. 3

    Run One Small OpenCode Task

    Use a small brief so you can judge the whole loop, including one revision.

    Starter brief

    Build a settings screen with a profile form and a save confirmation. Use my design rules. Check it at desktop and mobile widths.

    CHECKPOINT
    Open the result, test the save state and request one specific change. A generated file is the beginning of review, not the end.

To run OpenDesign from source, follow the technical quickstart instead.

The OpenCode design workflow

The OpenCode Design Workflow in Five Steps

The same team inbox task, followed from brief to verified file. Each step lists what you provide, what OpenCode does, what OpenDesign contributes and what you check.

  1. 1

    Design Brief

    Plain language, three to six lines. Name the audience, the job of the screen and the platforms.

    • YouWrite the brief; attach a reference screenshot if you have one.
    • OpenCodeReads the brief and the project’s instruction file; asks when something is ambiguous.
    • OpenDesignProvides the project, the prompt surface and the skill for the artifact type.
    • CheckConfirm the brief states the acceptance criteria. Adding them now is cheaper than after generation.
  2. 2

    Design Constraints

    A design system and a few hard rules. This is what separates on-brand output from a generic look.

    • YouPick a design system; state breakpoints and any must-use components.
    • OpenCodeLoads the DESIGN.md tokens and posture rules into context before writing a line.
    • OpenDesignShips the design-system library and binds the chosen one into the skill template.
    • CheckThe tokens match your brand. One accent, the right fonts, the right radius.
  3. 3

    Generate the Interface

    OpenCode writes a self-contained HTML file: layout, styles, interactions and stable hooks.

    • YouWait, or answer a clarifying question. Nothing to configure.
    • OpenCodePlans the sections, writes the HTML, CSS and JavaScript, runs the file and fixes what fails.
    • OpenDesignSaves the artifact into the project folder and indexes it for preview.
    • CheckNothing yet. Judge the file after it is rendered, not from the source.
  4. 4

    Preview

    The file renders inside OpenDesign at the widths you asked for. This is where the design is judged.

    • YouSwitch widths, click through the interactions, leave comments on elements.
    • OpenCodeReads your comments on the preview and prepares the next revision.
    • OpenDesignRenders the preview, exposes data-od-id targets for comments and edits.
    • CheckHierarchy, contrast, overflow at 390px, focus states, and whether the accent is used sparingly.
  5. 5

    Revise and Verify

    Request changes by pointing at elements in the preview. Every revision is a new file; nothing is overwritten silently.

    • YouTurn comments into requests; decide when the task is done.
    • OpenCodeApplies the changes in place and re-runs the file.
    • OpenDesignKeeps versions side by side; exports an image or the HTML when you are done.
    • CheckRe-check only the area that changed, then the whole page once at each breakpoint.

Resources

OpenCode Design Resources

Limitations

OpenCode Limitations, Manual Checks and Fallbacks

  • ScopeIt is a coding agent, not a dedicated design tool. Design happens by adding skills, DESIGN.md system files, and Figma/visual-canvas MCPs to control its visual output. This page covers OpenCode as an agent connected to OpenDesign, not every OpenCode feature.
  • Usage LimitsUsage limits and cost follow the credential you use (Provider keys via OpenCode config). This page makes no claim about free quotas.
  • NetworkLocal project files do not mean offline inference. Review your agent’s provider settings and data policies before sharing sensitive inputs.
  • Output Is HTMLArtifacts are HTML files, not vector design files.
  • Manual ReviewAccessibility, real content, brand fit and interaction correctness are reviewed by you in the preview. Treat any self-check by the agent as a first pass.
  • FallbackIf the agent is unavailable or a task fails, check the installed version’s connection instructions and authentication. Preserve the error and the last working artifact before changing configuration.

FAQ

Common Questions About OpenCode and OpenDesign

Can OpenCode Really Do Design Work?
Yes — with an aesthetic skill, a design system, and real reference images in context, OpenCode produces production-quality, responsive UI and can verify it in a browser. Because it is model-agnostic, you run whichever model is currently best at frontend. Without that curated context it tends to default to a generic look, which is the gap OpenDesign fills.
Which Model Should I Use With OpenCode for Design?
Whichever you like — OpenCode is provider-agnostic via models.dev, so you can run Anthropic, OpenAI, Google, OpenRouter, or local models behind the same workflow and switch at any time. The quality of the design output depends far more on your skill, design system, and references than on the model alone.
Is OpenDesign Made by the OpenCode (SST) Team?
No. OpenDesign is an independent open-source project that integrates OpenCode as an agent. It complements OpenCode with a local-first, open skill and design-system library.
Do I Need a Special Subscription to Design With OpenCode?
No — OpenCode is BYOK. You bring your own model-provider API key, and OpenDesign never proxies your credentials. There is no vendor lock-in.
OpenCode or Codex or Claude Code for Frontend Design?
All are strong, and many teams stack them. OpenCode’s edge is being fully open-source and model-agnostic; Codex excels at delegated, sandboxed builds; Claude Code is known for specific, codebase-aware design decisions. OpenDesign lets you switch agents without changing your design workflow.

Start a First Design Task With OpenCode

Start with a small task, judge the round trip, then bring the real brief. Choose the option that matches your setup; the page does not detect it.

Where are you in the setup?
Download OpenDesign See the setup checklist

OpenDesign Desktop

One design system. Every output unmistakably your brand

Inside the full Vibe Design Workspace, use the same brand rules across websites, slide decks, interactive prototypes, dashboards, images, and HTML video. Connect Codex, Claude Code, Cursor, and other coding agents already on your computer, then create locally for free.

  • Web, slides, prototypes, dashboards, images, and video
  • 140+ design systems, plus the full template and skill library
  • Connect local Codex and 21+ coding agents · Free to use
Download free

Available for macOS and Windows