Skip to main content

What's new

Ask an agent for a mockup and look at it without leaving the task

The 1904 mockup viewer titled Mockup docs/mockups/pricing.html with Reload and Close buttons, showing a rendered pricing page for Recipe Box with a free Home plan and a five-dollar Family plan.

Asking for a mockup before the real build is one of the cheapest ways to catch a wrong idea. A page of throwaway HTML costs the agent a minute, and it's much easier to say the pricing cards are too busy when you can see them than when you're reading a description. What usually slows it down is the step after: the agent says it wrote docs/mockups/pricing.html, and the file is sitting in the task's copy of your code where your browser can't open it. In 1904 that path in the reply is now a button.

From the reply to the rendered page

When you ask for a mockup, a prototype, a wireframe, a design, a sketch or a diagram, the HTML, Markdown and SVG files the agent names in its reply get an eye icon, and View appears when you point at one. On a phone the label is always there. Choosing it opens the file over the conversation, titled Mockup, Document or Drawing with its path, and Reload or Close at the top. Escape or a click outside closes it. Reload shows the agent's latest version, even while it's still working on the file, so you can ask for a change and look again without leaving the task.

What the viewer will and won't run

An HTML or SVG mockup runs in a sealed frame. Its own scripts work, so tabs, toggles and a fake checkout flow behave the way the agent wrote them, but it can't reach the network, your 1904 session or anything outside the frame. Markdown is shown as a formatted page. The viewer opens files in the task up to 500 KB, which is plenty for a self-contained page, and agents in 1904 are asked to write mockups that way: one file with its styles inside, named in the reply so you can open it.

Where it fits

This is for looking at an idea, before anything is built. When the agent changes the real app, the task's Preview still shows the running app with its data. A mockup file lives in the task like any other change, so if you want to keep it, it goes out with the task when you submit, and if you don't, ask the agent to delete it first.

← All posts

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.