AI-POWERED SCHEMA GENERATION

Describe it. Get a
production-ready schema.

Describe your app in plain English and Kozo designs a normalized, indexed, migration-ready Postgres schema in seconds.

THE PRODUCT

One prompt. A whole schema.

Type what your app does and watch Kozo lay out the tables, keys, and relationships — then flip to the migration SQL when you’re ready to ship.

KOZO · GENERATOR

PROMPT

A SaaS app with teams, projects, and billing

Multi-tenant: scope rows by team

Projects belong to a team

Invoices track billing per team

users
  • iduuid
  • team_iduuid
  • emailtext
  • roletext
teams
  • iduuid
  • nametext
  • plantext
projects
  • iduuid
  • team_iduuid
  • nametext
invoices
  • iduuid
  • team_iduuid
  • amount_centsint
  • statustext
Export · PrismaExport · DrizzleExport · SQLAlchemy
4
TABLES
Normalized to 3NF
6
FOREIGN KEYS
Referential integrity
5
INDEXES
On FKs + hot columns
12
CONSTRAINTS
NOT NULL · unique · check
6.2s
GENERATED
Prompt to DDL

FIG. 01 · PROMPT TO PRODUCTION

“Prompt panel, generated ER diagram, and the migration SQL — from a single sentence.”

POSTGRES · 3NF
WORKS WITH YOUR STACK

Postgres-first DDL, plus exports for the ORMs and query builders your team already ships. Generate the schema once — take it wherever you build.

PostgreSQL
MySQL
Prisma
Drizzle
Supabase
SQLAlchemy
PostgreSQL
MySQL
Prisma
Drizzle
Supabase
SQLAlchemy
TypeORM
Rails
Django
Sequelize
Knex
Mongoose
TypeORM
Rails
Django
Sequelize
Knex
Mongoose

Plus raw Postgres DDL, ActiveRecord, GORM, Ecto, and plain SQL migrations — MySQL output is on the roadmap.

WHAT YOU GET FROM EVERY GENERATION

0+
SCHEMAS GENERATED

Across SaaS, e-commerce, social, and analytics.

3NF
BY DEFAULT

Normalized, keyed, and indexed — every time.

0
EXPORT FORMATS

Postgres DDL, Prisma, Drizzle, SQLAlchemy, and more.

0s
SETUP

Prompt to production-ready schema in under a minute.

THE FEATURES

Six surfaces. One generator that gets your data.

Every feature is shaped around a real moment in your workflow — describing the app, reviewing the model, hardening it, and exporting it into your codebase.

schema · new

DESCRIBE YOUR PRODUCT

A marketplace where sellers list products and buyers leave reviews

KOZO ASKS

Can a buyer also be a seller?
Should reviews allow images?
01DESCRIBE

Plain-English input

Describe your product. Kozo asks the right questions and infers entities, fields, and types — no DDL knowledge required.

  • Conversational clarifying questions
  • Infers entities, fields, and column types
  • Understands multi-tenant and ownership rules
3nf · relational model
users
  • id
  • email
  • name
orders
  • id
  • user_id
  • total
order_items
  • order_id
  • product_id
  • qty
products
  • id
  • sku
  • price
02MODEL

Normalized relational model

3NF tables, primary and foreign keys, junction tables for many-to-many, and sensible defaults — the model a senior data engineer would draw.

  • Third normal form by default
  • Junction tables for many-to-many
  • Sensible defaults and timestamps
constraints + indexes
  • PRIMARY KEY (id)
  • FOREIGN KEY (team_id) → teams(id)
  • UNIQUE (email)
  • CHECK (amount_cents >= 0)
  • INDEX ON projects(team_id)
03HARDEN

Indexes & constraints

Indexes on foreign keys and hot columns, unique and check constraints, and NOT NULL where it actually matters — performance and integrity baked in.

  • Indexes on FKs and hot columns
  • Unique and check constraints
  • NOT NULL where it matters
04EXPORT

Migration SQL export

Copy-paste Postgres DDL, or export Prisma, Drizzle, and SQLAlchemy models. The schema arrives in the shape your codebase already expects.

  • 01

    Valid Postgres DDL · run it as a migration

  • 02

    Prisma · Drizzle · SQLAlchemy models

  • 03

    One-click copy, no cleanup needed

