Docs

How Omi X works

Omi X plans, builds, tests and deploys a production-ready AI SaaS from one window. The work happens in a folder on your computer and the app goes live in your own Google Cloud project. Install it from the download page; the first open needs one confirmation.

Sign in

Omi X uses your BuildItOmi account (the same one as the App, Bolts, the API and Omi CLI; Omi X has its own plan and credits). Press Sign in: the app shows an 8-letter code and opens x.builditomi.com/device in your browser. Sign in or create a free account, check that the code matches, and approve. The app signs in by itself.

The sign-in token is stored encrypted by your operating system (Keychain on macOS, DPAPI on Windows). Each computer has its own sign-in; you can sign any of them out on your account page.

Describe your SaaS

Give it a name and say what it does in your own words: who it is for and what the AI does for them. Omi X creates a project folder in ~/Omi X Projects (or one you choose) and writes OMI.md into it: your idea plus the production standard every step follows. You can edit OMI.md any time.

Plan

Omi writes a plan before any code: the product and its AI feature (input, model, output), 2-3 plans in USD with a free daily AI limit, every page and API route, the Firestore data, the build steps, and the risks that need your decision. Tell Omi what to change and it rewrites the plan. Press Approve and build when it is right.

Build and test

Omi scaffolds the app in the folder, installs the packages and writes every page, route, test and config file. Then Omi X runs the checks on your computer, as you would:

checks
npm install
npm run lint
npm test
npm run build

When one fails, Omi reads the output, fixes the cause (not the test) and runs the checks again, up to three rounds. You see every line as it happens and can stop at any point. What every Omi X SaaS has:

StackNext.js (App Router), TypeScript strict, Tailwind CSS, Node 22, npm.
AuthFirebase Authentication (email and password, and Google). The server checks the ID token and sets an httpOnly session cookie; every private page and API route checks it.
DataCloud Firestore through the server only. firestore.rules deny all client reads and writes.
AIVertex AI Gemini through @google/genai with the App Hosting service account: no API key to leak.
PaymentsStripe Checkout and a signed webhook, ready for your keys. Until you add them, the pricing page shows the plans and says payments are not set up yet.
PagesLanding page, /pricing, /login, /signup, the product on /app with history per user, /settings (plan, delete account), /terms and /privacy templates for you to review, a real 404, loading and error states.
Cost guardA daily AI limit per user (30 requests by default, FREE_DAILY_AI), input size checks, rate limits, and minInstances 0 / maxInstances 2 on App Hosting.
SecurityContent-Security-Policy, Strict-Transport-Security, X-Frame-Options, Referrer-Policy, Permissions-Policy and X-Content-Type-Options; zod on every request body; .env* git-ignored.
SEOTitle, description, Open Graph and Twitter tags on every public page, sitemap, robots and canonical URLs.
Testsvitest for the core logic, the AI route's input checks and the usage limits; README with every environment variable.

Connect Google Cloud

Tools. Deploys use Node.js 20+, the Firebase CLI and the Google Cloud CLI. Omi X finds the ones you already have; for anything missing, Install what's missing puts it in ~/.omix/tools (never system-wide): Node.js LTS from nodejs.org (checked against its published SHA-256 list), firebase-tools from the npm registry, and the Google Cloud CLI from dl.google.com.

Google sign-in. Sign in with Google runs Google's own sign-in in your browser. There is no BuildItOmi OAuth app in between:

what Omi X runs
gcloud auth login --update-adc

The Firebase CLI uses that same sign-in, kept apart from any other firebase login you may have.

Project. Pick one of your Google Cloud projects or create a new one from the app.

Billing. App Hosting needs billing on (Google's Blaze plan). If the project has none, choose one of your billing accounts and press Link billing; Google shows it on your own bill. No billing account yet? Create one in the Google Cloud console first.

Deploy

Press Deploy to production. The first time, Omi X sets the project up, skipping anything already done: it turns on the Google APIs the app uses, adds Firebase, creates the Firestore database, turns on email sign-in, creates a Firebase web app and writes its public config into apphosting.yaml and .env.local. It creates an App Hosting backend (us-central1) from your local folder (no GitHub needed) and gives the app's service account Vertex AI, Firestore and Auth access.

Then it runs the checks again (nothing deploys if one fails) and deploys:

what Omi X runs
firebase deploy --only apphosting:<backend>,firestore

Google Cloud Build builds it, usually in 3 to 8 minutes. Omi X adds the live domain to Firebase Auth's authorised domains, shows the live address and runs the first Improve review.

Improve

The Improve panel keeps telling you what to do next, in five areas: performance, SEO, security, pricing and onboarding. Every item comes from a real check, run on your computer:

  • Live site: status and load time, security headers, title and meta description, Open Graph image, canonical URL, robots.txt, sitemap.xml and /pricing.
  • Google PageSpeed Insights (mobile): performance, SEO, accessibility and best-practice scores.
  • Code: open Firestore rules, secrets in the source, a missing AI usage limit, payments without a webhook, no free tier, no first-run guidance, no email verification, no account deletion.
  • npm audit for high and critical package vulnerabilities.

Each item has Fix with Omi: Omi makes the change, runs lint, tests and the build, and you deploy the fix when you are ready. Check again is free. Deep review by Omi reads the code and the live site and lists the changes most likely to grow sign-ups and revenue. While Omi X is open it re-checks every live project once a day and notifies you when there is something new.

Change anything

Tell Omi what to change in plain words (a feature, a page, the copy, the pricing) and it edits the code with the same rules, then you test and deploy again. The engine is the Omi CLI engine: it reads and searches the code, edits files, runs commands and tests, uses subagents and can check pages in a browser. The project is plain Next.js, so you can also open the folder in any editor.

Updates

Omi X checks for updates by itself and installs them when you restart. On macOS our own updater downloads the new version, checks its SHA-512 against our update feed and swaps the app after it quits. On Windows the new installer runs when you quit. What changed: Changelog.

Troubleshooting

  • macOS says it can't be opened, or Windows protected your PC: expected the first time; see First run.
  • The sign-in code expired: press Sign in again for a new one, and approve it within its time.
  • The Google Cloud CLI installed but does not start: it needs Python 3. Install it from python.org, then press Check again.
  • “Billing is not on for this project”: link a billing account in the Cloud step, or in the Google Cloud console.
  • A check fails after three fix rounds: read the output, tell Omi what you see, or press Test again.
  • The deploy failed: the log shows Google's own error. Common causes: an API still turning on (wait a minute and deploy again), or an organisation policy on the project.
  • Email sign-in could not be turned on automatically: turn it on in the Firebase console under Authentication → Sign-in method.
  • Tools you already have are not found: Omi X reads your login shell's PATH; restart Omi X after installing a tool.

Still stuck? Help centre.

Your credentials

Your Google Cloud credentials are created by Google's own CLI on your computer and never leave it; we never see them. Deploys run from your computer with your own gcloud and firebase. What reaches us is the conversation with the AI (your instructions and the code it reads to do the work), signed with your Omi X token. Details: Security.

Costs

Two separate bills. Ours: the AI that plans, builds, fixes and reviews uses Omi X credits at its real cost (plans and credit packs, USD). The checks on your computer use none. Google's: hosting, builds, the database and Gemini calls in your SaaS are billed by Google to your project. We take no cut.