How the AI Builder Works
What Mobiforge's AI does under the hood when it builds or edits your app.
Under the hood
Mobiforge's AI builder reads your prompt, reasons about the app architecture, and writes real React Native code. Every generation creates a versioned snapshot you can roll back to. The AI doesn't produce templates or fill in blanks — it writes the actual TypeScript, navigation, and SQL that your app runs on.
The build pipeline
Prompt analysis
The AI reads your description and extracts screens, entities, navigation structure, and required features. This analysis drives every downstream decision.
Code generation
The AI writes React Native (Expo Router) files: screens, shared components, navigation stacks, and TypeScript types. Each file is generated from scratch to match your spec.
Backend setup
Supabase tables, Row Level Security policies, and API helper functions are auto-generated from the data model extracted in step one. Your schema is live instantly.
Preview deployment
Your app is instantly available as a web preview in the builder and via Expo Go on your physical device. No manual build step required.
Version snapshot
Every generation is saved automatically so you can browse history, compare versions, and roll back to any previous state with one click.
What gets generated
Frontend
- React Native screens
- Tab / stack navigation
- TypeScript components
- Styles & theming
Backend
- Supabase schema
- Auth flows
- API functions
- Push notification hooks
Basic vs Advanced mode
Basic
Auto-classifies complexity and selects the appropriate model tier. Great for quick edits, UI tweaks, copy changes, and simple feature additions.
1× credits per generation
Advanced
RecommendedAlways uses the best available model. Ideal for initial builds and complex features that touch multiple screens, data models, or integrations.
2× credits per generation
Use Advanced mode for your first build and any prompt that introduces new screens or changes your data model. Switch to Basic for fast, targeted edits.
AI editing after the build
After the first build, every message in the chat is an edit. The AI reads your current codebase, diffs the existing files, and makes targeted changes rather than regenerating everything from scratch. This keeps edits fast and preserves work you've already done.
Use follow-up messages to: