Surrealdb
Multi-model cloud database supporting document, graph, and relational queries in one engine.
Overview
SurrealDB is a multi-model database designed to unify documents, graphs, vectors, time-series, and relational data in a single ACID-compliant platform. Rather than stitching together separate systems for different data models, SurrealDB consolidates storage, context, and memory into one transaction boundary, eliminating middleware and reducing operational complexity.
The platform is positioned as "the context layer for AI agents," addressing structural failures in agent systems caused by fragmented data across multiple stores. It's built on a four-layer architecture: Spectron (agent memory), SurrealDB (unified context), and a distributed storage engine with compute-storage separation.
SurrealDB is in production at Samsung, Verizon, Tencent, and PolyAI, with deployment options ranging from cloud-managed instances to self-hosted and embedded configurations.
Key features
- Multi-model querying (documents, graphs, vectors, time-series)
- ACID transactions across multiple tables
- Real-time live queries and changefeeds
- Native graph relationships and traversal
- Vector search and embeddings
- Built-in authentication with scoped permissions
- Spectron agent memory layer
- Full-text search
- Geospatial data support
- Single transaction boundary eliminates middleware and glue code
- Unified ACID compliance across all data models
- Reduces token costs for AI agents by consolidating context
- Lower latency than multi-system architectures
- Flexible deployment: cloud, self-hosted, embedded, or Docker
- Proven at scale (700K users, 50M graph edges, 10K+ QPS)
- Comprehensive SDK support across 9+ languages
- Spectron (agent memory layer) still in waitlist/early access
- Learning curve for developers unfamiliar with multi-model databases
- Requires understanding of SurrealQL query language
- Some advanced features marked as 'coming soon' (database branching, object storage backends)
Best for
Alternatives
More Database
Compare allOpen-source backend in a single file: database, auth, file storage, and admin UI.
Community-developed SQL database fork of MySQL with compatible APIs and enterprise features.
Desktop database and app builder for teams that need forms, reports, and relational data.
Enterprise relational database for transactional workloads, analytics, and hybrid cloud.