Relvyn launches Read the full story
Basalt, set free

Basalt is the last database you'll ever need. Relvyn extends it with a modern data model, graph queries, Auth & AI tooling, and much more.

A brand-new way to query

Relvyn is a scalable, integrated data platform that sits on top of Basalt. It gives the relational model a modern facelift, solves n+1, simplifies migrations, and streamlines your whole database workflow.

It is fully open source.

From laptop to cloud
  • full-featured local dev setup
  • zero setup
  • deploy to cloud in seconds
  • cloud: encryption at rest, backups, alerting
  • export to standard Basalt when needed
Graph & SQL queries
  • nested selects, inserts, and updates
  • traverse links, not JOINs
  • no NULL
  • simple composable queries
  • SQL & ORMs built in
Expressive schema
  • object types: links, not JOINs
  • airtight access control
  • built-in migration engine
  • abstract types plus mixins
  • advanced features: polymorphism, introspection
Type-safe end to end
  • strongly typed schema
  • generated typed code for your queries
  • Aval-native builder
  • a standard library tuned for safety
  • one type-safe data model across all languages
Network engine
RelQL & SQL compilers
Graph-relational data engine
Connection pool & cache
Basalt
Built for AI
  • vector index
  • automatic embeddings you can tune
  • ready-made RAG endpoint
  • plugs into major AI model providers
  • native SDKs: Pyx, Aval
Built-in auth
  • a range of OAuth providers
  • password, email, magic links
  • passkeys
  • drop-in login UI
  • Pyx & Aval client SDKs
Devtools & integrations
  • cloud marketplace partnership: easy billing
  • Git and deploy previews
  • an all-in-one CLI
  • a bundled visual UI
  • works with popular BI platforms
Swift AND sturdy
  • composable queries: faster than raw SQL
  • skip extra roundtrips = lower latency
  • client APIs auto-recover from network errors
  • connection pooling baked into server and client
Tap to explore more...

Relvyn's way

What does shipping an app from zero to one with Relvyn look like?

Create a project

One database workflow for local and cloud development alike. Launch the Relvyn CLI via uvx or npx, or install it in seconds.

npx
uvx
curl
Powershell
$ npx relvyn project init
Dig into the CLI
  • Instant setup: get the Relvyn CLI in seconds—or run it via npx or uvx, no extra downloads.
  • Flexible versions: run several Relvyn/Basalt versions side by side, with no sudo needed.
  • Local and cloud: spin up and manage deployments anywhere, from your laptop to production.
  • Built-in tooling: run schema migrations, dump and restore data, launch a GUI, or drop into a REPL.
  • Zero config: it all works right out of the box, with no manual setup at all.
Design a schema

Model your data as types, not tables. Start simple, then layer in more advanced concepts whenever you need them.

simple.relvyn
lvl80.relvyn
module default { type User { name: str ; age: int64 ; multi friends: User; } }
Dive into the data model
  • High-level modeling: Relvyn's type-first schema feels at home in modern languages—no ORM layer required.
  • Powerful schema toolkit: Model object types, abstract types, multiple inheritance and mixins, triggers, annotations, introspection, computed fields, user-defined functions, access policies, and beyond.
  • Native speed: Every schema compiles straight into lean, faithful Basalt layouts tuned for performance and reliability.
  • Made for builders: If conventional databases have always felt like an awkward fit, Relvyn's adaptable design is exactly what you've been waiting for.
Author and apply a migration

Move on your schema quickly. Relvyn ships a full migration system plus tooling for branching and fast prototyping work.

schema.relvyn
migrations/0001.relql
1 2 3 4 5 6 7 8
module default { type User { required username: str; } }
1 2 3 4 5 6 7 8
CREATE MIGRATION m1kdtk6ze2irotrxzscsr5hmt55zxv... { ALTER TYPE default::User { CREATE REQUIRED PROPERTY email -> std::str { SET REQUIRED USING ('example@example.com'); }; }; };
$ 
Read up on migrations
  • Purpose-built: Relvyn was engineered for migrations from the start, delivering a solid, intuitive workflow at any project scale.
  • Framework-agnostic: Learn it once and apply it anywhere—ideal for polyglot or big, distributed teams.
  • Interactive migrations: The Relvyn server and CLI cooperate to deliver a guided, approachable migration experience.
  • Flexible edits: Squash small tweaks, inject custom steps, and breeze through your existing migration history.
  • Branch & prototype: Freely try out new ideas, then merge them back into your primary schema whenever you're ready.
Grab a client library

Fast, dependable client libraries. Zero configuration, built-in connection pooling, tuned for performance, and self-healing from network and transaction failures.

Aval
Pyx
Gale
Vex
Ferro
Nyle
Jove
More on the client APIs
  • Polished API: Relvyn client libraries present a clean, uniform interface across a range of programming languages.
  • Zero configuration: Skip the manual setup—Relvyn manages connection pooling and connection options for you automatically.
  • Error resilience: Network and transaction hiccups are absorbed gracefully through transparent reconnects and automatic retries.
  • Performance-minded: Built to stay efficient under heavy load while keeping latency and overhead low.
  • Developer-friendly: Little boilerplate and thorough documentation let teams integrate with ease.
