One command drives the whole new-app journey — a short contract conversation, then the deterministic build pipeline. What you pass decides the step.
gaia build "I want a CRM for tracking SaaS deals" # describe an ideagaia build --reply "Classic" # answer a pending questiongaia build # run the build pipeline
Flag
Description
--reply <label>
Answer a pending question (repeatable; pairs in order)
--name <name>
Name a newly auto-created project
--project <id>
Target a specific project
--silent
Send a silent kickoff message (used after an import)
In an empty folder, gaia build "your idea" auto-creates the project and writes .gaia/project.json — no prior gaia init needed. With no arguments, gaia build kicks off the build pipeline once the app’s spec is ready, streaming each stage as it completes.
For when you want your agent (or you) to write the app code directly, with the same validator suite the Build Agent runs. Everything happens under a local app/ mirror; pushes are validated atomically.
gaia code pull # download conventions + app mirrorgaia code status # show what changed locallygaia code validate views/deals.ejs # run validators on a filegaia code push --summary "Added a KPI strip to the deals view"
Subcommand
What it does
gaia code pull
Bootstrap/refresh the local mirror, conventions, and read-only preflight
gaia code status
Show created/modified files vs. the server
gaia code validate [file]
Run the full validator suite (≈100 rules)
gaia code push --summary "<recap>"
Validate, write files to the server, register routes, and commit
gaia code push rejects the batch if validators fail or if the app changed on the server since you pulled. Fix the errors or gaia code pull and re-apply — don’t force past a validator.
Turn an Excel/CSV file into an app’s data, then build on top of it.
gaia import upload ./data.xlsx # start the import surveygaia import state # peek at the current stategaia import answer '{"choice":"keep"}'gaia import finalize # validate the proposed data plangaia import attach # create the dataset and attach itgaia import cancel # drop the session
After gaia import attach, continue with the normal gaia build flow to design the app around your imported data.