export · postgres
SQLPrismaDrizzleSQLAlchemy
CREATE TABLE users (
id uuid PRIMARY KEY,
email text UNIQUE
);
er diagram
teams
projects
tasks
05SEE

Visual ER diagram

See tables and relationships laid out so you can spot a missing join or a dangling reference before you ship — not in production.

  • Tables and relationships at a glance
  • Spot missing joins before you ship
  • Click a relationship to trace the key
template library

SaaS multi-tenant

Proven starter

E-commerce

Proven starter

Social feed

Proven starter

Analytics events

Proven starter

06START

Template library

Start from proven schemas — SaaS multi-tenant, e-commerce, social, analytics, and more — then describe the differences instead of starting from a blank page.

  • SaaS · e-commerce · social · analytics
  • Battle-tested starting points
  • Customize by prompt, not by hand
SCHEMA QUALITY, CHECKED

Three dimensions. One schema you can trust.

Every schema Kozo generates is graded the way a senior reviewer would grade it — so you ship a model that’s correct, not just plausible.

96
/ 100

Normalization

Higher is better

Checks for third normal form — no repeating groups, no partial or transitive dependencies. Many-to-many gets a junction table, not a comma-separated column.

92
/ 100

Integrity

Higher is better

Verifies every relationship has a foreign key, every table a primary key, and that unique, check, and NOT NULL constraints guard the columns that need them.

88
/ 100

Performance

Higher is better

Confirms indexes cover foreign keys and hot query columns, and flags wide tables or missing composite indexes before they become slow queries in production.

THE CHECK

quality = (normalization + integrity + performance) / 3

Across all three dimensions, this schema scores 92/100 production-ready. Every check is explained, so you know exactly what to fix.

92
Ready
HOW IT WORKS

Three steps. Sixty seconds.

No schema knowledge required. No diagramming tools. No migrations to hand-write. Describe, generate, ship.

01

Describe

Type what your app does, in plain English. No DDL, no diagrams, no blank-page paralysis — just the product in a sentence or two.

02

Generate

Kozo designs the tables, keys, indexes, and relationships — normalized to 3NF, with constraints and indexes where they matter. In seconds.

03

Export

Grab the migration SQL or ORM models — Prisma, Drizzle, SQLAlchemy — and ship. Run it as a migration as-is, or save the version to your library.

BY HAND VS. WITH KOZO

Skip the hours of manual modeling.

Hand-modeling tables, writing keys, remembering indexes, and authoring migrations takes hours — and one missed constraint ships a bug. Kozo does it in seconds, normalized and indexed, every time.

By handHours
Manual
Table effort
90
Integrity
70
Indexes
35
7 mistakes likelyschema.sql
FEWER
0
mistakes shipped
With KozoSeconds
Done
Table effort
100
Integrity
100
Indexes
95
0 mistakes likelyschema.sql

WHAT KOZO HANDLES FOR YOU

Normalized to 3NF automatically

Every FK indexed by default

Constraints you would have forgotten

Migration SQL ready to run

PRICING

Start free, scale when you ship.

Free covers side projects and the occasional schema. Pro is for the developers who model new data every week and want every export format.

Free

$0forever

For solo devs and side projects that need a schema now and then.

Try the demo
  • 10 schemas per month
  • All core generation features
  • Normalized 3NF relational model
  • Indexes, keys, and constraints
  • Postgres DDL + visual ER diagram
Most popular

Pro

$15/ month

Cancel anytime. Unlimited schemas, every export format.

For developers who model new data every week.

Start Pro →
  • Unlimited schemas
  • All export formats: Prisma, Drizzle, SQLAlchemy
  • Version history for every schema
  • Full template library
  • Priority generation
  • Priority support

FAQ · STRAIGHT ANSWERS

Questions. Answered.

Everything you’d want to know about databases, exports, privacy, and pricing. Tap a question to expand.

Postgres-first DDL, with exports for Prisma, Drizzle, and SQLAlchemy. MySQL output is on the roadmap.

READY WHEN YOU ARE

Stop hand-writing migrations.

Describe your app, get a normalized, indexed, migration-ready Postgres schema in seconds. Free for 10 schemas a month. No card required.

Your prompts and schemas are scoped to your account — never used to train models.