Once UI Blog
Posts
Once UI
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
TrademarkTrademark
Ctrl k
Search…
Sign up
Once UI Blog
Posts
Once UI
Once UI 2.5: reactions that move
Once UI 2.4: ready for AI apps
Once UI 3.0 beta: one way to say it
Stack languages: your app in Hungarian, or in two
Stack store: your shop on your own site
Liquid Metal: chrome that never sets
Chirio, redesigned
Styled screenshots in Chirio
Once UI 2.3: made for real apps
Frametic is now a video and capture studio
Agents write about 40% less code from Stack
Magic Portfolio, now on Once UI 2
Frametic MCP: let your agent film your site
Once UI Stack: your site as a desktop app
Once UI Stack, redesigned
Stack: teams and billing
Prism Glow: soft prism light behind your sign-in screen
Once UI for React Native: the same props on a phone
Once UI 2.2: chat, forms and mobile
Dither: your own image or video as a dithered print
Once UI 2.1: The pieces apps kept asking for
Once UI 2.0: A system an AI can build with
What made Once UI 2.0 possible
Once UI 2.0 alpha: Measured, not assumed
Colour arrives in pairs
Once UI 1.8: Polish as a feature
Once UI 1.7: Form with Intent
From products to systems: a new service model
Magic Journal: A different medium for long-form writing
Supa Social: The next milestone of our journey
Once UI is open source. Here's how we plan to keep it that way.
Designing a timeless, AI-native brand
Once UI 1.5: Curiosity in code
Once UI 1.4 migration guide: The breakpoint object
Launching in the AI-native era: A guide for indie builders
The first design system for indie builders
Builder Stories
Side and Once UI: From café website to reservation system
SatisPro and Once UI: Scaling smarter review management
IQON and Once UI: Scaling with a design system
Dev: Blending science and code with Once UI
JExcellence and Once UI: Turning experiments into enterprise apps
OsmyReal: Launching a platform for mobile gaming with minimal coding
Stack

Agents write about 40% less code from Stack

In our own test runs, an agent building the same multi-tenant SaaS wrote about 40% less code when it started from Once UI Stack, with the same 24 checks passing.
Updated 3 days ago
Frametic is now a video and capture studio
Magic Portfolio, now on Once UI 2
Sponsored
Aveiro
aveiro.app
Sponsored
Aveiro
aveiro.app
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
In our own test runs, an agent building a multi-tenant SaaS from Once UI Stack wrote about 40% less code than it did starting from a bare Next.js + Once UI app. Both started from the same spec, and both passed the same checks.
The Stack test: about 40% less agent-written output
Median output: 54k tokens from scratch and 33k from Stack
The AGENTS.md map guides the agent to the relevant files
Both starting points passed the same 24 checks
Test limits: three runs per start; total tokens remained about even

The test

We wrote one spec for a small SaaS called Acme Notes. It has a landing page, sign-in, organizations with roles and invites, a blog, a signed-in layout and its own branding. A coding agent built it three times from each start:
  • From scratch: a new Next.js app with Once UI.
  • From Stack: the Stack scaffolder's output, with the AGENTS.md map it now writes.
Every run then had to pass the same 24 checks. The app has to typecheck, build with no environment variables, serve every page with its content, show no template names, ship the SQL for orgs, roles and invites, and include an .env.example. All six runs passed.

The result

From scratch
From Stack
Tokens the agent wrote (median of 3)54k33k
Checks passed24 of 2424 of 24
That is 39% fewer tokens written: the code plus the agent's own replies and tool calls. Total tokens per run came out about even, so this saves writing and review, not the cost of a run. The agent still reads the code it builds on. The from-scratch runs also built thinner versions of the same pages. They left out things Stack already has, like rate limiting, avatar upload, server-paged tables and tests.

Why the map matters

Without a map, the agent read most of the template before changing anything. Stack now writes an AGENTS.md when you scaffold. It says where the brand, SEO, copy, auth and organizations live, and it lists the exact files that hold the template's name, so the agent goes straight to them.

Caveats

These are our own test runs, not a benchmark: three runs per start, one spec, demo mode without a live database. Runs vary by around 15%, which is why we say "about 40%" and don't claim a token saving.
Get Once UI Stack
Share