Skip to main content
Docs/How It Works
DocsHow It Works
Free

How It Works

From a one-sentence description to a deployed, production-ready app - here's what happens at each stage of the GenMB pipeline.

Describe Your App

Type a natural-language description of what you want to build. Be as specific or as general as you like - mention features, colors, layout, integrations, and any sample data.

Specific prompts produce better first generations. "A task manager with Google login, projects, and recurring tasks" outperforms "a productivity app" - the AI has more concrete signals to anchor on.

The 8-Stage Pipeline

Once you submit a prompt, your generation runs through eight stages in the orchestrator. Each stage has a single responsibility and can fail fast - failed validation never deducts credits.

1

Validate

Your prompt is checked for length, abuse patterns, and rate limits. Failed validation returns immediately with a clear reason, no credits consumed.

2

Analyze

Intent detection runs to determine project type (frontend, backend, full-stack), framework choice (React/Vite, vanilla, FastAPI, Express), and required plugins from the 75+ catalog.

3

Prepare

Generation context is assembled - design hints, plugin templates, capability snippets, schema fragments, and prior conversation history are all merged into the prompt.

4

Generate

The AI produces the actual code with reasoning enabled. Single-file apps emit a single HTML; multi-file apps emit a structured project with separate components, routes, models, and configuration.

5

Parse

The model output is parsed into discrete files. Markdown fences are stripped, file boundaries are detected, and each file is validated as syntactically well-formed before moving on.

6

Validate & Heal

Syntax, imports, and OWASP Top 10 security checks run together. Issues are batched and sent to the Code Healer, which uses tools (read_file, edit_file, write_file) to repair them. Up to 3 healing passes.

7

Enhance

Detected services and plugins inject their SDKs and snippets. Markers (<!-- GenMB Plugins START/END -->) ensure injection is idempotent across re-runs.

8

Finalize

Files are saved to Firestore (parent doc + codeFiles subcollection for multi-file apps), an atomic version is created in appVersions, and a database schema is provisioned in the background if your app needs PostgreSQL.

Deploy in One Click

Once generation completes, click Deploy to publish your app to a live URL. Get automatic SSL, CDN delivery, and a shareable address.

Behind the scenes: Apps deploy to either SHARED Cloud Run (~$0.50/app/month, multi-tenant) or GKE pods (~$9/month active, $0 paused) for production workloads. Custom domains are available on Pro and Business.

Refine with Chat

Use natural language chat to iterate on your app. Change styles, add features, fix bugs, or completely restructure, the AI understands your full codebase and applies edits to specific files.

Behind the scenes: Every refinement creates a new version snapshot in appVersions. Compare versions, roll back, or branch in any direction without losing prior work.

Your code, your rules

GenMB generates code you fully own. Export it, push to GitHub, or deploy anywhere. There is no vendor lock-in, the generated code runs independently of GenMB.

FAQs

How long does it take to generate an app?
Simple frontend apps generate in 10-30 seconds. Full-stack apps with backend, database, and authentication typically take 30-90 seconds depending on complexity.
What frameworks and languages are supported?
GenMB generates React (with Vite or CDN), vanilla HTML/CSS/JS, FastAPI (Python), and Express (Node.js) backends. The AI automatically selects the best framework based on your description.
Can I modify the generated code?
Absolutely. You own 100% of the generated code. Edit it directly in the built-in code editor, use chat to request changes, or export/download it and work in your own IDE. There is zero lock-in.
What happens if the AI makes a mistake?
The Code Healer automatically detects and fixes issues during generation. After generation, you can use chat to request specific fixes, or edit the code directly. Every change creates a version snapshot you can roll back to.

Ready to build?

Create your first app for free, no credit card required.