> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gesso.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Build and verify

> Implement a Gesso design in your own stack, then check the build against the design.

**1. Export**

`export_design` writes the project into `design/`. The agent reads
`design/design.md` first, then the screen it is building.

**2. Build**

The agent implements the screen with your components, your framework and
the exported tokens.

**3. Verify**

The agent runs your app, screenshots its own build (full page, up to 1024
px wide), and calls `verify_implementation` with the design's id, the
screenshot and the rendered HTML. Gesso compares the two and returns a
verdict (`match`, `close` or `diverges`) with up to six prioritized
differences.

**4. Close the gap**

Apply the differences in source, rebuild, capture and verify again. It
typically converges in two or three rounds.

Verification is free and stores nothing. If the design itself should change,
use `edit_direction` and export again rather than editing the exported HTML.

## Review before you ship

`critique_design` takes a design's id, or raw HTML from your live page, and
runs the same quality checks Gesso uses on its own output. It is advisory: it
reports what it found and changes nothing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.