REQUIREMENTS AI QUERY LANGUAGE · STABLE 1.0

Make software requirements executable.

RAIQL 1.0 is the stable declarative language for describing application structure, data models, APIs, access rules and delivery intent in a specification that can be parsed, validated and compiled into working web applications, API services and mobile clients.

01 Human-readable02 Machine-validatable03 Runnable generation
commerce.raiqlvalid
CREATE APPLICATION "Commerce Core";
TYPE WEB;

USE STACK
  FRONTEND NEXTJS,
  BACKEND NEXTJS,
  DATABASE POSTGRESQL;

CREATE ENTITY Product (
  id UUID PRIMARY,
  name STRING REQUIRED,
  price DECIMAL REQUIRED,
  ownerId UUID REQUIRED
);

CREATE API Product;
CREATE CRUD Product;
CREATE USER ENTITY User;
ADD AUTHENTICATION EMAIL_PASSWORD, JWT;
ADD ROLE ADMIN, USER;
DEFAULT ROLE USER;
RELATE Product.ownerId TO User.id;
OWN Product BY ownerId;
ALLOW ADMIN CREATE Product, READ Product, UPDATE Product, DELETE Product;
ALLOW USER CREATE OWN Product, READ OWN Product, UPDATE OWN Product, DELETE OWN Product;

GENERATE TESTS;
BUILD;
RAIQL compilersource → AST → IR → generators
One specification Explicit intent Deterministic structure Extensible generation
WHY RAIQL

Prompts explain. Specifications define.

Natural-language prompts are excellent for exploration, but software delivery needs stable structure. RAIQL captures the parts of an application that should be explicit—its type, technology stack, domain model, APIs, security intent and build actions.

The compiler turns that source into a normalized intermediate representation so downstream tools operate on a predictable contract instead of re-interpreting prose.

Understand the compiler →
01RAIQL sourceReadable requirements
02Parser + validationDeterministic language core
03RAIQL IRStructured application contract
04GeneratorsRunnable applications and delivery artifacts
LANGUAGE SURFACE

Describe the system, not every keystroke.

RAIQL keeps intent close to the product model while leaving implementation detail to the selected stack and generators.

APP

Application targets

Generate full-stack web apps, API-only services or Expo mobile clients from explicit target intent.

TYPE WEB | API | MOBILE;
DATA

Domain model

Define entities, fields, types, constraints and relationships.

CREATE ENTITY Product (...);
API

Application surface

Express CRUD and API generation intent against named entities.

CREATE API Product;
AUTH

Security intent

Generate persisted users, JWT sessions, role rules and per-user record ownership.

ADD ROLE ADMIN, USER;
DB

Persistent data

Generate Prisma models, PostgreSQL persistence and relation-aware database contracts.

DATABASE POSTGRESQL;
SHIP

Delivery intent

Attach tests, build and deployment targets to the specification.

DEPLOY DOCKER;
SAFE

Dependency hardening

Pin generated dependencies, create reproducible locks and audit release trees.

raiql audit
COMPAT

Controlled evolution

Inspect project, language and plugin contracts before upgrading generated systems.

raiql migrate
1.0

Stable contract

Frozen grammar, IR semantics, plugin API 1 and controlled maintenance releases.

RAIQL 1.0
READABLE BY DESIGN

A concise language for application architecture.

RAIQL syntax favors explicit statements and familiar data-model concepts. The same source can be read during planning, reviewed in pull requests and consumed by the compiler.

  • Semicolon-delimited statements
  • Typed entity fields and modifiers
  • Cross-reference validation
  • Machine-readable intermediate representation
domain.raiql
CREATE ENTITY Order (
  id UUID PRIMARY,
  customerId UUID REQUIRED,
  total DECIMAL REQUIRED,
  status STRING REQUIRED
);

RELATE Order.customerId TO Customer.id;
CREATE API Order;
LEARN BY BUILDING

One ServiceDesk. Ten practical tutorials.

Start with a single Ticket entity and progressively add PostgreSQL, authentication, ownership, tenancy, OpenAPI, jobs, tests, environment contracts and production deployment.

Follow the complete tutorial path →
DOCUMENTATION

Learn the language from first declaration to build intent.

The documentation covers the complete frozen 1.0 surface: syntax, web/API/mobile targets, PostgreSQL persistence, authentication, authorization, tenancy, OpenAPI/SDK generation, events/jobs, testing, observability, extensions/registry, environments/secrets, compatibility/migration, cloud deployment, compiler behavior and CLI workflows.

WRITE YOUR FIRST SPECIFICATION

Start with requirements.
Compile into software.