Your First Iteration
Your project has been created and the preview shows your running app. Now it’s time to iterate — tell the AI what to change, and watch it happen.
Making a change
Section titled “Making a change”-
Type your request
In the chat input at the bottom of the left column, describe what you want to change. Be specific:
“Add a settings page with a dark mode toggle and a section for notification preferences.”
Press Enter or click the send button.
-
Watch the AI work
The chat will show the AI’s progress:
- Tool usage messages — lists of files being created, modified, or searched. You’ll see file names and operations like create, edit, and view.
- Text responses — the AI explaining what it’s doing and why.
This typically takes from tens of seconds to a few minutes depending on the complexity of the change.
-
Preview updates automatically
When the AI finishes, the live preview on the right refreshes with your changes. Tap through the app to see the new feature.
-
Continue iterating
Not quite right? Send another message. Each iteration builds on the previous state of your app.
“Move the dark mode toggle to the top of the settings page and add a subtitle that says ‘Appearance’.”
What you see in chat
Section titled “What you see in chat”As you work with Primio, you’ll see several types of messages in the conversation:
Agent messages — text responses from the AI explaining what it did, what changed, and any decisions it made. These are the AI “talking” to you.
Tool usage messages — collapsible entries showing the AI’s actions: creating files, editing code, searching the project, running commands. Each entry shows the file path and operation type. You can expand these to see details.
File generation messages — summary lists of files that were created or modified in a batch.
Error messages — if the generated code has compilation errors, the AI detects them and attempts an automatic fix. You’ll see an error message followed by the fix attempt. This is normal — complex changes sometimes need a second pass.
Rolling back changes
Section titled “Rolling back changes”If the AI takes your app in a direction you don’t want, you can undo it.
Every agent message in the chat has a “Revert this” button. Clicking it reverts your project to the state it was in at that point in the conversation. All changes made after that message are discarded.
This is useful when:
- An iteration broke something that was working before
- You want to try a different approach to the same feature
- The AI misunderstood your request and you want to start that step over
Rollback is permanent for the changes that come after the selected message — they can’t be recovered. Use it when you’re sure you want to go back.
What to try next
Section titled “What to try next”You’ve got the basics down. Here are good next steps:
- Getting the Best Results — understand how the AI agent works and how to save tokens
- Chat & Prompting — learn how to attach images, reference files, use the prompt library, and write prompts that get the best results
- Features — explore the live preview, file browser, design library, and other workspace tools
- Publishing — when your app is ready, learn how to publish to Google Play, the App Store, or the web