Back to Articles

Bridging Design and Code: Meet Google's Stitch CLI

October 02, 2026282

A New Bridge Between Design and Code: Meet Google's Stitch CLI

When you build digital products, one of the biggest challenges is the gap between design tools and the development environment. Designers work in their own bubble, developers build the logic, and the result is often "lost in translation." Google is trying to close that gap with Stitch, an AI-based design tool, and its latest upgrade – Stitch CLI – changes the game for developers who work with coding agents.

What Exactly Is Stitch CLI?

Stitch is a tool that lets you generate complex user interfaces (UI) from text, images or code. The big news here is the ability to connect this tool directly to your local working environment. With the new CLI, you can stream your designs straight into coding agents such as Cursor, Claude Code or Gemini CLI [5][9].

The tool lets you take a screenshot of the site running on your localhost, send it to Stitch, and get back updates, components or design fixes that match your project's

DESIGN.md
[5][8].

Why Does This Matter for Developers?

The core value here is visual consistency. Instead of relying on outdated spec documents or manual handoffs from Figma, Stitch CLI uses the

DESIGN.md
format. This is a Markdown file that gathers all of your project's design rules, tokens and components in a form that AI agents can read and understand [5].

Once your coding agent understands

DESIGN.md
, it can:

  • •Update the frontend to match design changes without breaking the existing code.
  • •Keep a consistent design language across all newly created screens.
  • •Act as a "sounding board" – you can talk through the design with the agent, and it makes the changes in real time [2].

How Does It Work in Practice?

The integration runs through the Model Context Protocol (MCP), a protocol that lets different tools "talk" to each other [2][9]. Once you install the CLI, you can run simple commands to connect Stitch to your IDE (such as Antigravity or any other supported environment) [8][9].

An example of a modern workflow:

  1. •You run your local site.
  2. •You use Stitch CLI to send a screenshot of the current interface.
  3. •The AI analyzes the design and suggests improvements or new components.
  4. •Your coding agent (for example in Cursor) receives the instructions and applies them directly in your React/Next.js code [4][5].

Summary and Takeaways

We are moving into an era where the UI is not just an image, but live code that updates dynamically. Stitch CLI is a significant step in that direction, because it makes design an inseparable part of the developer's workflow. If you work with coding agents, it is well worth trying this integration – it saves precious time on "pixel perfection" and lets you focus on building better products.

For more information and installation, check the official docs at Stitch Docs or the CLI package on npm.

Thanks to Spotlight by Daniel Trabelsi by Daniel Trabelsi for sharing and inspiring this article.

Join the channel
#Stitch CLI#Google#AI design#frontend development#coding agents#UI design#developer tools#MCP