Requirements, expressed as code.
RAIQL is a declarative language for describing software systems in a form that remains readable to people while being structured enough for deterministic compilation and application generation.
Start with a complete program
A RAIQL specification typically declares an application, selects its stack, defines domain entities, exposes behavior, declares security intent and ends with delivery actions.
CREATE APPLICATION "Task Board";
TYPE WEB;
USE STACK
FRONTEND NEXTJS,
BACKEND NEXTJS,
DATABASE POSTGRESQL;
CREATE ENTITY Task (
id UUID PRIMARY,
title STRING REQUIRED,
completed BOOLEAN REQUIRED,
ownerId UUID REQUIRED
);
CREATE CRUD Task;
CREATE API Task;
CREATE USER ENTITY User;
ADD AUTHENTICATION EMAIL_PASSWORD, JWT;
ADD ROLE ADMIN, USER;
DEFAULT ROLE USER;
ENVIRONMENT development, staging, production;
SECRET DATABASE_URL, RAIQL_JWT_SECRET;
RELATE Task.ownerId TO User.id;
OWN Task BY ownerId;
ALLOW ADMIN CREATE Task, READ Task, UPDATE Task, DELETE Task;
ALLOW USER CREATE OWN Task, READ OWN Task, UPDATE OWN Task, DELETE OWN Task;
GENERATE OPENAPI;
GENERATE SDK TYPESCRIPT;
GENERATE TESTS;
BUILD;
DEPLOY AWS ECS;Documentation map
Getting started
Language fundamentals
Entities & data types
PostgreSQL & persistence
User authentication
Record ownership
Generated testing
Dependency security
APIs, auth & access
OpenAPI & typed SDK
Multi-tenant SaaS
Events & background jobs
AI-assisted requirements
Deployment adapters
AWS ECS deployment
Observability
API & mobile targets
Extension SDK
Plugin registry
Environments & secrets
Compatibility & migration
1.0 stability contract
Compiler & IR
Command-line interface
Build & deployment
Roadmap
Design principles
Important application intent should exist in source rather than be inferred repeatedly.
The compiler checks syntax and cross-references before generation begins.
WEB and API targets generate runnable Next.js projects; MOBILE targets generate runnable Expo clients. Server targets support zero-setup memory storage or persistent PostgreSQL through Prisma ORM.
A RAIQL file is compact enough to review alongside source code and architecture changes.