Projects
View on GitHub Awesome SurrealDB
surrealdb/awesome-surreal
About
A curated list of SurrealDB resources, tools, utilities, and applications.
Learning & EducationMeasured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAwesome SurrealDB 
Tools, libraries, example applications, and learning material for SurrealDB, the database that unifies documents, graphs, vectors, and time-series in one engine, and for SurrealDB Agent Memory.
Every entry in this list also appears in SurrealDB Labs, where you can search and filter it by stage, format, topic, and language. Entries marked Recipe have a short, tested version in the SurrealDB cookbook that runs on the current release.
Built something with SurrealDB? Add it to the list.
Contents
- Start here
- Official SDKs
- Tools
- Community client libraries
- Integrations
- Extensions
- Example applications
- Projects built on SurrealDB
- Learning
Start here
- SurrealDB - The database itself: source, releases, and issue tracker.
- Documentation - Installation, SurrealQL reference, SDK guides, and deployment.
- SurrealDB Cloud - Managed SurrealDB instances, from a free tier upwards.
- Docker image - The official container image.
Official SDKs
| Language | Repository | Install |
|---|---|---|
| JavaScript | surrealdb.js | npm install surrealdb |
| Python | surrealdb.py | pip install surrealdb |
| Rust | surrealdb | cargo add surrealdb |
| Go | surrealdb.go | go get github.com/surrealdb/surrealdb.go/v2 |
| Java | surrealdb.java | com.surrealdb:surrealdb |
| Kotlin | surrealdb.kotlin | com.surrealdb:kotlin |
| .NET | surrealdb.net | dotnet add package SurrealDb.Net |
| PHP | surrealdb.php | composer require surrealdb/surrealdb.php |
| Swift | surrealdb.swift | Swift Package Manager |
| C | surrealdb.c | Build from source |
Tools
Management interfaces
- Mongrel - Desktop workbench for SurrealDB 3.2 and later, with a SurrealQL editor, document and graph browsing, schema tools, and native archives.
- SurrealDB Studio - Official query editor, schema designer, and database explorer, formerly called Surrealist.
Schema and code generation
- surform - Declarative schema language for SurrealDB that generates the
DEFINEstatements. - surreal-codegen - Generate type-safe TypeScript for your
.surqlqueries by checking them against your schema. - surreal-ts - Generate TypeScript types from a SurrealDB schema.
- surrealdb-client-generator - Generate Zod schemas and a TypeScript client from a database.
- SurrealDb.Net.Design - Generate C# record models from a database schema at design time.
ORMs and query builders
- allographer - Query builder and schema builder for Nim with SurrealDB support.
- sqlalchemy-surrealdb - SQLAlchemy dialect for SurrealDB.
- surrealdb_extra - Query builder and ORM for Rust.
- surrealdb-extras - Rust helpers that define namespaces, databases, and tables, and derive CRUD functions for structs.
- surrealdb-valibot - Reusable Valibot schemas for the JavaScript SDK.
- surrealdb-zod - Reusable Zod schemas for the JavaScript SDK.
- UnrealORM - TypeScript ORM designed around SurrealDB models and relations.
Data movement
- Surreal Transfer - Command-line tools to export and import SurrealDB data.
- VentStream - Change data capture from PostgreSQL, MySQL, MongoDB, and Neo4j into SurrealDB in real time.
Deployment and operations
- AspNetCore.HealthChecks.SurrealDb - ASP.NET Core health check for SurrealDB connectivity.
- Dokku SurrealDB - Dokku plugin to deploy SurrealDB.
- GKE using Terraform - Multi-cluster, cross-region deployment on GKE Autopilot with Terraform.
- Helm charts - Official Helm charts for running SurrealDB on Kubernetes.
- SurrealDB GitHub Action - Official action to start SurrealDB in a CI workflow.
- SurrealDB Grafana datasource - Query and chart SurrealDB data from Grafana.
Community client libraries
- java-surrealrpc - Small alternative Java client.
- surrealdb-flutter - Client for Dart and Flutter.
- surrealist - Synchronous Python client over HTTP and WebSocket, with live queries and change feeds.
Integrations
AI and agents
- Agent skills - Official skills that teach coding agents SurrealQL and Agent Memory. Documentation.
- langchain-surrealdb - Official LangChain integration for vector search and graph queries.
- langchain.js - Official LangGraph.js adapter for SurrealDB and Agent Memory.
- SurrealDB MCP Server - Model Context Protocol server that lets AI assistants query and change a SurrealDB database.
Authentication
- Authorizer - Open-source, self-hosted authentication server that can keep its data in SurrealDB and sign users in for SurrealDB record access.
- surreal-better-auth - SurrealDB adapter for Better Auth.
Frameworks and platforms
- .NET Aspire integration - Run SurrealDB containers from a .NET Aspire AppHost.
- SurrealDB ODataV4 Connector - Serve SurrealDB tables through an OData v4 endpoint.
Extensions
- try_cast - Surrealism extension that adds
mod::try_*functions for checked type casts.
Example applications
Starter projects
- SurrealDB + Go starter - Application skeleton using the official Go SDK. By Salman Shah.
- SurrealDB + SvelteKit auth example - JWT authentication with a request-scoped database connection. By Albert Marashi.
- SurrealDB + Vue blog starter - Blog template with a Vue front end. By Fadel SrWither.
- SvelteKit Surreal authentication - Sign-in and sessions with SvelteKit and record access. By Jonathan Gamble.
Demos
- IoT telemetry - Simulated sensors, time-windowed queries, and outlier alerts, with a live dashboard. By Martin Schaer. Recipe: IoT telemetry with outlier alerts.
- Official examples - Example applications and scripts maintained by the SurrealDB team.
- Surreal-4o - Datasets for fine-tuning a model to write SurrealQL. By Sebastian Fritsch.
- SurrealDB AI assistant - Web assistant that explores a SurrealDB database in natural language. By Jimpex.
- SurrealDB AI docs retrieval - Question answering over the SurrealDB documentation with a GPT model. By Kyryl Truskovskyi.
- SurrealDB presence demo - Real-time presence with live queries. By David Bottiau.
- SurrealDB vector store notebook - Jupyter notebook using SurrealDB as a LangChain vector store. By Karim Lalani.
Interactive demos
- Agent Memory for financial services - Agent Memory in a financial services setting, showing scopes and how facts change over time.
- Agent Memory use case - Shared memory for every agent and every person in your organisation, cited, kept current, and isolated with scopes, grants and lenses.
- Company brain - A company knowledge base on SurrealDB and Agent Memory that agents and people query together.
- Credit downgrade exposure alerts - An agent traces exposure through the graph when a counterparty is downgraded.
- Financial services ontology - Eight source systems mapped into one graph.
- What is agent memory? - The six kinds of agent memory, what each stores, and how they connect.
Projects built on SurrealDB
- dead-reckoning - Navigate a Python codebase through a knowledge graph and resumable LangGraph agents.
- Inite Brain - Memory layer for LLM agents: a bitemporal knowledge graph with hybrid vector, BM25, and multi-hop retrieval, served over MCP.
- open-notebook - Open source alternative to NotebookLM.
- Podcasts to Knowledge - Turn podcast and interview recordings into a knowledge graph with CocoIndex.
- synapse - Turn written reflections into a knowledge graph and answer questions from it.
- taro - Agentic search harness: a LangGraph ReAct agent with vector, BM25, graph, and hybrid search tools.
Learning
Courses and books
- Aeon's Surreal Renaissance - Official book that teaches SurrealDB through a story.
- SurrealDB for AI engineers - Eleven lessons, from calling an LLM API to an agent that retrieves from its own memory.
- SurrealDB fundamentals - Official course covering the core of SurrealDB in about three hours.
Tutorials and articles
- Build a real-time presence app - Official tutorial: show who is online with live queries. By David Bottiau.
- Build an AI RAG agent with LangGraph - Retrieval agent with LangGraph, Ollama, and SurrealDB. By Karim Lalani.
- CLI phone book in Python - Command-line phone book backed by SurrealDB. By Gabor Szabo.
- Getting started with SurrealDB using Python and Docker - Run SurrealDB in Docker and connect from Python. By Gabor Szabo.
- How to use SurrealDB with Fresh and Deno - A Fresh application with a SurrealDB back end. By Rajdeep Singh. Recipe: An HTTP API in the database.
- Improve database management with SurrealDB - Overview of SurrealDB's data model and queries. By Alexander Nnakwue.
- Multi-tenant RBAC with SurrealDB - Four-part series on tenants, roles, and permissions as a graph. By Sebastian Wessel. Recipe: Multi-tenant role-based access.
- Setting up an invite system - Invitation codes with record access. By Mordechai Hadad. Recipe: Invitation sign-in.
- Simple API with Gin and SurrealDB - REST API in Go. By Atharva Deshpande. Recipe: An HTTP API in the database.
- Use Authorizer as the authentication provider for SurrealDB - Sign users in with a self-hosted Authorizer and query SurrealDB directly with their token, with per-user and role-based table permissions. By Lakhan Samani.
Videos
- Beyond Surreal? A closer look at NewSQL relational data - By Fireship.
- Getting started with SurrealDB - By Chris Hay.
- Hosting SurrealDB in Rust in less than 3 minutes - By Gui Bibeau.
- Livestreams learning SurrealDB - By Xkonti.
- Rust powered database SurrealDB - By Code to the Moon.
- SurrealDB in 100 seconds - By Fireship.
- SurrealDB, Rust embedded database - By Jeremy Chone.
- SurrealDB, the kitchen sink document store - By Ray Villalobos.
- Using SurrealDB to prove football statistics - By Joseph McCarthy. Recipe: Prove a sports statistic.
From the SurrealDB YouTube channel:
Data modelling and SurrealQL (8 videos)
SDKs and engines (7 videos)
- Build a full stack Rust dashboard with Leptos, Actix Web and SurrealDB
- Build a Rust back end with Actix Web and SurrealDB
- CRUD using SurrealDB in Rust
- Getting started with the JavaScript SDK
- Getting started with the Rust SDK
- Run SurrealDB in your browser with the WebAssembly engine
- Run SurrealDB inside Node.js with the Node.js engine
SurrealDB Studio (7 videos)
- 10 tips and tricks for SurrealDB Studio
- Building an app with graph relations, live queries and authentication
- Designing your schema in SurrealDB Studio
- Embed SurrealDB Studio in your projects
- Getting started with SurrealDB Studio
- Graph, full-text search and vector search in SurrealDB Studio
- SurrealDB Studio for power users
SurrealDB Cloud (2 videos)
Talks and presentations
- Agent Memory for engineering knowledge - Documents, runbooks, postmortems, and agent session notes in one store. By Martin Schaer.
- How a luxury fashion retailer scaled personalised recommendations - Customer context, product variants, and embeddings in one database. Recipe: Context for a recommendation prompt.
- How I built a SaaS powered by SurrealDB - A live session on building a product on SurrealDB.
- How to simplify your tech stack with SurrealDB - Replacing several specialised stores with one database.
- Your company brain: build it or buy it? - SurrealDB Enterprise Edition and Agent Memory compared. By Martin Schaer.
Explore related projects
Loading…