Skip to content

SurrealDB Labs

Find client SDKs, videos, development tools, and learning resources to help you build and scale your applications. Have something to share? Check out our guide on creating a new Lab to contribute your own.

Presentation

AI

Agent Memory for engineering knowledge

Agent Memory for both engineering teams and coding agents to store documents, runbooks, postmortems, and agent session learnings in one place.

Martin Schaer

AI engineer

Interactive demo

AI

Credit Downgrade Exposure Alerts with SurrealDB

When a counterparty is downgraded, an agent on SurrealDB traces your exposure through the graph, recalls past decisions and alerts the risk team.

Martin Schaer

AI engineer

Source code

AI

SurrealDB for AI Engineers

An eleven-lesson course from calling an LLM API to an agent that retrieves by meaning, remembers what it learned, writes its own queries, and more.

Martin Schaer

AI engineer

Presentation

AI

Your company brain: build it or buy it?

SurrealDB Enterprise Edition and Agent Memory compared

Martin Schaer

AI engineer

Interactive demo

AI

Company brain demo

An interactive company brain on SurrealDB and Agent Memory: one pricing decision followed through ingest, per-person permissions and every earlier version.

Martin Schaer

AI engineer

Interactive demo

Financial services
AI

Financial Services Ontology on SurrealDB

An interactive financial services ontology: eight source systems landing in one SurrealDB graph, with the SurrealQL behind every entity and relation.

Martin Schaer

AI engineer

Interactive demo

AI
Financial services

SurrealDB Agent Memory for financial services

Interactive demo of SurrealDB Agent Memory for financial services, showcasing scopes and temporality

Martin Schaer

AI engineer

Documentation

AI

SurrealDB agent skills

Official SurrealDB and Agent Memory skills for use in agentic coding workflows.

Martin Schaer

AI engineer

Interactive demo

AI

What is agent memory, and where does it fit?

The six categories of agent memory, what each one stores, and how they sit alongside the files, databases and graphs an AI stack already runs on.

Martin Schaer

AI engineer

Source code

Data management

Surform

A declarative schema definition language for SurrealDB — write the schema as a file, compile it to SurrealQL DDL, and diff it against the live database.

Jose Quesada

Creator of Surform

Article

Agent memory benchmarks are baked

Agent memory benchmark scores are recipes: answering model, judge, prompts and scoring rule. Here is how ours was made, including the numbers that lower it.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Introducing SurrealDB Agent Memory

SurrealDB Agent Memory gives AI agents persistent, queryable memory with provenance, temporal context, and hybrid retrieval.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

We are replacing RocksDB with SurrealKV 1.0

SurrealKV 1.0 is open source today: 7.95× faster point reads than RocksDB with synchronous durability, and the command to run the benchmark yourself.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Introducing SurrealMX: SurrealDB’s new in-memory storage engine

SurrealMX is SurrealDB’s high-performance in-memory storage engine, built for ultra-low latency, high concurrency, and millions of operations per second.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Introducing our new University course: “SurrealDB for AI Engineers”

Learn AI engineering hands-on with SurrealDB, from vector search and RAG to hybrid retrieval, agent memory, Text-to-SurrealQL, and context-layer architecture.

Martin Schaer

AI Solutions Engineer

Article

AI

Multi-hop graph traversal inside SurrealDB

Move breadth-first search into SurrealDB: recursive traversal with a depth range, predicates pushed into every hop, and what EXPLAIN says about edge indexes.

Martin Schaer

AI Solutions Engineer

Article

AI

Why does my vector search return nothing when I add a filter?

A filter applied after an HNSW walk can only remove rows, so a selective one comes back empty. Three measured SurrealDB fixes, plus the schema that avoids them.

Martin Schaer

AI Solutions Engineer

Article

AI

Building a filesystem-based agent memory on SurrealDB

Give an AI agent persistent memory as a filesystem in SurrealDB: computed file paths, fused full-text and vector search, and RBAC in a single PERMISSIONS clause

Martin Schaer

AI Solutions Engineer

Source code

Data management
AI

VentStream: Real-time CDC sync into SurrealDB

Stream PostgreSQL, MySQL, MongoDB, and Neo4j into SurrealDB in real time.

Bashiru Bukari

Founder, VentStream

Article

AI

Graph engineering is missing a graph

Graph engineering stops at the diagram. The harder half is the context graph underneath: whether relations, vectors and memory share one consistency boundary.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Testing known time in Agent Memory on a 2,200-year corpus

How to use asOf in Agent Memory to allow gating of spoilers to ensure that spoiler-filled memory, even if already ingested, does not show up if it should not.

Dave MacLeod

Article

Integrating Ultima VII with SurrealDB Agent Memory: the testing

How Ultima VII was integrated with SurrealDB Agent Memory via Exult code changes to emit events and a Rust app using egui between the game and Agent Memory.

Dave MacLeod

Article

AI

Chat with your meeting notes: CocoIndex graph with SurrealQL

