Chat
Chatting with the agent
Describe what you want and the agent builds it, checks its own work, and shows you exactly what changed.
On this page11 sections
Build mode is where the agent does the work. Give it a task and it takes it end to end: it works out what you mean, reads your code for context, changes every file that needs changing, and fixes problems it runs into along the way. You can follow each step as it happens and review the result when it finishes.
- Implement features or changes once an approach is decided
- Fix bugs or errors end to end
- Refactor code across multiple files
- Apply coordinated changes across frontend, backend, and configuration
- Debug issues that arise during implementation
- Inspect logs and preview output to identify problems
- Test the running app in a real browser before finishing
Build mode is on by default. Describe what you want and send your message. Clear requirements and constraints produce better results.
Be specific about what you want
"Add a contact form with name, email, and message fields. Validate email format and show error messages inline."
Describe expected behavior
"When users click 'Add to Cart', show a success message and update the cart count in the header. Store cart items in local storage."
Include constraints when relevant
"Add a dark mode toggle. Use the existing Tailwind dark: variants. Don't change the current color palette, just add dark equivalents."
The agent tests what it builds. It opens your running app in a real browser and reads runtime errors, failed requests, and what rendered on the page. It can tap buttons, press keys, fill in a form or play a game for a few seconds before it looks. It also takes screenshots, at phone size and, for web apps, desktop size, to review the design itself.
Before it finishes, it runs your app's checks: TypeScript and lint, plus a real production build for web apps and games. When a check fails, the agent fixes the errors and runs the checks again.
While the agent works, the chat shows a live working row with what it is doing right now. Finished work collapses into grouped summaries ("Made 6 actions") you can expand to see every file edit, command, and check. Longer tasks are organized into steps ("Step 4 of 6") you can collapse and expand.
- Stop ends the current run; everything already applied stays in place.
- Closing the tab does not lose anything: reopen the project and the chat reattaches to the running turn.
Every finished build turn ends with a receipt: what the agent did, how many actions it ran, whether checks passed, how long it took, the files it changed, and, when there is one, a picture of the result.
- View diff (or the "files changed" link under a reply) shows every changed line, file by file.
- Undo rolls the project back to how it was before that turn.
- See Versions, undo, and revert for the full history.
When a choice matters, the agent asks with a card instead of guessing. Tap an option, often shown with a sketch, a color palette, or a picture, or press Decide for me to let the agent choose. If the agent needs a file from you, such as a logo or a document, it asks you to upload it right in the chat.
When the agent creates a new app, it also designs the app icon and wires it into the project. It can generate images for your app too, such as illustrations, backgrounds, and logos, and it can reuse images it already made.
The agent can also generate sound effects and music for your app or game, plus spoken voice lines and short conversations between several voices. Generated images and audio use Build credits.
You can keep typing while the agent works. New messages queue up and run in order when the current turn finishes. Queued messages stay editable: change or remove them any time before they start.
- Every few turns, a quick "How did that go?" row asks for a thumbs up or down. A thumbs down lets you add a note.
- Report a reply that went wrong with the report button under it, with an optional note.
The model picker in the composer selects which AI model powers the agent and how much it thinks. See Models and thinking levels for a full guide.