Skip to main content

Chat-Driven Editing

The fastest way to build with AppX is to talk to it. You describe a change, the AI reads your current code, edits it, and the preview updates.

How It Works​

  1. You send a message that says what to change.
  2. The AI reads the code it needs and makes the change — targeted edits, not a full rewrite.
  3. AppX checks the result.
  4. The edit is applied and the preview updates.

Edits to an existing app run straight away. Only a new app starts with a plan card.


Name the Screen​

Name the screen in your message, for example "On the Home screen, make the header dark." That tells the AI where to work, which makes the edit more accurate.


Undo an Edit​

The edit is applied and the preview updates. To go back, use Undo on the turn card, or open the project menu → Version history → Restore.


See the Edit on Your Phone​

After an edit, AppX restarts the app's preview. Reload the page in your phone's browser (in Expo Go on Android: shake → Reload) to see the change; it opens at the first screen.


Writing Good Edit Prompts​

The more specific you are, the better the result.

Be specific about the change

❌ "Make it look better"
✅ "On the Home screen, increase the card padding to 20, add a subtle shadow, and round the corners to 12"

Point at what you see

❌ "The button is wrong"
✅ "The Submit button at the bottom is too wide — give it 16 of horizontal margin on each side"

Describe the outcome, not the code

❌ "Add a useState hook for the modal"
✅ "Add a button that opens a modal with a text field for renaming the item"

One thing at a time — break big features into steps. The AI is far more accurate with a focused request than with five unrelated changes at once.


When an Edit Goes Sideways​

AppX checks edits before they reach you, but occasionally one looks off on device. If so:

  1. Describe the problem — "that edit removed the back button on the navigation header."
  2. Or undo it with Undo on the turn card.
  3. Or fix it by hand in the code editor if you know exactly what's wrong.

Always glance at your phone after an edit — the device is the source of truth.


What Edits Cost​

Edits are metered, with a minimum of 1 credit per turn. One real edit shown on appx.uz used 3 credits, and edits vary. If an edit fails, you are not charged. You need at least 5 credits to send a message.

Full rules: Credits.