A folder of Markdown meeting notes becomes a self-maintaining knowledge graph in SurrealDB with CocoIndex and Pydantic AI, fenced in by a database role.

Martin Schaer

AI Solutions Engineer

Article

AI

Empower your agents with the new SurrealDB MCP

The SurrealMCP server lets you add one URL to any AI tool, sign in with your Surreal ID, and deploy, query, and look after your SurrealDB Cloud account.

Matthew McFadden

Software Engineer

Article

Agent memory needs three clocks: tri-temporal belief history

Why tri-temporal belief history is needed for agent memory to properly simulate human memory and how to work with SurrealDB Agent Memory to best use it.

Dave MacLeod

Article

Integrating Ultima VII with SurrealDB Agent Memory: the game

Why Ultima VII through the Exult open-source game engine ended up being the perfect testing platform for SurrealDB Agent Memory

Dave MacLeod

Article

AI

One database for the whole claim: agentic claims on SurrealDB

An AI agent triaging insurance claims needs semantic, graph, and document data. Do it in one SurrealDB database.

Martin Schaer

AI Solutions Engineer

Article

AI

Even a jailbroken LLM can't exceed its database permissions

AI agents an be talked into modifying your data with a single polite request. SurrealDB's role-based access control lives in the data layer the LLM can't reach.

Martin Schaer

AI Solutions Engineer

Article

One graph for the whole maison: luxury retail on SurrealDB

How a high-end fashion house can model clients, artisans, products, and waitlists as one graph — with vector recommendations and full-text search built in.

Martin Schaer

AI Solutions Engineer

Article

AI

Modelling a financial services enterprise ontology in SurrealDB

Model a financial services ontology in SurrealDB: map ownership, custody, and transactions as a graph and resolve beneficial-ownership chains in one query.

Martin Schaer

AI Solutions Engineer

Article

AI

Temporal graph traversal: incident response in one query language

Model your security assets as a graph in SurrealDB and use the VERSION clause to time-travel through incidents. Schemas, seed data, and queries included.

Martin Schaer

AI Solutions Engineer

Article

AI

One query, not two stores: how SurrealDB makes agents accurate

Vector search and graph traversal in a single SurrealDB query. How single-engine hybrid retrieval makes RAG agents more accurate.

Martin Schaer

AI Solutions Engineer

Article

AI

Generating embeddings inside SurrealQL with a custom function

Define a custom SurrealQL function to call any embedding API, then run semantic search, graph traversal and field shaping in one query

Martin Schaer

AI Solutions Engineer

Article

AI

Bring SurrealDB to your Replit Agent

SurrealDB's MCP server lets Replit Agent build apps directly on a database you own, reading your schema and querying live data.

Chiru Boggavarapu

Senior Developer Experience Engineer

Article

Social graphs for activity-tracking apps

Build social graphs in SurrealDB: model followers, kudos, segments, and clubs as one graph, with friend-of-friend suggestions and leaderboards in one query.

Martin Schaer

AI Solutions Engineer

Article

AI

Build apps on your data with SurrealDB and Lovable

Connect SurrealDB to Lovable using the Model Context Protocol (MCP) to read your schema, query your live data, and build a working application on top of it.

Chiru Boggavarapu

Senior Developer Experience Engineer

Article

Deterministic simulation testing and its use at SurrealDB

How deterministic simulation works from easy to complex scenarios, and its ussage at SurrealDB's transactional key-value store and embedded key-value engine.

Dave MacLeod

Article

Organisations and Teams for your SurrealDB App

Bootstrapping multi-tenant orgs, roles, permissions, and the functions that enforce them - straight from SurrealKit templates.

Chiru Boggavarapu

Senior Developer Experience Engineer

Article

Fuzz testing for SurrealDB: finding bugs before users do

A good choice to complement unit and integration tests, fuzz testing lets you use semi-random data to discover obscure bugs before users do.

Dave MacLeod

Article

SurrealDB 3.x by the numbers: benchmarks and comparisons

Fresh SurrealDB 3.x benchmarks: 141k ops/s CRUD, scans 164× faster than 2.x, and head-to-head numbers vs. Postgres, Mongo, Neo4j, and Redis.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Use SurrealDB to see how Buffalo buffalo buffalo Buffalo buffalo

Using SurrealDB and Studio's graph visualisation to not just understand but also see how Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo works.

Dave MacLeod

Article

AI

Agentic retrieval for structured data with text-to-surql

An agentic pattern overview for structured retrieval that gives an LLM agent a database-aware tool that converts natural-language questions into valid SurrealQL

Martin Schaer

AI Solutions Engineer

Article

Schema migrations in SurrealDB: A local dev workflow

Managing schema changes in SurrealDB shouldn't slow down your development. Practical migration workflows keep your database in sync as your project evolves.

Chiru Boggavarapu

Senior Developer Experience Engineer

Article

New SurrealDB docs search with hybrid search and reranking

How SurrealDB implemented documentation search using hybrid search: full-text and vector hybrid search and reranking with HNSW and BM25 indexes.

Dave MacLeod

Article

