Skip to content

The SurrealDB repositories

Self-host. Run the engine in production on your own infrastructure, under BSL 1.1.
Build on it. SDKs and tools under Apache 2.0 or MIT.
Contribute. Issues, pull requests and discussion on GitHub.

MAINTAINED

The code behind SurrealDB. The database, its storage engines and the libraries beneath them.

SurrealDB

BSL 1.1

A scalable, distributed, multi-model database for documents, graphs, vectors and real-time apps.

SurrealMX

Apache 2.0

An ultra-high-throughput, embedded, in-memory, lock-free, transactional key-value storage engine, with AOL-based persistence.

SurrealKV

Apache 2.0

A high-performance, non-blocking, async-native, embedded key-value log-structured merge-tree storage engine.

SurrealFS

MIT

A filesystem memory layer for AI agents, with hybrid search, backed by SurrealDB.

storekey

Apache 2.0

A binary encoding format that keeps lexicographic sort order.

revision

Apache 2.0

Revision-tolerant serialisation for Rust, with schema evolution over time.

artmap

Apache 2.0

A high-performance, concurrent, in-memory associative map backed by an Adaptive Radix Tree, with optimistic lock coupling.

affinitypool

Apache 2.0

A high-performance threadpool for running blocking jobs on a dedicated thread pool from an asynchronous Rust runtime.

arenaskiplist

Apache 2.0

A fast, concurrent, lock-free skip list, for Rust, which allocates all nodes in a contiguous, pre-allocated arena.

vart

Apache 2.0

An immutable, copy-on-write, versioned adaptive radix trie for Rust.

byteslice

Apache 2.0

A zero-copy, 24-byte slice with inline short values and prefix-accelerated comparisons.

crud-bench

Apache 2.0

Benchmarks embedded and networked SQL and NoSQL databases side by side.

ARCHIVED

Earlier projects. No longer maintained, and kept on GitHub for reference.

EchoDB

Apache 2.0

An embedded, in-memory, immutable, copy-on-write key-value database engine.

IndxDB

Apache 2.0

A key-value database engine abstraction layer over IndexedDB, for WebAssembly.

RixxDB

Apache 2.0

A versioned, embedded, strongly consistent key-value database for Go.

Cork

Apache 2.0

A binary serialisation format for Go.

Bump

Apache 2.0

An efficient buffering library for Go.

ptree

Apache 2.0

A radix tree library for Go.

vtree

Apache 2.0

A versioned radix tree library for Go.

tlist

Apache 2.0

A linked time-series list for Go.

blist

Apache 2.0

A binary time-series list for Go.

fibre

Apache 2.0

A simple, fast HTTP and WebSocket framework for Go.

Ferntree

MIT / Apache 2.0

A concurrent, in-memory B+ tree with optimistic lock coupling, for Rust.

GET STARTED

Contribute to SurrealDB. Star a repository, open an issue or send a pull request.

SurrealDB

The context and memory layer for AI agents

Database. Graphs, vectors, documents and relational data in one engine, in a single ACID transaction.
Agent Memory. Connects and retrieves context wherever your data lives, every fact carrying its source.
Cloud. Fully managed, in the cloud provider and region you choose.

Explore with AI

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom