Intent

DocsGenerate

Generate

A valid program compiles to contracts and running code. The spec stays the source of truth.

shell
intent generate examples/notifications/app.intent --out generated/notificationscd generated/notificationsnpm testnode --experimental-strip-types src/server.ts

TypeScript API

  • In-memory repository by default
  • PostgreSQL when DATABASE_URL is set
  • GET /health and GET /ready
  • Declared actors via the X-Intent-Actor header
  • Event persistence, PII redaction, Docker Compose, and generated tests

Other stacks

The same model also writes Python and Go backends, plus React, Angular, and Flutter clients. Those stacks share the TypeScript contract: CRUD, constraints, actor header, and health.

Security note

Put a real identity proxy in front of production traffic. Do not treat X-Intent-Actor as proof of identity on the public internet.