ORM — Planned

Type-safe queries for all 14 data models.

Auto-generated types from schema, multi-model joins, and migration management. One ORM for SQL, vectors, graphs, timeseries, documents, and more.

Multi-ModelType-Safe6+ LanguagesACID14 Data Models

Core Features

Multi-Model Queries
Join SQL users with vector embeddings and graph relationships in one fluent query.
Type Generation
Auto-generate types from schema for TypeScript and Rust. Full compile-time safety.
Migration System
Version-controlled schema changes with rollback support across all 14 data models.
ACID Transactions
Multi-model transactions with full rollback. All operations succeed together or fail together.

Multi-Model Power

Search vector embeddings, join with SQL tables, and traverse graph relationships — all in a single fluent query. The ORM routes each part to the optimal storage engine automatically.

Insert a SQL row, store its vector embedding, and create graph relationships in one atomic transaction. If any step fails, everything rolls back. No partial states, no data inconsistency across models.

Language Support

Native implementations for every supported language, each designed to feel idiomatic.

TypeScript
Full type inference with Zod schemas
Rust
Compile-time type guarantees
Mojo
Native tensor data model support
Go
pgx/v5 transport, goroutine-safe
Python
Async with asyncpg, Pydantic models
Zig
Low-level embedded use cases
Julia
Scientific computing, GPU integration

Migration System

Version-controlled schema changes across all 14 data models. The ORM detects diffs between your schema and database, generates type-safe migration files (not raw SQL), and applies them with zero-downtime online schema changes.

Every migration includes a tested rollback function. Git-friendly files with conflict detection when multiple developers change schema simultaneously.

CLI Commands

nucleus migrate generate <name>Create migration from schema diff
nucleus migrate upApply pending migrations
nucleus migrate downRollback last migration
nucleus migrate statusShow applied/pending migrations
nucleus migrate validateCheck migrations for errors
nucleus migrate resetRollback all migrations (dev only)

Get Started

# Coming soon# Follow development at github.com/tystack