Skip to main content

AI Chat Interface

The AI Chat is your primary tool for building apps in Newly. Through natural conversation, you can build your app, create features, fix bugs, and refine your app in real time.

How It Works

The chat panel on the left side of the screen is where you interact with the AI. Simply describe what you want in plain language - English or in your own native language, and the AI will:
  1. Understand your request and build your app
  2. Generate and modify code
  3. Build and deploy changes
  4. Show results instantly in the preview and Expo Go
Note: This is a build-focused AI. Use it to build, modify, fix, or add features to your app, not as a general-purpose chatbot for asking unrelated questions.
The AI maintains the full context of your conversation and project. You can reference previous changes, screens, or features by name.

Writing Effective Prompts

Clear prompts lead to better results. By describing what you want in a simple and specific way, you’ll help the AI build exactly what you’re looking for. Here are some proven patterns to follow:

Be Specific

Describe the Behavior

Reference Existing Elements

Database and Backend (including Authentication)

Fixing Bugs

Styling Changes

Understanding AI Responses

As the AI works on your request, you’ll see:

Status Indicators

Activity Feed

The chat shows what actions the AI is taking:
  • Reading files - Analyzing existing code
  • Writing files - Creating or modifying code
  • Installing packages - Adding dependencies
  • Building - Compiling the app
  • Committing - Saving changes to version history
Each commit includes a summary of what changed, making it easy to track progress and revert if needed.

Image-Based Prompts

You can attach images to your prompts for:
  • Design references - “Make it look like this screenshot”
  • Bug reports - “Here’s what I’m seeing, it should show X instead”
  • Inspiration - “Build something similar to this app”
To attach an image:
  1. Click the image icon in the chat input
  2. Upload or paste an image
  3. Add context in your message

Multi-Step Requests

For complex features, break them into steps:
1

Core Feature

2

Add Interactions

3

Checkout Flow

Breaking complex features into steps gives the AI clearer context and produces better results.

Conversation Context

The AI remembers your entire conversation. Use this to your advantage:

Asking Questions

Not every prompt needs to generate code. You can ask:
  • How does X work? - Get explanations of features
  • What’s the best way to…? - Get recommendations
  • Can you explain this code? - Understand generated code
  • What files were changed? - Review recent updates
When asking questions (vs. making changes), the AI will respond with explanations without modifying code.

Troubleshooting

AI Not Understanding

If the AI misinterprets your request:
  1. Be more specific about what you want
  2. Reference/upload exact screenshot or component names
  3. Describe the current vs. expected behavior

Changes Not Appearing

If changes don’t show in preview:
  1. Wait for the build to complete (check status indicators)
  2. Reload the preview if needed
  3. Check the activity feed for errors
  4. Check the app both in iOS and Android, and see if both does not show or only one, and prompt accordingly

Reverting Changes

If something breaks:
  1. Use the revert function to see version history to restore a previous commit

Best Practices

Begin with core features, then add complexity. It’s easier to build up than fix a complex broken system.
Make one request per message for clearer results. Multi-feature requests can confuse the AI.
Check the preview after each change via Exp Go. Catching issues early is easier than debugging later.
Instead of “button”, say “blue Submit button at the bottom of the form”.
“The third item in the list isn’t showing correctly” is clearer with context from what you see.

Next Steps

Live Preview

Learn to use the preview effectively

Code Editor

Edit code directly when needed