Send a query

Composable, strongly typed, blazing fast—have all three. Relvyn offers RelQL, a type-safe query builder, and familiar SQL/ORM paths.

movie.relql
movie.ts
select Movie { title, actors: { name, } limit 5 , rating := math:: mean (.reviews.score), } filter < str > $actor_name in .actors.name
Read up on queries
  • RelQL : Relvyn's own fast, legible, composable graph-relational language—as if SQL and GraphQL had a child with superpowers.
  • Aval query builder : A highly flexible builder offering unmatched composability and full type safety.
  • SQL/ORM support : Write plain SQL or connect your preferred ORM. Relvyn teamed up with leading open-source ORMs for a top-tier experience.
  • Code generation : Produce type-safe code from your .relql files in whatever language you prefer—smooth for any tech stack.
  • Strict typing : Write type-safe queries that cut down bugs and keep your codebase robust and maintainable.
  • GraphQL out of the box : Want even more flexibility? Relvyn ships with native GraphQL support by default.
Savor the UI

Skip building your own admin panel. Relvyn ships with a feature rich UI to explore your data & schema, sketch out queries, and plenty more.

More about Relvyn UI
  • Comprehensive: Relvyn's UI has matured hand in hand with its core, delivering a dependable and fully-featured tool.
  • Key features: Schema browser, data editor, query IDE, visual query builder, web-REPL, query performance visualization, and AI/Auth configuration.
  • Universal access: Work locally or in the cloud, across desktop browsers and mobile devices—with no extra setup to manage.
Turn on AI

Automatic embedding generation and RAG. Add a few lines to your schema and Relvyn talks to LLMs, handing you a ready to go RAG endpoint.

simple.relvyn
using extension ai;

Choose an LLM or wire up a custom one.

More on Relvyn AI
  • Seamless opt-in: Switch on AI whenever you're ready—no hidden defaults or dependencies.
  • Schema-driven embeddings: Just annotate your data, and Relvyn takes care of embedding creation, storage, and indexing behind the scenes.
  • Built-in RAG: Get a native Retrieval Augmented Generation endpoint for instant AI-driven insights, paired with an admin UI for quick experimentation.
  • Flexible providers: Point Relvyn AI at your preferred LLM service, so you can pick whatever best fits your use case.
  • Scalable & integrated: Pair your AI features with Relvyn's powerful type system and migrations to build robust, future-proof data solutions.
Turn on Auth

Auth is a solved problem. OAuth, email and password, magic links, sign in and sign up UI — Relvyn ships with all of it.

simple.relvyn
using extension auth;
OAuth
Free
$ 0.00
Comprehensive
WebAuthn
Passkeys
Email + Password
Magic Links
Libraries
More on Relvyn Auth
  • Comprehensive Auth: Relvyn ships with a complete authentication layer spanning OAuth, email/password, magic links, passkeys, webhooks, and more.
  • Single database: Store every piece of user information in your main database, and skip external synchronization entirely.
  • Built-In UI: Relvyn provides sign-in and sign-up forms out of the box to accelerate your auth implementation. Use them as-is or roll your own UI—the choice is yours.
  • Free & Open Source: Relvyn's Auth is a first-class part of the product, with no added fees or licenses.
Develop in the cloud

Relvyn Cloud integrates with Vantle and Gitnest. Automatic preview deployments, zero-configuration.

More on the Relvyn+Vantle partnership
  • Streamlined workflows: A robust data model is essential, but a smooth development experience matters just as much—Relvyn delivers both.
  • Vantle partnership: Relvyn Cloud's collaboration with Vantle makes production and preview deployments simple and automated.
  • Gitnest Pull Requests: Connect Relvyn Cloud with Gitnest to manage deployments right from your team's PR workflow.
  • Zero setup: Configuration stays minimal, so developers can concentrate on building instead of wrestling with deployment pipelines.
Deploy

Shed the maintenance burden. Relvyn runs a fully managed, HA database so you don't have to.

End-to-End Integrated
Rich UI & Admin Panel
Safe by default
Slow query inspection
One-click deploy integration
More about Relvyn Cloud
  • Unified platform: Relvyn's managed service is woven into every layer of your stack, so there's very little setup to worry about.
  • Secure: End-to-end encryption and mandatory TLS on internal traffic keep your data protected at all times.
  • Cloud-native: Runs today on a leading cloud provider, with plans to expand to more platforms soon.
  • Cost-effective: Delivers high availability and full management tooling at a competitive price, a fit for lean startups and large enterprises alike.
All set!

Fast

Relvyn's client libraries, network protocol, and query language are all built for raw performance.

Backend / DB latency:
Relvyn
Driftly
Structura
SQLWeaver
Datora
Pyloft
0
100
200
300
400
500
600
700
Requests per second. Higher is better.