Developer Preview v0.0.41 · Tauri 2 + React · LGPL-3.0 Open Source

Open-Source, Local-First AI UI Design
Workbench with Agent MCP

Turn product requirements, reference images, and existing HTML into editable, high-fidelity UI screens. Your projects stay in local .aidesign folders—backed by design token whitelists, desktop Agent MCP for coding agents, and HTML/PNG export.

Developer Preview · Open Source Currently focused on static high-fidelity UI design and handoff (clickable business prototypes, live form submissions, and backend state machines are out of scope). Bring your own API key or run locally with Ollama.
✓Local .aidesign project folders
✓Isolated iframe screen sandbox
✓HTML import & style extraction
✓HTML/PNG export & desktop Agent MCP
Desktop macOS Windows Linux
Providers OpenAI Compatible Anthropic Gemini DeepSeek Aliyun Bailian Ollama (Offline)
Agent MCP Cursor Claude Code Codex stdio Proxy
workspace - taudesign.aidesign PC Profile 1440px
TauDesign desktop workbench: AI chat and design brief on the left, infinite canvas in the center, property inspector and design system on the right
TauDesign desktop workspace: AI chat, infinite canvas, and property inspector (interface evolves with active Developer Preview updates).
Screen_01 (High-Fidelity Candidate) data-nid: #n8a2f1c9
9:41 Project Dashboard ••• ⊙
DEV PREVIEW · FREE

Team Workspace & Project Dashboard

TauDesign strictly follows device single-column layout and safe-area guidelines, rendering modules into responsive cards.

99.8%
Token Class Compliance
0 Leaks
Assets Kept 100% Local
< 1.2s
Render Verification Time

Four-Step Controllable Design Workflow

Built for product managers, UI/UX designers, and engineers—turning unpredictable prompt roulette into a reviewable, editable, and traceable design process.

STEP 01

Multi-Source Input

Start from text prompts, uploaded product docs (with AI summaries), reference screenshots (vision models), or bring in existing web pages via File → Import HTML.

Supports 2–6 section long pages & multi-page plans
STEP 02

Visual Canvas & Safe Edits

Arrange screens on an infinite canvas with minimap and first-screen guides. Click any element to adjust spacing, alignment, or inline copy without wiping nested icons.

Persistent cross-session Undo / Redo stack
STEP 03

Side-by-Side & Audits

Compare AI proposals next to the original screen before applying. Automated diagnostics check clipping, overlap, contrast, and horizontal text squeeze with guided fixes.

Frozen rule snapshots & per-request provenance
STEP 04

Handoff-Ready Export & MCP

Export self-contained HTML (optional Manifest sidecar) or 1x / 2x / 3x PNGs via native offscreen rendering—or let Cursor, Claude Code, and Codex read screens & tokens via desktop Agent MCP.

Reusable Design Libraries & local MCP bridge

Engineered for True High-Fidelity UI Delivery

Beyond traditional canvas sketch tools and loose chat-based code generators, TauDesign provides a complete, deterministic engineering loop.

Infinite Canvas & Screen Sandbox

10%~400% smooth pan & zoom, minimap overview, and first-screen guidelines. Every screen runs in an isolated iframe srcdoc with full CSS encapsulation and dynamic LOD tiers.

10%~400% Smooth Zoom Dynamic LOD Degradation First-Screen Guidelines

Design Brief First Workflow

Never let AI code blindly. TauDesign structures user goals, essential information, actionable controls, and screen states into a Design Brief before rendering visual code.

Design Brief First Frozen Rule Snapshot Deterministic Zero-Model Edits

Token Whitelist & Design Libraries

No arbitrary Tailwind sprawl or hardcoded hex literals. Every element adheres to class names compiled from base.css, with 4 presets, style extraction, and reusable Design Libraries.

4 Industrial Themes Extract Style from Page HTML Import Token Map

Surgical & Safe DOM Editing

Direct textNode traversal safely updates copy without wiping out nested icons or children. Automatic box-model unit purification (enforcing px) and cascading sub-tree cleanup.

textNode Safe Mutation Box-Model px Sanitation Persistent Undo/Redo Stacks

Side-by-Side Candidates & Audits

Review AI candidates side-by-side with original screens before adoption. Automated diagnostics detect horizontal squeeze, truncation, and accessibility contrast issues before export.

Side-by-Side Candidates Layout Squeeze Repair Strict XHTML & 3x PNG Export

Local-First & Multi-Provider Privacy

Your designs stay in local .aidesign directories with atomic writes. All streaming AI traffic routes through native Rust IPC to eliminate CORS across OpenAI, Anthropic, Gemini, DeepSeek, and Ollama.

Atomic Disk Writes Tauri Rust Proxy Monthly JSONL Shards

Connect Coding Agents to Your Local Projects

