A designer's Figma file became production-grade, hand-coded HTML — researched, rendered, vision-analyzed, and rebuilt pixel by pixel by an AI. No human wrote a single line.
On June 25, 2026, inside an ordinary AGNT chat, Nathan sent Annie a single line. No spec. No requirements doc. No design tokens. Just a Figma file connected through the Figma MCP server and a vibe.
What followed was a four-act conversation where every reply from Nathan raised the bar — and Annie's autonomous loop (plan → act → observe → evaluate → improve) answered each one. This page is the complete, unabridged trace of that work — reconstructed from AGNT's execution telemetry.
The build spanned four orchestrator runs totaling 56 tool executions. Select an act, then expand any step to see the real payloads pulled from AGNT's trace store.
A Figma document is a deeply-nested JSON tree — this one was 2,731 lines across dozens of frames. Annie never loaded it raw into her context. Instead, the file was cached to disk and spelunked surgically with query tools, while the render API produced pixels for her vision model.
// Annie retrieves the Figma key from AGNT's encrypted auth vault — no key ever shown to the user ▸ agnt_auth { operation: "get_valid_token", provider_id: "figma" } ✔ { access_token: "figd_••••••••••••••••••••••••••••••" } 219 ms ▸ mcp__mcp-figma__set_api_key { api_key: "figd_••••…" } ✔ "API key set successfully and saved to config file" 3.4 s ▸ mcp__mcp-figma__get_file { fileKey: "KtktcCn6MGe070tr92AbuZ", depth: 4 } ✔ "File data saved to local cache" → file_KtktcCn6MGe070tr92AbuZ.json 5.0 s // 97,995 bytes of design JSON — parsed via query_data, never dumped into context ▸ query_data { operation: "stats" } → 2,731 lines, keys: document, components, styles… ▸ query_data { operation: "search", query: '"name"' } → 3 top-level frames found 10:1391 (mobile screens) · 6:2192 (cards) · 9:1426 (playground table)
Act IV's core problem: the Figma file contained 27 raw image fills, but most were UI elements that should be code. Annie downloaded every fill and ran a one-sentence vision classification on each — photographs got embedded as base64; everything else was rebuilt in HTML/CSS/SVG. These are her actual, unedited verdicts:
Of 27 image fills discovered in the Figma file, only 9 survived triage as true photographs worth embedding (1,449 KB total). The other 18 — buttons, icons, gradients, status bars, UI chrome — were rebuilt as code: 24 inline SVGs, pure-CSS phone frames, and a hand-written design-token system. That decision is the entire difference between a screenshot and a living artifact.
The final artifact is a single self-contained file: 26.2 KB of hand-written code carrying 2.21 MB of vision-approved photography. It runs offline, emails as an attachment, and needs no build step, no server, no dependencies — the file is the deliverable.
Below is yocci-coded.html — the actual 2.24 MB artifact Annie shipped on June 25 — embedded byte-for-byte and executing inside this page. Click through its tabs: Mobile Screens, Match Cards, and the Playground Table. Every button, star rating, progress ring, and phone bezel you see is code, not pixels.
Decoding embedded artifact…
Byte-for-byte authentic. The original file was base64-embedded into this case study by a build script — Annie never pasted its 2.2 MB through her own context window. The iframe you're looking at decodes and boots the artifact entirely client-side.