Skip to content

Introduction

imugi is an AI-powered design-to-code tool with visual verification. It captures screenshots of your frontend, compares them pixel-by-pixel against your design image, and iterates until the code matches — automatically.

The Problem

When implementing a design, developers typically:

  1. Write code based on a design image
  2. Eyeball the result vs the design
  3. Manually tweak CSS until it “looks close enough”
  4. Repeat forever

This is slow, subjective, and error-prone.

The Solution

imugi automates this with the Boulder Loop:

Design Image → Code Generation → Screenshot → Compare → Analyze → Patch
Score ≥ 95%? → Done!
↓ No
Repeat

It uses SSIM (Structural Similarity), pixelmatch, and Claude Vision to objectively measure how close your code is to the design, then automatically patches the code to close the gap.

Key Capabilities

FeatureDescription
Visual ComparisonSSIM + pixel diff + AI vision with composite scoring
Boulder LoopAutomated iteration until 95%+ match
MCP ServerNative integration with Claude Code & Cursor
Figma IntegrationExport frames via URL, no manual export
Project DetectionAuto-detects React, Vue, Svelte, Tailwind, etc.
Smart PatchingFull regen for low scores, surgical patches for high scores
HTML ReportsVisual comparison reports with heatmaps
CI/CDGitHub Action for visual regression testing

How to Use

imugi works in two primary modes:

Add imugi as an MCP server to your AI tool (Claude Code, Cursor). The AI calls imugi’s tools directly to capture, compare, and iterate.

CLI

Use imugi directly from the terminal for one-shot generation, comparison, or the full iterative loop.

Ready? Let’s install imugi.