The TauDesign desktop app pairs a localhost MCP gateway (127.0.0.1, auto-bound ports 41737–41747) with a bundled NDJSON stdio discovery proxy (taudesign-mcp-proxy). Configure your host once—the proxy reads {appData}/taudesign/mcp-gateway.json to follow port changes and automatically re-initializes sessions across app restarts with no Bearer required on loopback. Browser-only pnpm dev does not run MCP.

Explicit projectId & Live-First Reads

One-Way Read

Agents target registered workspace projects by explicit projectId (or the active canvas project if open) and read live memory first, falling back to local .aidesign disk files—never guessing recent folders or scanning arbitrary paths.

Create, Upsert & Live Canvas Feedback

History [mcp]

MCP and Allow writes are ON by default (switch to read-only anytime in Settings → MCP). Agents can build from scratch via native Rust create_project (falling back to Settings → General → Default project path when omitted) → upsert_screen (controlled full HTML with automatic data-nid injection & soft lint), then polish with set_text_by_nid, set_override, and apply_token_patch—every change commits to History ([mcp]) for Undo. Live writes show a header activity badge, non-blocking canvas loading strip, frame MCP badge, automatic panToScreen focus, and toast; headless writes save silently to disk without moving your viewport.

Loopback Guardrails & Zero Key Leakage

127.0.0.1 Only

Strict 127.0.0.1 loopback + Origin guard (no Bearer needed on loopback; non-loopback rejected), immutable deviceProfile (pc/mobile), no whole-HTML regex rewrites or frame Tailwind sprawl, and zero AI Provider API keys exposed over MCP.

MCP Tools & Resources

9 Tools · MCP 2025-03-26
ping Gateway health, writeEnabled & active project Read
list_projects Registered local workspace projects (empty OK) Read
get_project_overview Screens, token stub & live selection Read
get_screen Full screen HTML with stable data-nid Read
create_project Native folder project (name, deviceProfile; uses Default project path if omitted) Write · Undo
upsert_screen Create/replace screen HTML (nid inject + soft lint) Write · Undo
set_text_by_nid Safe direct copy update by nid Write · Undo
set_override L4 style overrides with px & token lint Write · Undo
apply_token_patch Token merge (rejects deviceProfile) Write · Undo
Resources: taudesign://projects taudesign://project/{id}/tokens taudesign://contracts taudesign://project/{id}/selection
stdio · taudesign-mcp-proxy Writes ON · Toggleable
Cursor (~/.cursor/mcp.json · stdio, configure once)
{
  "mcpServers": {
    "taudesign": {
      "command": "/Applications/TauDesign.app/Contents/MacOS/taudesign-mcp-proxy",
      "args": []
    }
  }
}
In-App One-Click Setup (Recommended): Open Settings → MCP (also reachable from the project list via Settings / TauDesign → Settings…) and click Copy Cursor config or Copy setup pack for a one-time absolute path setup (NDJSON stdout, survives restarts and port changes). Configure your default folder for new projects and create_project under Settings → General → Default project path (e.g. Documents/TauDesign), or use card ⋯ → Copy for Agent to embed projectId. From source, build with cargo build --manifest-path src-tauri/Cargo.toml --bin taudesign-mcp-proxy.

Experience the Deterministic AI Pipeline

Click different prompt scenarios to watch how TauDesign coordinates reasoning streams, design briefs, and automated quality audits.

