Prerequisites
You need accounts and API keys for the following services before you start. Stripe and RevenueCat are optional — only needed if you want payment processing.You can use Cursor or Gemini instead of Claude by setting
AGENT_TYPE=cursor or AGENT_TYPE=gemini and providing the corresponding API key. See the AI providers guide for details.- Backend setup
- E2B sandbox template
- Mobile app setup
Backend setup
The backend is a Next.js 15 app with Convex for real-time data and Inngest for background job processing.1
Clone the repository
Clone with submodules — the Expo template used inside sandboxes is included as a Git submodule.
2
Install dependencies
3
Configure environment variables
Copy the example file and fill in your API keys.Open
.env.local and set at minimum:4
Deploy the Convex schema
This creates the real-time database tables (users, sessions, messages, and more) in your Convex project.
5
Start the Inngest dev server
Inngest processes background jobs — sandbox creation, agent runs, and GitHub pushes. Run it in a separate terminal.The Inngest dashboard will be available at
http://localhost:8288.6
Start the Next.js dev server
In another terminal, start the main backend:The backend is now running at
http://localhost:3000.Build your first app
Once the backend is running and the mobile app is installed on your device or simulator:1
Open the Create tab
In the mobile app, tap the Create tab at the bottom of the screen. This opens
VibraCreateAppScreen.2
Describe your app
Type (or tap the microphone to speak) a description of the app you want to build. Be as specific or as brief as you like. For example:
“A habit tracker with a daily checklist and a streak counter”
3
Watch it build
Vibra Code creates a session in Convex, spawns an E2B sandbox, and starts the AI agent. You will see status updates stream in real time:
Cloning repo → Installing dependencies → Starting dev server → Creating tunnel → RunningThe chat view shows every file the agent reads, edits, and runs as it works.4
Preview the app
Once the tunnel is ready, the app preview loads directly on your device. Tap the preview to interact with your new app. Tap the chat area to send follow-up instructions.
The first build takes longer because the sandbox clones the Expo template and installs npm dependencies from scratch. Subsequent messages in the same session reuse the running sandbox and are much faster.