Get started here
Use the reference toolchain from the monorepo today. Packages are not on the public npm registry yet — clone the repo and run the CLI locally. Requirements: Node.js 20+, Git.1. Clone and install
@aiparlance/parser, validator, cli, and the Preview emitters (sql, openapi, typescript, go, mysql, workers, python, php, docs, tests).
2. Run the CLI
The binary lives atpackages/cli/dist/cli.js after build:
Try the minimal example
Blog CRUD happy path (TypeScript + SQL + OpenAPI)
GET /v1/posts is public; mutating routes need Authorization: Bearer <JWT> (signCrudToken in the generated file). Without DATABASE_URL the app stays in-memory.
3. Write your own .aip
Every v0.1 spec needs one app block first, then entity / crud / validation (Core). See Syntax and examples/.
my-app.aip, then:
Richer examples (
blog-crud.aip, crm-reference.aip, ops-reference.aip, inventory-crud.aip) include Infra / Security / Behavior and parse + validate with the full v0.1 toolchain. Use mysql-minimal.aip for aip emit mysql.4. Run the test suite
From the repo root:5. What ships vs what is preview
Read more: First emitters · CRUD walkthrough · Examples · Specification § Transpiler matrix · ROADMAP · CONTRIBUTING