✦ Select a Design Intent
Pipeline Execution Inspector Stage: Verification Passed · Candidate Ready
◆ AI Design Brief
User Goal
Create high-converting mobile team workspace & project dashboard
Required Info
Project overview, 3 key milestones, member feed, task metrics
Action Items
Toggle time range, sticky 'Create Task' CTA, expand milestone details
Device Rule
Mobile 390px, single-column stream, hover disabled, 44px safe-area bottom padding
◇ Reasoning Content (<think>)
Planning layout hierarchy:
1. Top project card with status indicator
2. Milestone cards: highlight on-track delivery badges
3. Member roster: micro-textured cards with avatar icons
4. Verifying tokens: binding primary.500 (#2563eb) and surface vars, 0 unknown classes.
5. Injected WeChat/iOS status bar for native preview immersion.
✓ 0 Unknown Classes ✓ 0 Literal Hex Colors ✓ Safe-Area Bottom Docking ✓ 100% Render Audit Passed

Engineered with Non-Negotiable Invariants

TauDesign enforces strict architectural invariants to prevent sandbox leaks, CORS failures, and state drift.

INVARIANT D1

Rust IPC Streaming Proxy

Desktop webviews enforce strict CORS. TauDesign routes all AI streaming calls via Tauri Rust native reqwest, eliminating CORS blocks across Aliyun, SiliconFlow, and local endpoints.

INVARIANT D2

Isolated iframe srcdoc Sandbox

Screens are never directly injected into the host DOM. Each frame renders inside an isolated iframe with hot-injected style override layers, ensuring complete CSS and event encapsulation.

INVARIANT D8

Immutable Device Profile

Locked to PC (1440px) or Mobile (390px) at project creation. The AI prompt enforces single-column layouts, disables hover, and docks sticky buttons on mobile to avoid layout drift.

INVARIANT D7/D9

Atomic Local File System

All project data is stored in local .aidesign directories using temporary files with atomic rename to prevent corruption. Chat conversations persist as monthly append-only JSONL shards.

INVARIANT D36

Localhost Agent MCP Gateway

One-way Code Agent → TauDesign bridge via bundled NDJSON stdio sidecar (taudesign-mcp-proxy) reading mcp-gateway.json with auto-reconnect across restarts to forward to the loopback Axum gateway (127.0.0.1:41737–41747, no Bearer needed on loopback), with registry mirror, native Rust create_project (using Default project path), live-first/headless disk sessions, non-blocking live canvas feedback (panToScreen/toast), History-tracked undoable writes ([mcp]), immutable deviceProfile, and zero AI Provider key exposure.

Frequently Asked Questions

Scope boundaries, local privacy, model support, Agent MCP, and export capabilities.

What is TauDesign, and how does it differ from v0, Lovable, or Figma Make?
TauDesign is an open-source, local-first AI UI design workbench (Tauri 2 + React, LGPL-3.0). Unlike chat-only full-stack code generators, it gives you an infinite canvas for multi-screen layout, isolated iframe sandboxes, a strict token class whitelist compiled from base.css, visual property editing, and side-by-side proposal comparison.
Is TauDesign free and open source? What is the current scope?
Yes. TauDesign is open source under the LGPL-3.0 License. Currently in Developer Preview, it focuses on static high-fidelity UI design and handoff (HTML, PNG, and local Agent MCP). Interactive clickable prototypes, live form submissions, and backend state machines are out of scope.
Which AI models are supported? Can I run it completely offline?
TauDesign supports OpenAI-compatible APIs, Anthropic, Gemini, and native Ollama, with presets for OpenAI, DeepSeek, and Aliyun Bailian. With local Ollama models, AI inference stays on your machine. All requests route through a Tauri Rust proxy to eliminate desktop Webview CORS blocks.
Is my project data uploaded to a TauDesign cloud?
No. TauDesign is a local-first desktop app. Projects are stored on your disk inside .aidesign folders (project.json, screens/, assets/, and monthly JSONL chat shards). Data is only sent to the AI provider endpoint you configure.
Can I import existing HTML pages or reference images?
Yes. Use File → Import HTML to bring in existing web pages—keep their original look or map them to your project's design tokens, or extract a theme from an existing page. With vision-capable models, you can also attach reference images.
Are exported HTML and PNG files ready for design handoff?
Yes. TauDesign exports self-contained HTML with inlined project styles (plus an optional Manifest sidecar) and 1x, 2x, or 3x full-page or first-screen PNGs, backed by pre-export diagnostics for clipping, overlap, text squeeze, and asset integrity.
Does TauDesign support MCP for Cursor, Claude Code, or Codex?
Yes. The TauDesign desktop app includes a localhost MCP gateway (127.0.0.1, auto-bound ports 41737–41747) paired with a bundled NDJSON stdio discovery proxy (taudesign-mcp-proxy). Configure Cursor, Claude Code, or Codex once—the proxy automatically reads mcp-gateway.json to follow port changes and re-initializes sessions across restarts with no Bearer token needed on loopback (browser-only pnpm dev has no MCP). Both MCP and Allow writes are ON by default (toggleable to read-only anytime in Settings → MCP), letting agents read by projectId or build from scratch via native create_project (using Settings → General → Default project path when omitted), upsert_screen, and nid-scoped edits with live canvas activity feedback (header badge, loading bar, frame badge, auto-pan, and toast) or silent headless disk writes backed by History Undo.

Ready to Experience the TauDesign Engineering Loop?

Open source under the LGPL-3.0 License. Built for macOS, Windows, and Linux.

Latest: checking… Release Notes

macOS

Your OS

macOS 12+ · Apple Silicon (arm64) .app archive

Windows

Your OS

Windows 10/11 (x64) · NSIS Installer

Linux

Your OS

x86_64 · AppImage & Debian/Ubuntu


Or build from source:

⭐️ Star on GitHub
git clone https://github.com/theoly/TauDesign.git && cd TauDesign && pnpm install --frozen-lockfile && pnpm run tauri dev

Prerequisites: Node.js 22+, pnpm >= 12; desktop mode (pnpm run tauri dev or installer) also requires Rust/Cargo and is required for native storage, PNG export, and the built-in Agent MCP gateway (browser-only pnpm dev does not run MCP).