SurrealMX: In-memory storage with time travel and persistence

SurrealMX uses in-memory storage along with time travel queries and two types of persistent storage with configurations to balance performance with durability.

Dave MacLeod

Article

Exponential cost traps in database architectures

Polyglot database sprawl grows costs faster than traffic. Storing data once in SurrealDB cuts block-storage spend by roughly two thirds.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

OpenAI’s brilliant fix for a billion-dollar Postgres mistake

OpenAI engineered an impressive PostgreSQL scaling strategy that ended up as a cautionary tale. How distributed-first architectures can avoid the same pitfalls.

Matthew Penaroza

Head of Solution Architecture

Article

How to use Surrealism to build your own SurrealDB extensions

Surrealism lets you build your own custom plugins, WASM functions that you can compile to their own binaries that are called directly from the database

Dave MacLeod

Article

File support in SurrealDB 3.0: buckets and file pointers

Define a bucket, then create, read, rename and delete files through SurrealQL file pointers - held in memory or on disk, alongside your records.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Introducing JavaScript SDK 2.0

A large update to the SurrealDB JavaScript SDK: 3.0 and multi-session support, automatic token refreshing, new live query API, and a new query builder pattern.

Julian Mills

Senior Software Engineer

Article

Custom API Endpoints: streamlining your architecture

Declare HTTP endpoints, middleware and response bodies in SurrealQL with DEFINE API, and let clients call the database without a middleware tier.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

SurrealDB 3.0 benchmarks: a new foundation for performance

SurrealDB 3.0 introduces a new benchmarking foundation that showcases its improved, production-ready performance and the architectural advancements driving it.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

AI

How to build a knowledge graph for AI

What is a knowledge graph and how can it be used to enhance AI agents?

Martin Schaer

AI Solutions Engineer

Article

AI

Knowledge Graph RAG: two query patterns for smarter AI agents

A post that walks through two powerful SurrealQL query patterns that demonstrate how to retrieve context from a knowledge graph to feed AI agents.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

A look at SurrealQL and how it differs from PostgreSQL

Explore the similarities and differences between PostgreSQL and SurrealQL, and see how SurrealQL can overcome limitations that relational databases have.

Tobie Morgan Hitchcock

Co-Founder & CEO

Video

Data management

10 schema tips for SurrealDB

SurrealDB

Official

Video

Data management

10 Tips and Tricks for SurrealDB Studio

SurrealDB

Official

Video

Data management

Building an App with Graph Relations, Live Queries and Authentication

SurrealDB

Official

Video

Data management

CRUD using SurrealDB in RUST | SurrealDB

SurrealDB

Official

Video

Data management

Designing your schema in SurrealDB Studio

SurrealDB

Official

Video

Data management

Different ways to perform a Vector Search in SurrealDB

SurrealDB

Official

Video

Data management

Document-Style Relationships in SurrealDB

SurrealDB

Official

Video

Data management

Embed SurrealDB Studio in your projects

SurrealDB

Official

Video

Data management
Cloud

Getting started with Surreal Cloud

SurrealDB

Official

Video

Data management

Getting started with SurrealDB Studio

SurrealDB

Official

Video

Data management

Getting started with SurrealDB using our JavaScript SDK

SurrealDB

Official

Video

Getting started with SurrealDB using our Rust SDK

SurrealDB

Official

Video

Data management

Graph-Style Relationships in SurrealDB

SurrealDB

Official

Video

AI

Graph, Full-Text Search and Vector Search in SurrealDB Studio

SurrealDB

Official

Video

AI

How a luxury fashion retailer scaled personalised recommendations using Surre

SurrealDB

Official

Video

How I built a SaaS powered by SurrealDB

SurrealDB

Official

Video

Data management

How to Build A Full Stack Rust Dashboard App with Leptos, Actix Web and SurrealDB

SurrealDB

Official

Video

How to Build A Rust Backend with Actix Web and SurrealDB (Full Tutorial)

SurrealDB

Official

Video

Data management

How to do a Full-Text Search Query in SurrealQL

SurrealDB

Official

Video

How to Simplify Your Tech Stack with SurrealDB

SurrealDB

Official

Video

Cloud

Network capabilities in Surreal Cloud

SurrealDB

Official

Video

Data management

Relational-Style Relationships in SurrealDB

SurrealDB

Official

Video

Data management

Run SurrealDB in your browser using our WASM engine

SurrealDB

Official

Video

Data management

Run SurrealDB inside NodeJS using our NodeJS engine

SurrealDB

Official

Video

Data management

Schemaless vs Schemafull Databases

SurrealDB

Official

Video

Data management

SurrealDB Studio for Power Users

SurrealDB

Official

Video

Security

Understanding User Groups in SurrealDB

SurrealDB

Official

Article

Learning through building: SurrealDB University's newest tutorial

Learn SurrealDB by building your own database that uses its multi-model capabilities to store and query over 100 of the world's most popular movies.

Dave MacLeod

Article

Setting up an invite system

Mordechai Hadad

