Laizy CMS

Laizy CMS Documentation

Everything you need to build with Laizy CMS — from schema definitions to production deployments.

Welcome to Laizy CMS

Laizy CMS is an AI-native headless CMS built for developers who want the power of schema-as-code with the simplicity of a managed platform.

What makes Laizy different

  • Schema-as-Code — Define content models in .laizy files, version them in Git, sync to your database with one command
  • Type-Safe Clients — Auto-generated TypeScript clients with full autocomplete and type safety
  • CLI-First Workflow — Every operation is a CLI command, making automation and AI agent integration trivial
  • AI Content Creation — Non-technical teams create content through natural language chat
  • Multi-Tenant — Built for agencies and teams managing multiple projects from a single account

Quick start

Get a working Laizy CMS project in under five minutes:

pnpm add laizy-cms
pnpm laizy init

Define your first content model:

model BlogPost {
  title: String {
    required: true
    maxLength: 200
  }
  content: String {
    required: true
  }
  slug: String {
    required: true
    unique: true
  }
}

Sync and generate your client:

pnpm laizy sync
pnpm laizy generate

Use the generated client in your app:

import { LaizyClient } from './generated/laizy';

const client = new LaizyClient(managementClient);
const posts = await client.blogPost.findMany();

Next steps

On this page