🚀 aiplang v2.1 — now with Email, Jobs & Admin Panel

The AI-First
Web Language

Build complete apps in 20 lines with Claude. Frontend + Backend + DB + Auth in one .aip file. 620 tokens vs 15,000 for React.

Get started — npx aiplang init View on GitHub →
app.aip — complete SaaS in 24 lines
# Backend
~db sqlite ./app.db
~auth jwt $JWT_SECRET expire=7d
~mail smtp host=smtp.mailgun.com user=$MAIL_USER pass=$MAIL_PASS
~admin /admin

model User {
  id       : uuid : pk auto
  email    : text : required unique
  password : text : required hashed
  plan     : enum : starter,pro : default=starter
  ~soft-delete
}

api POST /api/auth/register {
  ~validate email required email | password min=8
  ~unique User email $body.email | 409
  ~hash password
  insert User($body)
  ~mail $inserted.email "Welcome!" "Account created."
  return jwt($inserted) 201
}

# Frontend
%dashboard dark /dashboard
@users = []
~mount GET /api/users => @users
nav{MySaaS>/logout:Sign out}
stats{@stats.total:Users|@stats.mrr:MRR}
table @users { Name:name | Email:email | Plan:plan | edit PUT /api/users/{id} | delete /api/users/{id} }
foot{© 2025 MySaaS}
620
Tokens per app
vs 15,000 for React
1
File for entire app
vs 20+ for Next.js
98
Lighthouse score
vs 62 for React CRA
~2%
AI error rate
vs 28% for React

Everything built-in

No config. No boilerplate. One file — frontend, backend, database, auth, email, jobs.

AI-first syntax

Designed for LLM generation patterns. Zero ambiguity — Claude generates correct aiplang in 98% of first attempts.

🗄️

ORM + Auto migration

Define models, get tables. Soft deletes, timestamps, relationships, paginate, sum, avg — all built-in.

🔐

Auth & JWT

~auth jwt, ~hash, ~check, ~guard, ~unique. Register, login, protected routes in 4 lines each.

📧

Email transactional

~mail SMTP with any provider. Send emails inline in routes. Nodemailer-powered with mock fallback.

⚙️

Jobs & Queue

~dispatch jobName, ~on Event => action. In-memory queue with 3x retry. Event-driven architecture built-in.

🖥️

Auto Admin Panel

~admin /admin generates a full CRUD dashboard for all models. Pagination, delete, edit — zero code.

🚀

SSG Frontend

Compiles to static HTML. Zero JS for static content. Reactive hydration only where needed (10KB).

🌐

Deploy anywhere

Frontend: Vercel, Netlify, S3, GitHub Pages — $0/month. Backend: any Node.js host or Go binary.

🗑️

Soft deletes

Add ~soft-delete to any model. All queries automatically filter deleted records. Restore with one command.

aiplang vs the alternatives

Objective comparison. Numbers based on public benchmarks.

Metric aiplang Laravel Next.js React
Tokens per app62011,80015,20015,200
Files generated122+20+18+
AI generation time0.6s12s15s15s
AI error rate~2%~22%~28%~28%
First paint (4G)45ms80ms90ms320ms
Lighthouse score98748262
JS on client10KB44KB90KB280KB
Backend req/s52,0006,5008,000
Zero config setup
Infra cost (frontend)$0$20+/mo$0$0
Ecosystem maturityv2.1 new12 years8 years11 years

Get started in 30 seconds

No account required. No credit card. Just Node.js 16+ and a Claude account.

$ npx aiplang init my-app
$ cd my-app && npx aiplang serve
$ npx aiplang start app.aip # full-stack

npmjs.com/package/aiplang →