Software Engineer

Source code

SvelteKit Surreal Database Authentication

SvelteKit example with SurrealDB-backed sign-in and sessions.

Jonathan Gamble

Software Engineer

Source code

AI

SurrealDB AI Assistant

Web AI assistant that queries and explores a SurrealDB database.

Jimpex

Software Engineer

Source code

Data management

UnrealORM: TypeScript ORM built for SurrealDB

TypeScript ORM designed around SurrealDB models and relations.

Jimpex

Software Engineer

Source code

Security

SurrealDB ODataV4 Connector

OData v4 tooling and connector work for SurrealDB.

Andrew G. Knackstedt

Sr Backend Engineer

Source code

Data management

Surreal Transfer

CLI utilities for exporting and importing SurrealDB data.

Lucy Egan

Software Engineer

Article

AI

Exploring the new SurrealDB integration with Agno

Introducing the new SurrealDB integration with Agno along with examples from the Agno Cookbook.

Dave MacLeod

Article

Using SurrealDB to Expose Organised Influence Campaigns

SurrealDB's graph queries, geolocational data and recursive queries make it the perfect fit to find malevolent entities in organised influence campaigns.

Dave MacLeod

Article

Using historical books for SurrealDB structured knowledge graphs

PDF scans of old historical books can be brought to life with LLM models and then stored and queried in a structured form using SurrealQL.

Dave MacLeod

Article

AI

Power your AI workflows with the official SurrealDB x n8n node

The SurrealDB node for n8n is a 1st-party, production-ready integration that lets you query, create, update,, and delete SurrealDB data from any n8n workflow

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

AI

Multi-tool agent with SurrealMCP and Agno

Using SurrealMCP and Agno, this is how you can build a “researcher” agent that finds information on the web, structures the data, and stores it in SurrealDB.

Martin Schaer

AI Solutions Engineer

Article

AI

Using unstructured data to create knowledge graphs in SurrealDB

There are many ways to give structure to unstructured data so that it can be used systematically in a database.

Dave MacLeod

Article

From legacy to leverage - unlocking financial data with SurrealDB

SurrealDB helps financial institutions unlock the value of legacy transactional data by transforming it into connected, intelligent, and monetisable insights.

Brian Walters

Article

Enforcing XOR (Either/Or) Fields in SurrealDB

What to do in your schema when a record should contain one of two possible fields, but not both or neither?

Abdelrahman Omar

Article

Ten tips and tricks for your SurrealDB queries

SurrealQL queries are expressive and powerful, and the more you know the more you can make your queries work for you.

Dave MacLeod

Article

AI

Multi-model RAG with LangChain

A walkthrough of a multi-model RAG pipeline with LangChain and SurrealDB, combining vector search with lightweight graph retrieval over chat conversations.

Martin Schaer

AI Solutions Engineer

Article

AI

Terminal hybrid vector + text search with SurrealDB and Ratatui

Building an AI-native UI for the terminal that demonstrates newly added hybrid search that combines vector with full-text queries into a single result.

Dave MacLeod

Article

Migrate your data directly to SurrealDB using Surreal Sync

The Surreal Sync command-line tool lets you migrate your data from three sources into SurrealDB with a single terminal command.

Tobie Morgan Hitchcock

Co-Founder & CEO

Source code

Aspire Integration

.NET Aspire hosting integration for local SurrealDB dev stacks.

David Bottiau

Software Engineer

Source code

AspNetCore.HealthChecks.SurrealDb

ASP.NET Core health check package for monitoring SurrealDB connectivity.

David Bottiau

Software Engineer

Article

AI

Beyond basic RAG: a multi-cycle reasoning engine on SurrealDB

Standard RAG models operate on single shots. The Reflexion RAG Engine overcomes this through a multi-cycle, self-correcting architecture powered by SurrealDB.

Lay Sheth

Article

AI

Building an AI-native multi-model UI with SurrealDB

Schema definition in SurrealDB is a powerful thing, and the more you know the more you can make your schema work for you.

Dave MacLeod

Article

Two new ways to keep an eye on your SurrealDB database

Logging output to file and seeing the current tasks on a console are two new ways to gain greater insight into what your database is doing.

Dave MacLeod

Source code

IoT telemetry example

Reference IoT telemetry ingest and queries with SurrealDB.

Martin Schaer

Solutions Engineer

Article

Ten more tips and tricks for your database schema

Schema definition in SurrealDB is a powerful thing, and the more you know the more you can make your schema work for you.

Dave MacLeod

Article

AI

Make a medical chatbot using GraphRAG with SurrealDB + LangChain

Build a medical chatbot with GraphRAG, SurrealDB, and LangChain using Rust.

Dave MacLeod

Article

AI

Semantic search in Rust with SurrealDB and Mistral AI

SurrealDB's built-in vector search capabilities make it a perfect match for semantic search using Mistral AI

Dave MacLeod

Article

AI

Minimal LangChain chatbot example with vector and graph

Build a chatbot that understands context with a minimal LangChain example that uses vector stores and graphs to generate intelligent, natural language answers.

