Technical Documentation
Architecture, features, supported stacks, AI providers, and the product roadmap. Everything you need to understand how SaaSClaw works under the hood.
What is SaaSClaw? #
SaaSClaw is a self-hosted AI app builder. You describe the application you want in plain English, and an AI wizard agent plans the architecture, writes every file, builds the project, and deploys it to a live URL — all in a single session.
No boilerplate. No manual configuration. No DevOps pipeline to set up. You give a prompt, the agent gives you a running application with its own domain, SSL certificate, and production-ready infrastructure.
The core idea is simple: one prompt to a live URL. Whether you need a landing page, a React dashboard, a Django web app with a database, or a FastAPI backend, SaaSClaw handles the entire lifecycle from concept to production deployment.
SaaSClaw is self-hosted and open source (AGPL-3.0). You run it on your own server, connect your own API keys, and own every line of generated code. There's no vendor lock-in, no per-seat pricing, and no proprietary runtime. Your apps live in standard Git repos on your infrastructure.
How It Works — The Wizard Flow #
When you start a new project in the SaaSClaw Studio, you enter a prompt describing what you want to build. From there, the wizard agent executes a five-stage pipeline, each stage feeding into the next. Here's how it works:
Plan
The agent analyzes your prompt, determines the best technology stack for your requirements, and outlines the project architecture. It decides on frameworks, directory structure, database schema, and key components before writing any code.
Build
The agent writes every file your project needs — models, views, routes, controllers, templates, stylesheets, configuration files, and dependency manifests. It scaffolds the entire project from scratch, including auth setup, database migrations, and environment configuration.
Review
Before deploying, the agent reviews its own code for correctness, security issues, missing dependencies, and architectural problems. It catches what it can before moving forward, reducing the need for fix-up cycles.
Debug
If the build step produces errors — compilation failures, missing imports, syntax issues — the agent reads the error output, diagnoses the root cause, and applies fixes. This loop continues until the project builds cleanly or the agent determines the issue requires user input.
Ship
The project is deployed to a preview URL at <slug>.preview.saasclaw.ai. Once you're satisfied, you promote it to production at <slug>.saasclaw.ai with one click. SSL is provisioned automatically via Let's Encrypt, and the app runs behind Nginx with its own systemd service.
Supported Project Types #
SaaSClaw supports a range of project types, from static sites to full-stack web applications. The wizard agent picks the appropriate type based on your prompt, or you can specify it explicitly.
| Type | Best For | Deploy Method |
|---|---|---|
| Static HTML | Landing pages, documentation sites | Nginx serves files directly |
| Vite React | Single-page apps, dashboards, admin panels | npm build → Nginx serves static output |
| Vite Vue | Single-page apps, dashboards, admin panels | npm build → Nginx serves static output |
| Vite Svelte | Single-page apps, dashboards, admin panels | npm build → Nginx serves static output |
| Next.js (SSR) | Full-stack web applications with server rendering | next build → standalone Node.js server |
| Django App | Full web applications with database and auth | Gunicorn + Nginx reverse proxy |
| Flask / HTMX | Lightweight Python web apps, server-rendered UIs | Gunicorn + Nginx reverse proxy |
| FastAPI | Async Python APIs, microservices | Uvicorn via Gunicorn + Nginx |
| Hugo | Static sites, blogs, content-heavy sites | hugo build → Nginx serves static output |
| .NET / C# | ASP.NET Core web applications | dotnet publish → systemd service |
Every deployed project — regardless of type — gets the same production treatment:
- Preview URL at
<slug>.preview.saasclaw.aifor testing before going live - Production URL at
<slug>.saasclaw.aiwith automatic SSL via Let's Encrypt - Environment variables for secrets, API keys, and configuration
- Deploy history with full rollback to any previous deployment
- Git-based workflow — every deploy is a commit, so your code is always versioned
- Custom domains — point your own domain at any deployed project with automatic SSL
AI Providers & Models #
SaaSClaw connects to external AI providers via OpenAI-compatible APIs. You bring your own API keys — there's no intermediary markup or usage surcharge. Each project can use a different model depending on the task.
GLM-5.2 — Full reasoning
GPT-5.3 Codex — Latest coding model
Claude Sonnet — Balanced codingClaude Fable — Lightweight and fast
Problems SaaSClaw Solves #
Infrastructure #
SaaSClaw runs on a single Hetzner dedicated server. Here's the full architecture: