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.
Team Workspace & Project Dashboard
TauDesign strictly follows device single-column layout and safe-area guidelines, rendering modules into responsive cards.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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-26ping |
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 |
taudesign://projects
taudesign://project/{id}/tokens
taudesign://contracts
taudesign://project/{id}/selection
{
"mcpServers": {
"taudesign": {
"command": "/Applications/TauDesign.app/Contents/MacOS/taudesign-mcp-proxy",
"args": []
}
}
}
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.
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.
Engineered with Non-Negotiable Invariants
TauDesign enforces strict architectural invariants to prevent sandbox leaks, CORS failures, and state drift.
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.
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.
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.
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.
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?
base.css, visual property editing, and side-by-side proposal comparison.
Is TauDesign free and open source? What is the current scope?
Which AI models are supported? Can I run it completely offline?
Is my project data uploaded to a TauDesign cloud?
.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?
Are exported HTML and PNG files ready for design handoff?
Does TauDesign support MCP for Cursor, Claude Code, or Codex?
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.
Linux
Your OSx86_64 · AppImage & Debian/Ubuntu
Or build from source:
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).