What AI code generation usually means vs what Archiet does
| What you get from most AI code generators | What Archiet generates |
|---|---|
| A function, component, or module | A complete production codebase (500–3,000 files) |
| You wire it into your existing project | The app is already wired — frontend + backend + infra |
| Auth is suggested, not implemented | JWT auth in httpOnly cookies, route guards, password hashing, all working |
| Database schema is your job | SQLAlchemy models + Alembic migrations, already matching the data model |
| You write the OpenAPI spec | OpenAPI 3.1 spec is generated and the routes match it |
| Docker is out of scope | Multi-stage Dockerfile + docker-compose for local dev, included |
| CI/CD is your job | GitHub Actions workflow: lint → test → build → deploy |
| Documentation means comments | docs/decisions/ (ADRs), docs/traceability/, docs/compliance/, docs/security/posture.md |
What gets generated
A standard Archiet generation for a web application includes:
Backend (Flask, FastAPI, Django, NestJS, Laravel, Go, Java, Rails, .NET)
- All entity models with correct field types, foreign keys, and indexes
- Alembic (or framework-native) migration for every model field
- RESTful API routes matching the OpenAPI spec — list, get, create, update, delete, plus search
- Organization-scoped queries on every multi-tenant entity — no cross-tenant data leaks
- JWT auth middleware, bcrypt password hashing, protected route guards
- Integration stubs for Stripe, SendGrid, Slack, Twilio, PostHog — wired where the genome specifies
Frontend (Next.js, React, Vue)
- All pages: dashboard, auth flows (login, register, forgot password, verify email), settings, onboarding
- Route-level authentication middleware
- Typed API client matching the generated spec
- Tailwind CSS + shadcn/ui components
Mobile (React Native / Expo)
- Onboarding walkthrough, auth screens, settings tab
- JWT auth with secure token storage (never AsyncStorage in plaintext)
- EAS config, privacy policy screen, App Store review prompt, OTA update check
Infrastructure
- Multi-stage Dockerfile, docker-compose for local dev
- GitHub Actions CI/CD: lint, test, build, deploy
- Health check endpoints, structured logging
Documentation
docs/decisions/— 8–15 ADRs (one per material technical decision)docs/traceability/matrix.md— user stories → features → entities → routes → testsdocs/compliance/— GDPR DPIA, HIPAA risk assessment, PCI scope statement (when flagged)docs/security/posture.md— attack surface, auth controls, pre-launch checklist
Stacks supported
Archiet's AI code generation supports twelve target stacks:
- Python web: Flask + Next.js, FastAPI + React, Django + Next.js
- Node/PHP: NestJS + Next.js, Laravel + Next.js
- Other backend: Go + Chi, Java Spring Boot, Ruby on Rails + Next.js, .NET + Next.js
- Enterprise: Salesforce Apex, SAP CAP, Dynamics 365
- Desktop: Tauri + Rust (cross-platform desktop app)
The same blueprint generates output for the stack you pick. Switching stack means re-generating — the requirements don't change.
Quality scoring
Every generated codebase is scored across five dimensions before delivery:
- Auth security — cookie flags, token handling, route protection completeness
- API contract coverage — every route defined in the spec must exist in the code
- Migration completeness — every model field must have a migration
- File structure — no missing pages, screens, or config files
- Mobile compliance — App Store required files present and correct
Score below 80/100 is treated as a failure — the generation is flagged before you download.
How to use it
- Write a product requirements document (free-form or structured) — or describe your app in plain language
- Archiet's Blueprint Wizard turns it into a structured genome (entities, user stories, acceptance criteria, integrations)
- Pick your stack
- Generate — typical generation takes 45–90 seconds
- Preview in-browser (CodeSandbox for web, Expo Snack for mobile)
- Download the ZIP — or use the Code Workbench to edit files before downloading
vs line-by-line code generation tools
Tools like GitHub Copilot, Cursor, and Codeium are excellent at line-by-line suggestions inside an existing codebase. That's a different job. Archiet's AI code generation is for the greenfield moment: when you don't have a codebase yet and you need to go from requirements to a production-ready application.
After you have the Archiet-generated codebase, use Cursor or Copilot inside it for the day-to-day feature work. They're complementary, not competing.
CTA
Try Archiet's AI code generation — free plan, no credit card. Upload your PRD or describe your app, pick your stack, and see the generated codebase in under two minutes.
Start free at archiet.com.