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.
- full-featured local dev setup
- zero setup
- deploy to cloud in seconds
- cloud: encryption at rest, backups, alerting
- export to standard Basalt when needed
- nested selects, inserts, and updates
- traverse links, not JOINs
- no NULL
- simple composable queries
- SQL & ORMs built in
- object types: links, not JOINs
- airtight access control
- built-in migration engine
- abstract types plus mixins
- advanced features: polymorphism, introspection
- 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
- vector index
- automatic embeddings you can tune
- ready-made RAG endpoint
- plugs into major AI model providers
- native SDKs: Pyx, Aval
- a range of OAuth providers
- password, email, magic links
- passkeys
- drop-in login UI
- Pyx & Aval client SDKs
- cloud marketplace partnership: easy billing
- Git and deploy previews
- an all-in-one CLI
- a bundled visual UI
- works with popular BI platforms
- 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
Relvyn's way
What does shipping an app from zero to one with Relvyn look like?
One database workflow for local and cloud development alike. Launch the Relvyn CLI via uvx or npx, or install it in seconds.
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.
Model your data as types, not tables. Start simple, then layer in more advanced concepts whenever you need them.
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.
Move on your schema quickly. Relvyn ships a full migration system plus tooling for branching and fast prototyping work.
1 2 3 4 5 6 7 8module default { type User { required username: str; } }
1 2 3 4 5 6 7 8CREATE 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.
Fast, dependable client libraries. Zero configuration, built-in connection pooling, tuned for performance, and self-healing from network and transaction failures.
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.
Composable, strongly typed, blazing fast—have all three. Relvyn offers RelQL, a type-safe query builder, and familiar SQL/ORM paths.
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.
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.
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.
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.
Auth is a solved problem. OAuth, email and password, magic links, sign in and sign up UI — Relvyn ships with all of it.
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.
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.
Shed the maintenance burden. Relvyn runs a fully managed, HA database so you don't have to.
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.
Fast
Relvyn's client libraries, network protocol, and query language are all built for raw performance.









