aicoolies logo
SurrealDB logo
SurrealDB logo

SurrealDB

Multi-model database for the AI era — document, graph, vector, and relational in one

open sourceupdated Apr 21, 2026

SurrealDB is a multi-model database that natively combines document, graph, relational, key-value, and vector storage in a single engine. It eliminates the need for separate databases by handling structured queries, graph traversals, full-text search, and vector similarity in one SQL-like query language called SurrealQL. Built in Rust for performance and safety, it supports real-time subscriptions, row-level permissions, and embedded or distributed deployment modes.

SurrealDB is a multi-model database designed to replace the common practice of stitching together separate document stores, graph databases, search engines, and vector databases for modern applications. Its unified engine handles relational tables, schemaless documents, graph edges, time-series data, and vector embeddings through a single query language called SurrealQL. This consolidation is particularly valuable for AI agent architectures where persistent memory requires both structured relationships and semantic similarity search.

The database is written entirely in Rust, delivering the memory safety and concurrency guarantees that production workloads demand. Deployment modes span from an embedded library for edge applications to a distributed cluster for horizontally scaled services. The real-time subscription system pushes live query results to connected clients, enabling reactive interfaces without polling. Row-level security and fine-grained permissions are defined declaratively in the schema, making multi-tenant and agent-facing access patterns straightforward to implement.

SurrealDB has raised over $33 million in funding and cultivated a large open-source community with over 26,000 GitHub stars. The managed cloud offering, Surreal Cloud, handles provisioning and scaling for teams that prefer not to self-host. The query language supports native graph traversals, computed fields, changefeeds, and built-in ML model execution, positioning the database as infrastructure specifically suited for applications where AI agents need to store, relate, and retrieve heterogeneous data at scale.

Pricing

Free open-source core; Surreal Cloud paid tiers

Platforms

Windows, Linux, macOS, Docker, embedded mode

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

VexDB-Lite VexDB parent mark

VexDB-Lite

One vector-search extension across PostgreSQL, DuckDB and SQLite

MIT-licensed vector-search extension for PostgreSQL, DuckDB and SQLite that shares one graph-index core with PQ/RaBitQ quantization, persistent indexes and metadata filtering; SQLite packages cover Linux, macOS, iOS, Android and WASM, so it runs inside existing databases instead of as a separate vector service.

Open Source
Cloudflare logo

Cloudflare Vectorize

Edge-native vector database for Workers and AI applications

Cloudflare Vectorize is Cloudflare’s managed vector database for Workers and edge AI applications. It is distinct from the existing Cloudflare Workers tool page: Workers is the compute runtime, while Vectorize is the embedding index and vector-query layer used to add semantic retrieval to Cloudflare-hosted apps.

freemium
Upstash Vector logo

Upstash Vector

Serverless vector database with pay-as-you-go API pricing

Upstash Vector is a managed serverless vector database for RAG, semantic search, and embedding lookup. It is separate from the existing Upstash platform record in the aicoolies catalog: this slug covers the Vector product line, not the broader Redis, Kafka, or QStash platform.

freemium
OpenSearch logo

OpenSearch

Open-source search engine with vector and hybrid retrieval

OpenSearch is an Apache-2.0 distributed search engine with native vector-search support for teams that want BM25, filters, aggregations, and k-NN retrieval in the same search stack. It is distinct from Elasticsearch in the aicoolies catalog: OpenSearch is the AWS-backed open fork with its own docs, plugin path, and serverless deployment options.

Open Source
Supabase MCP logo

Supabase MCP

MCP server for connecting AI assistants to Supabase projects

Supabase MCP is Supabase's Apache-2.0 server for connecting AI assistants to Supabase projects. It can expose database, configuration, and project-management workflows to MCP clients such as Cursor, Claude, and Windsurf, while the official docs emphasize permission and security review before production use, SQL changes, or high-privilege database access.

Open SourceTelemetry
Deep Lake logo

Deep Lake

AI data runtime for multimodal datasets and vector search

Deep Lake is an open-source AI data runtime from Activeloop for storing, versioning, and querying multimodal data and embeddings. It fits teams building RAG, training, evaluation, or dataset-heavy agent workflows that need a bridge between vector search, structured metadata, and large image, text, audio, or video collections.

Open Source

Comparisons

SurrealDB vs Milvus — Multi-Model Database vs Dedicated Vector Search Engine

SurrealDB and Milvus both support vector similarity search but approach the problem from opposite architectural philosophies. Milvus is a purpose-built vector database engineered for billion-scale similarity search with sub-millisecond latency. SurrealDB is a multi-model database that includes vector capabilities alongside document, graph, relational, and time-series storage in a single engine with one query language.

SurrealDBMilvus

FAQ

What is SurrealDB?

SurrealDB is a multi-model database that natively combines document, graph, relational, key-value, and vector storage in a single engine. It eliminates the need for separate databases by handling structured queries, graph traversals, full-text search, and vector similarity in one SQL-like query language called SurrealQL. Built in Rust for performance and safety, it supports real-time subscriptions, row-level permissions, and embedded or distributed deployment modes.

Is SurrealDB free?

Yes — SurrealDB is open source and free to use. Free open-source core; Surreal Cloud paid tiers

Is SurrealDB open source?

Yes — SurrealDB is open source.

What are the best SurrealDB alternatives?

The top editor-verified SurrealDB alternatives are Milvus, Weaviate, Qdrant.