Martin Schaer

AI Solutions Engineer

Documentation

Build a realtime presence web application using SurrealDB Live Queries

Official tutorial: build a realtime presence app with live queries.

David Bottiau

Software Engineer

Article

AI

Announcing our official LangChain integration

We’re thrilled to announce SurrealDB's official integration with LangChain, one of the most popular frameworks for building powerful LLM-driven applications.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

AI

Make a GenAI chatbot using GraphRAG with SurrealDB + LangChain

Build a GenAI chatbot with GraphRAG, SurrealDB, and LangChain for accurate, graph-enhanced LLM responses; code examples provided.

Martin Schaer

AI Solutions Engineer

Article

AI

Semantic search with SurrealDB and OpenAI

SurrealDB's built-in vector search capabilities make it a perfect match for semantic search using OpenAI

Dave MacLeod

Article

AI

Building real-time AI pipelines in SurrealDB

Say goodbye to complex ETL pipelines with SurrealDB's multi-model approach.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Seamless data ingestion with the Airbyte connector

Today, we’re excited to announce official support for Airbyte, the leading open-source data integration platform.

Tobie Morgan Hitchcock

Co-Founder & CEO

Source code

surreal-ts

Generate TypeScript types from SurrealDB schema and queries.

horvbalint

Software Engineer

Article

AI

What are knowledge graphs and why is everyone talking about them?

Knowledge graphs provide the structured memory AI agents need for context-aware reasoning. Learn how this decades-old concept became essential infrastructure.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

AI

How to simplify Graph RAG using Amazon Bedrock and SurrealDB

A typical RAG pipeline forces you to juggle a vector store, a document store, a graph store, plus an LLM endpoint. SurrealDB and Amazon Bedrock end that sprawl.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

AI

RAG can be Rigged: building a context-aware agent that just works

Building a smart knowledge agent with SurrealDB and Rig.rs: a context-aware support agent that just works.

Cyril Scetbon

Article

Ten tips and tricks for your database schema

Schema definition in SurrealDB is a powerful thing, and after reading this post you'll know ten new ways to define your own.

Dave MacLeod

Article

Seamless data ingestion with the Fivetran connector

Today, we’re excited to announce official support for Fivetran, the industry leader in automated, fully-managed data pipelines.

Tobie Morgan Hitchcock

Co-Founder & CEO

Source code

allographer

Nim ORM and query builder that supports SurrealDB.

Itsumura H.

Software Engineer

Video

Beyond Surreal? A closer look at NewSQL Relational Data - Beyond Fireship.

Fireship

Content Creator - Software Engineer

Source code

Data management

CLI phone book in Python using SurrealDB as database.

Tutorial building a CLI phonebook in Python with SurrealDB.

Gabor Szabo

Software Engineer

Source code

Getting started with SurrealDB using Python and Docker.

Walkthrough for running SurrealDB with Python and Docker.

Gabor Szabo

Software Engineer

Video

Cloud

Getting started with SurrealDB! Future of cloud databases (maybe)?

Chris Hay

Content Creator

Source code

GKE using Terraform

Terraform module for running SurrealDB on Google Kubernetes Engine.

Dylan Vanmali

Software Engineer

Video

Hosting Surreal DB in Rust in Less Than 3 Minutes.

Gui Bibeau

Software Engineer

Article

How to Use SurrealDB with the Fresh Framework and Deno.

Rajdeep Singh

Software Engineer

Article

Data management

Improve database management with SurrealDB

Alexander Nnakwue

Software Engineer

Video

Livestream series documenting learning SurrealDB.

Xkonti

Content Creator

Video

