build-with-ai
A zero-API, local-first CLI that guides developers step-by-step through building complete software projects with any AI by generating deterministic, context-aware prompts at every engineering phase.
Test Drive the CLI in Your Browser
Experience how build-with-ai guides your project step by step without requiring API keys or cloud dependencies.
██████╗ ██╗ ██╗██╗██╗ ██████╗ ██╔══██╗██║ ██║██║██║ ██╔══██╗ ██████╔╝██║ ██║██║██║ ██║ ██║ ██╔══██╗██║ ██║██║██║ ██║ ██║ ██████╔╝╚██████╔╝██║███████╗██████╔╝ ╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ build-with-ai v1.4.0 · Zero API Software Architect CLI Type 'help' to see commands, or 'next' to generate prompt.
The 7-Step Walkthrough Architecture
How build-with-ai preserves state across multiple chat sessions and prevents the AI from forgetting earlier architectural decisions.
Select a template, experience level, and project overview. The `.buildwithai/` workspace is created.
$ npx build-with-ai init
11 Available Templates
Battle-tested phased workflows for full-stack apps, SaaS MVPs, REST APIs, mobile apps, extensions, and AI pipelines.
Full-Stack Web Application
23 Phased StepsEnd-to-end modern web monolith or hybrid architecture with robust auth, relational schema, automated tests, and CI/CD.
Dynamic Context Interpolation Engine
See how build-with-ai substitutes template placeholders with concrete architectural decisions stored in context.json.
Target: Generate Data Access & API Routes
Database Provider: {{decisions.database}}
ORM / Query Engine: {{decisions.orm}}
Authentication Layer: {{decisions.auth}}
Frontend Framework: {{decisions.framework}}
Generate CRUD handlers with error schemas and validate session permissions using {{decisions.auth}}.Target: Generate Data Access & API Routes
Database Provider: Supabase PostgreSQL
ORM / Query Engine: Prisma v5 (CUID Keys)
Authentication Layer: Supabase SSR Auth
Frontend Framework: Next.js 14 App Router
Generate CRUD handlers with error schemas and validate session permissions using Supabase SSR Auth.Engineered for Developers Who Value Quality
Built from the ground up with local-first reliability, complete data sovereignty, and deterministic output.
Zero API Keys & Zero Cost
Runs 100% locally in your terminal. No third-party API accounts or rate limits required.
Universal Model Compatibility
Use with any web interface, IDE plugin, or local model (Claude, ChatGPT, Cursor, DeepSeek, Ollama).
Non-Destructive Guarantee
Operates entirely within .buildwithai/ and never touches or overwrites your application source files.
Solves The Blank Canvas
Asking an AI to "build a whole app" produces monolithic, fragmented code. We break projects into disciplined, sequential phases.
Prevents Context Drift
As the chat progresses, the AI forgets foundational schema and architectural decisions. We interpolate prior choices into downstream prompts.
Enforces Sequential Phases
Prevents jumping directly to UI before establishing data contracts, authentication, or error handling.
Command-Line Interface
A clean, intuitive command set designed to fit into any modern developer terminal.
Interactive launcher displaying active status or starting initialization.
Start setup wizard (template selection, experience level, project concept).
Load a custom template from a local file path or remote HTTPS URL.
Generate and copy the prompt for the current step.
Generate the step prompt without accessing the system clipboard.
Output only the raw prompt string for scripting and CLI piping.
Output complete step metadata as structured JSON.
Record decisions, archive step logs, and advance to the next step.
Step back to the previous step without removing recorded context.
Navigate directly to a specific step number.
Inspect recorded decisions or retrieve a specific dot-notation path.
Update a decision in context.json from the command line.
Display project progress bar, step list, and recorded decisions.
Display archived AI responses and step logs.
Overview dashboard summarizing active step and next action.
Generate README.md, BUILD_LOG.md, and CONTEXT.md.
List and search available templates with step counts.
Remove .buildwithai/ state while leaving project source code intact.
Ready to build your next project with AI?
No credit card, no sign-ups, no API keys. Run a single command in your terminal and start engineering with discipline.