Skip to content
Documentation

Build with Yaib

Everything you need to go from a prompt to a deployed, secure app.

Quickstart

Describe what you want in the trial console on the home page — no signup needed:

prompt
Build a CRM to track customers and deals

Yaib matches a domain, plans the entities, and scaffolds each one — a migration, forced row-level security, a data layer, server actions, a page, and a passing test. Open the Studio to build without limits.

Open the Studio

Core concepts

Features

A feature is a typed resource (fields like text, number, enum, date, reference, file). Yaib scaffolds the full stack for it deterministically — the model chooses the spec, the platform owns the code.

Organizations & tenancy

Every app is multi-tenant. Data belongs to an organization, and access is scoped to the signed-in member — enforced by the database, not just the UI.

The verifier

Four planes gate every build: security, correctness, design, and cost. Security and correctness are blocking — a red build never ships.

Security model

Isolation is enforced with forced Postgres row-level security. Every table gets per-command policies keyed to your org and the acting user:

migrations/0101_rls_customer.sql
ALTER TABLE customer ENABLE ROW LEVEL SECURITY;
ALTER TABLE customer FORCE ROW LEVEL SECURITY;

CREATE POLICY tenant_update ON customer FOR UPDATE TO app_user
  USING (organization_id = current_setting('app.current_org_id', true)
    AND (created_by = current_setting('app.current_user_id', true)
      OR current_setting('app.current_member_role', true) IN ('owner','admin')));

Secrets live in an encrypted vault and never reach client code or version control.

What it can build

  • Tables with filters, sorting, and search — injection-safe by construction.
  • Kanban boards, attachments (magic-byte validated), and modules/app-shell navigation.
  • Auth, RBAC, admin panels, and role-gated actions.
  • CSV import/export, image generation, and demo data.
  • Technical docs (PRD/BRD/SA/HLD/LLD) generated from your build.

Preview & deploy

Every green build produces a live preview and a restore point you can revert to. Deploy runs a launch gate first — the same security, correctness, and design checks — so nothing ships that wouldn't pass review.

Export & integrations

Push your project to GitHub or GitHub Enterprise (secrets never included). Wire integrations like Stripe, Resend, and Twilio — server-only and egress-allowlisted — and connect MCP tools through a default-deny broker.

Need something specific? Talk to us.

Docs — Yaib