Rust Powered Database SurrealDB (It's Pretty Ambitious) - Code to the Moon.

Code to the Moon

Content Creator

Article

Simple API with Gin/Gonic and SurrealDB (GO).

Atharva Deshpande

Software Engineer

Source code

AI

Surreal-4o Fine-tuned Model Datasets for SurrealQL Queries - Project to create structured datasets for OpenAI.

Structured datasets for fine-tuning models on SurrealQL-style queries.

Sebastian Fritsch

Fullstack Developer

Source code

surreal-codegen

Code generation tooling for SurrealDB-backed TypeScript projects.

Albert Marashi

Software Engineer

Video

Data management

SurrealDB - Rust Embedded Database - Quick Tutorial.

Jeremy Chone

Software Engineer

Source code

SurrealDB + Go Driver Starter.

Starter project wiring the official SurrealDB Go SDK into an application.

Salman Shah

Software Engineer

Source code

SurrealDB + Vue Blog Starter.

Vue.js blog starter template backed by SurrealDB.

Fadel SrWither

Software Engineer

Source code

AI

SurrealDB AI Docs Retrieval - Project to showcase: How to build a GPT-Based question-answering system on top of SurrealDB Docs.

RAG-style demo that answers questions using SurrealDB documentation.

Kyryl Truskovskyi

Machine Learning Engineer

Source code

AI

SurrealDB as a Vector Store for LangChain - A Jupyter notebook demonstrating how to use SurrealDB as a Vector Store.

Jupyter notebook showing SurrealDB as a LangChain vector store.

Karim Lalani

Software Engineer

Source code

SurrealDB GitHub Action

GitHub Action to run SurrealDB in CI pipelines.

SurrealDB

Official

Source code

Data management

SurrealDB Grafana datasource

Official Grafana data source for SurrealDB queries.

Grafana Labs

Observability

Video

SurrealDB in 100 seconds.

Fireship

Content Creator

Source code

AI

SurrealDB MCP Server

Model Context Protocol server that connects AI tools to SurrealDB.

David Whatley

Software Engineer

Source code

SurrealDB Presence Demo - Demo project on how to create a realtime presence web application using SurrealDB Live Queries.

Sample realtime presence app built with SurrealDB live queries.

David Bottiau

Software Engineer

Documentation

AI

SurrealDB Vector Store for LangChain

LangChain documentation for using SurrealDB as a vector store.

LangChain

Open Source Project

Source code

surrealdb_extra

Rust helper crate extending the official SurrealDB driver.

Jakin010

Software Engineer

Source code

surrealdb-client-generator

Generate typed API clients from your SurrealDB schema and queries.

Sebastian Wessel

Software Engineer

Documentation

surrealdb-extras

Rust API reference for the surrealdb-extras helper crate.

Frederik Uni

Software Engineer

Source code

surrealdb-flutter

Dart and Flutter client for connecting to SurrealDB.

Duhan Balci

Software Engineer

Source code

surrealdb-valibot

Validate SurrealDB records using Valibot schemas.

Levy van der Valk

Web Developer

Source code

surrealdb-zod

Define and validate SurrealDB-shaped data with Zod.

Levy van der Valk

Web Developer

Video

SurrealDB. The Kitchen Sink Document Store that might dethrone Firebase.

Ray Villalobos

Content Creator

Source code

surrealdb.c

Official C bindings and examples for embedding SurrealDB.

SurrealDB

Official

Source code

surrealdb/surrealdb

Official SurrealDB container image on Docker Hub.

SurrealDB

Official

Source code

Surrealist Python tool

Python driver and ergonomic query helpers for SurrealDB.

Kotolex

Software Engineer

Article

Security

Unlocking SurrealDB: Building a Real-World Multi-Tenant RBAC System Made Easy (4 Part Series).

Sebastian Wessel

Software Engineer

Source code

AI

Use SurrealDB with LangChain

Reference integration for using SurrealDB with LangChain.

SurrealDB

Official

Video

Using SurrealDB to prove football statistics.

Joseph McCarthy

Content Creator

Article

Enhance your musical skills with Surrealist's Graph View

Did you know that Surrealist's Graph Visualisation tool can even make you into a better musician? Let's find out how.

Dave MacLeod

Article

Three ways to model data relationships in SurrealDB

A SurrealDB Stream focused on relationship modelling, from traditional record-to-record links to bidirectional references and Graph Edge metadata.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

What's a database anyway?? A blog post for kids

An easy explanation for children of what a database is, and why databases are useful.

Dave MacLeod

Article

AI

Cooking up faster RAG using in-database embeddings in SurrealDB

Speed up RAG pipelines by running embedding models inside SurrealDB.Eliminate API latency with in-database vector embeddings for retrieval-augmented generation.

Alessandro Pireno

Article

AI

Beyond black boxes: customisable and secure financial RAG systems

A blog post that tackles the specific challenges financial services data teams face when building systems in regulated, data-sensitive environments.

Alessandro Pireno

Article

Revolutionising decentralised discovery with SurrealDB

Index Network enables secure, decentralised discovery by unifying public and private data using SurrealDB and TEEs.

SurrealDB

Official

Article

Tips and tricks on using the Rust SDK

In this article we are going to explore some tips and tricks for using the Rust SDK.

Rushmore Mushambi

Article

Data analysis using graph traversal, recursion, and shortest path

Whether you're building intelligent applications, modelling relationships, or optimising performance, SurrealDB's graph capabilities open up new possibilities.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Visualising your data with Surrealist's Graph view

We as humans love visual data, and the new graph view for Surrealist provides exactly this.

Dave MacLeod

Article

Building smarter product recommendations with SurrealDB

Personalised experiences can make or break the conversion of a visitor into a customer, which is why recommendation engines are no longer a luxury.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Find your celebrity soulmate with the magic of vector search

Ever wondered how to find someone that’s most like you, whether it’s a roommate or even a celebrity? Vector search is the answer.

Dr. Caroline Morton

Article

AI

Automating knowledge graphs with SurrealDB and Gemini

How to use SurrealDB with Gemini to automate knowledge graphs to move beyond simple storage and retrieval.

Alessandro Pireno

Article

How we improved the Python SDK for our 1.0 stable version

We've released our 1.0 stable version of our Python SDK including a consistent interface for WebSockets and HTTP requests.

Maxwell Flitton

Article

AI

Enhancing retrieval-augmented generation with SurrealDB

GraphRAG: Enhancing Retrieval-Augmented Generation with SurrealDB, Gemini and DeepSeek

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Building a RAG app with OpenAI and SurrealDB

We'll build an assistant that can answer questions based on Wikipedia information, using the GPT Turbo model from OpenAI

Pratim Bhosale

Article

It’s about time: time series in SurrealDB

The types of time series data in SurrealDB and how to efficiently structure and query this data using SurrealQL.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Moving from full-text search to vector search in SurrealDB

If you know exactly what you’re searching for Full-Text Search would be the way to go but when you want your search to understand you, Vector Search might be right for you.

Pratim Bhosale

Article

Orchestrating real-time data insights with the right ensemble

Building real-time analytics leveraging OLAP, multi-model databases and workload isolation.

Alessandro Pireno

Article

Our new demo dataset has a lot in store for you!

SurrealDB 2.0-alpha comes with a number of exciting updates but also a new and improved demo dataset.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Introducing Surreal<Any>: Dynamic Support for any Engine in Rust

Understand what is a `Surreal<Any>` engine and how you can use it in your Rust code.

Pratim Bhosale

Article

Why SurrealDB is the future of Database Technology

The people who are crazy enough to think that they can change the world, are the ones who do.

Alexander Fridriksson

Senior Product Marketing Manager

Article

ELI5 - Why SurrealDB, explained through building with LEGO

Can databases inspire a sense of child-like play? They can if the database is SurrealDB.

Alexander Fridriksson

Senior Product Marketing Manager

Article

SurrealDB's talk on Exploring the AI revolution

Looking to keep up-to-date with what's next in Generative AI and LLMs? We've got you covered.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Document-Style Relationships in SurrealDB

We’re introducing short-form video tutorials at SurrealDB. We’ll be putting out a video a week, starting with a 3-part series on relationships in SurrealDB.

Alexander Fridriksson

Senior Product Marketing Manager

Article

How to simplify your tech stack

Oscar Merry talks about powering a social podcasting app, Fountain, using SurrealDB.

SurrealDB

Official

Article

Understanding the CBOR data serialisation format

JSON is the popular kid in school, but CBOR is the new kid who's smaller, faster, and has more tricks up its sleeve!

Aravind Putrevu

Article

Why SurrealDB is betting on Rust

The best way to predict the future is to create it. For a database company, this means choosing Rust and all the benefits it provides.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Thinking Inside The Box: Relational Style Joins in SurrealDB

SurrealDB's relational style joins exist in a superposition. The only way to know for sure is by looking at this blog post.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Beyond SQL joins: Exploring SurrealDB's multi-model relationships

Can't join? No worries, we can relate. In this post we explore SurrealDB's multi-model relationships.

Alexander Fridriksson

Senior Product Marketing Manager

Article

VART: A persistent data structure for snapshot isolation

An introduction to VART (Immutable Versioned Adaptive Radix Trie), made for snapshot isolation in databases (SurrealKV).

Farhan Ali Khan

Senior Software Engineer

Article

Integrate Auth0 as an Authentication provider

This guide will cover using Auth0 as the authentication provider for single-page web applications using SurrealDB as the only backend.

Gerard Guillemas Martos

Article

SurrealDB live queries in Rust

Use SurrealDB's LIVE SELECT statement that allows you to listen for creations, updates and deletions to specific records you are interested in or entire tables.

Rushmore Mushambi

Article

Introducing Nightly and Beta Rust Crates

We are pleased to announce two additional Rust crates, surrealdb-nightly and surrealdb-beta. These crates are designed to complement the surrealdb crate.

Rushmore Mushambi

Article

Full-text search in SurrealDB: Going beyond Lucene and Tantivy

SurrealDB's own ACID-compliant full-text search engine is a unified query experience without external dependencies instead of integrating Lucene or Tantivy.

Emmanuel Keller

Article

What is SurrealML: A getting started guide

The developer community has made great strides in open-source machine-learning packages. However, there are still areas that are not fully complete.

Maxwell Flitton

Article

Deploy SurrealDB to Kubernetes with GitOps - Ryota Sawada

Community Spotlight talk by Ryota Sawada. SurrealDB's excellent CLI makes it simple to get started when trying out SurrealDB on your machine for the first time.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

How I built a SaaS powered by SurrealDB

Hear from Software Engineer Micha de Vries on his journey as a developer and a showcase of his SaaS product PlayrBase, built almost entirely with SurrealDB.

Micha de Vries

Software Engineer

Article

Unlock SurrealDB streaming data magic: Live queries + changefeeds

In this article, you will learn what streaming means with SurrealDB. We will also cover some patterns addressing how users can use streaming in practice.

Hugh Kaznowski

Article

How Rust gave SurrealDB an edge in the database world

Join Senior Software Engineer, Maxwell Flitton, as he shines a light on how Rust and Async Rust gave SurrealDB an edge in the database world.

Maxwell Flitton

Article

Create a search engine with SurrealDB full-text search

When it comes to managing and retrieving vast amounts of textual data, the ability to perform efficient and accurate searches is paramount.

Pratim Bhosale

Article

How to handle big data properly with SurrealDB

Join SurrealDB's co-founder and CEO, Tobie Morgan Hitchcock, and Software Engineer Micha de Vries who dive into how to handle big data properly with SurrealDB.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Surreal Stickies 2.0: Graph, live queries, and authentication

Welcome back to the second instalment of our tutorial series on building a notes app with Next.js, Tailwind, and SurrealDB.

Pratim Bhosale

Article

Data Modelling and Performance

SurrealDB is a multi-model database with options for how to model data. This stream looks at approaches to data models, pros, cons and performance implications.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Questions from the SurrealDB community

A SurrealDB stream covering topics raised by our community including data modelling, performance, and transactions, along with live questions from users.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Record IDs, Expressions and Graphs

Join us for our 10th live stream as we talk practically about how record IDs help us with connecting data through record links and graph relations.

Alexander Fridriksson

Senior Product Marketing Manager

Article

What are multi-model databases?

A talk about the intriguing world of databases and where different data models co-exist, much like trains within a bustling metro station.

Pratim Bhosale

Article

SurrealDB's stream all about Python

A stream about Python, the why and the how of using it with SurrealDB, design decisions for the Rust rewrite and demos of how to get up and running.

Maxwell Flitton

Article

Learn about SurrealDB's full-text search indexing

Join Senior Software Engineer, Emmanuel Keller and co-founder and CEO Tobie Morgan Hitchcock as we dive into the innovative roadmap of SurrealDB.

Emmanuel Keller

Article

Tutorial: Build a Notes App with Next.js, Tailwind and SurrealDB

In this guide, you'll learn how to implement a simple full-stack note-taking application called Surreal Stickies.

Pratim Bhosale

Article

JavaScript Library with Micha & Tobie

This week focuses on SurrealDB's JavaScript Library. Join Micha and Tobie for a chat on recent updates and how to use live queries and the WASM library.

Micha de Vries

Software Engineer

Article

SurrealDB's WebSocket protocol guide

We've published a WebSocket Protocol Guide allowing for easy bi-directional communication with SurrealDB. If you're excited about Live Queries, check this out!

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Installing and getting started with SurrealDB

Installed SurrealDB yet? Here's a guide to get started that walks you through step by step to install SurrealDB using Linux, Windows, or Docker.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Deploying SurrealDB to Kubernetes

Our guide for deploying to Kubernetes is live! Learn more at the SurrealDB docs

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Live Queries with Tobie & Hugh

This week we're focusing on live queries, with co-founder Tobie Morgan Hitchcock and Senior Software Engineer Hugh Kaznowski.

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

The life-changing magic of SurrealDB record IDs

At SurrealDB, we are all about doing things that spark joy for developers. One of those things that constantly surprises and delights is the humble record ID.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Getting started with the SurrealDB Go Driver

In our Beta 9 release, we updated our Go driver. In this tutorial, we will learn to build a simple SurrealDB URL shortener using the Go driver.

Pratim Bhosale

Article

SurrealDB Scalability: the details

SurrealDB scales with separate compute and storage layers, a cost-based query planner, and distributed deployments on SurrealDB Cloud Scale and Enterprise.

Hugh Kaznowski

Article

All about SurrealQL: why is it SQL-like?

A stream on SurrealQL with Tobie Morgan Hitchcock, Alexander Fridriksson and Micha de Vries: Why is SurrealQL SQL-like and not custom like MongoQL or Cypher?

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Clustered SurrealDB for 1.0.0-beta9

A post by Hugh Kaznowski on using SurrealDB to scale your operations to improve writes and reads and seamlessly continue operations during failures.

Hugh Kaznowski

Article

The ultimate beginners guide to databases

SurrealDB believes that developers should be able to build applications without complicated backend APIs, or being forced into using a single data model.

Alexander Fridriksson

Senior Product Marketing Manager

Article

Behind the scenes of the exciting beta 9 release

Our team has been working hard on the new release, which introduces a ton of new features, bug fixes and performance improvements you can see here...

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Understanding SurrealQL and how it is different from PostgreSQL

An exploration of the similarities and differences between PostgreSQL and SurrealQL, and how SurrealQL overcomes the limitations found in relational databases.

Pratim Bhosale

Article

An introduction to SurrealDB and how it works

SurrealDB is a database that does many routine things, so you can focus on what matters to you - processing your data.

Hugh Kaznowski

Article

SurrealDB client libraries are now live!

We’re happy to announce that initial server side documentation for Node.js, Golang and Deno, along with client side documentation for JavaScript is LIVE!

Tobie Morgan Hitchcock

Co-Founder & CEO

Article

Why use SurrealDB? The benefits explained

SurrealDB is an innovative NewSQL cloud database, suitable for single page, traditional, serverless, and jamstack applications.

Tobie Morgan Hitchcock

Co-Founder & CEO