Building with the Agent
How the Agent works
What happens between sending a prompt and seeing a working app.
Plan, then build
For anything beyond a small tweak, the Agent first drafts a short plan — the files it expects to touch and the steps it will take — so you can confirm the direction before it starts writing code.
Checkpoints
Work is saved in checkpoints as the Agent progresses. If a change is not what you wanted, you can roll back to any earlier checkpoint without losing the rest of your project.
Self-checking
Before handing control back to you, the Agent reviews its own output for obvious errors — broken imports, failing builds, or console errors in the preview — and fixes what it can before reporting back.