What Ships
Before you build something an app commonly needs, check whether the framework already does it. Each line below links to the page that covers it and says where it comes from:
- Built in — part of the kernel every app has.
- Included with
zerotal— one of the packages thezerotalbundle installs. Every starter depends on it. - Add
@zerotal/…— a separate package. Install it withbun add.
A coding agent working in your app gets the same list in AGENTS.md, marked
against what the app has installed. See Agent Surface.
Accounts and access
- Multi-tenancy — tenant resolvers and tenant-scoped models. Add
@zerotal/tenancy. - Roles and permissions — the
RolesandPermissionsmodel mixins,Auth.can(). Included withzerotal. - Policies — policy classes in
app/policies/, discovered automatically. Included withzerotal. - Two-factor sign-in — TOTP codes and recovery codes. Included with
zerotal. - Passkeys, magic links, email codes —
PasskeyServiceand passwordless login. Included withzerotal. - Sign in with GitHub, Google or Apple — OAuth drivers. Included with
zerotal. - Password reset —
PasswordBroker. Included withzerotal. - Email verification — signed links and
ValidateSignatureMiddleware. Included withzerotal. - An audit trail — the
Auditablemixin and manual audit events. Add@zerotal/audit.
Data
- Caching — SQLite, Redis and memory drivers with tags. Included with
zerotal. - Locks across processes —
zerotal/lock. Built in. - Database backups —
bun zt db:backup(SQLite). Built in. - Seed and demo data — seeders and model factories. Built in.
- Validation —
FormRequestclasses andvalidate(). Included withzerotal.
Files
- File uploads and image conversions — media attached to models. Included with
zerotal. - File storage — local and S3-compatible disks. Built in.
Messages and background work
- Mail, SMS and in-app notifications — notification classes, one per message. Add
@zerotal/notifications. - Background jobs — job classes and a worker, on the app's own database (SQLite, PostgreSQL, MySQL) or Redis. Included with
zerotal. - Scheduled tasks —
Scheduleclasses inapp/schedules/. Included withzerotal.
Product features
- An admin panel — declarative resources, tables, forms and dashboards. Add
@zerotal/admin. - Per-tenant settings — typed defaults in code with tenant and user overrides, hidden not deleted, audited, with an admin screen. Add
@zerotal/settings. - Realtime updates — authorised broadcast channels. Add
@zerotal/broadcasting. - Translations —
__()with plurals and per-request locale. Add@zerotal/i18n. - Calls to a language model —
Ai.text(),Ai.object(),Ai.agent(). Add@zerotal/ai.
Security and operations
- Rate limiting —
ThrottleMiddlewareand named limiters. Built in. - Encryption and hashing — encrypt, hash and sign helpers. Built in.
- Maintenance mode and a pre-launch gate — the site gate. Built in.
- Health checks — a
/healthendpoint with your own checks. Built in. - A production dashboard — requests, jobs, errors and alerts. Add
@zerotal/monitor. - Tracing — spans with OTLP export. Add
@zerotal/telemetry.
Testing
- Tests against a booted app —
createTestApp(), factories and fakes. Included withzerotal.