SurrealDB is a multi-model database designed to simplify building modern applications. It combines the capabilities of traditional relational databases, document stores, graph databases, and more into a single, unified platform. Whether you are building real-time applications, working with complex data relationships, or deploying AI-powered workflows, SurrealDB provides the tools you need without requiring multiple database systems.
Learn
The SurrealDB documentation contains a large number of guides, each designed to address different aspects of database management and application development.


Querying
Learn to query your data with SurrealQL, SDKs or GraphQL.


Schema Management
Learn how to shape data in SurrealDB using tables, fields, indexes, events, functions, and more.


Data Models
Store and query document, graph, vector, time-series, and geospatial data with SurrealDB.


Security
Learn how to strengthen your SurrealDB deployment with best security practices.


Agent Memory Context
Learn how to use SurrealDB as a memory context for AI agents.


Extensions
Learn how to extend SurrealDB with custom modules and WASM plugins.
Features
SurrealDB is built around a rich feature set that supports a wide variety of application requirements. Rather than requiring you to stitch together separate systems for different data models or capabilities, SurrealDB provides them all within a single engine.


Real-Time Queries
Subscribe to live queries and changefeeds for real-time data updates.


Authentication
Built-in authentication and access control with scoped permissions.


Graph Relationships
Model and traverse complex relationships using native graph edges.


Vector Search
Store embeddings and perform similarity searches for AI and RAG workflows.


Data Migrations
Evolve your database schema over time with SurrealKit.


Surrealist UI
A native UI to visually explore and manage your SurrealDB data.
SDKs
SurrealDB offers official SDKs for popular languages, supporting queries, authentication, real-time updates, and in some cases, embedded use. See your chosen language’s docs for setup and examples.
Deployment
SurrealDB offers flexible deployment options to suit your infrastructure requirements. You can run the database as a fully managed cloud service, self-host it on your own servers, deploy it within containers, or embed it directly into your application.


SurrealDB Cloud
Provision and manage cloud-hosted SurrealDB instances with automatic scaling and backups.


Self-hosted
Install and run SurrealDB on your own infrastructure with full control over configuration.


Embedding
Embed SurrealDB directly into your application as an in-process database engine.
Docker
Run SurrealDB in a Docker container for rapid setup and consistent environments.
Integrations
SurrealDB connects with third-party tools, data management platforms, AI frameworks, and embeddings providers. It also supports AI agent workflows, with guides for connecting agents to the database.


Integrations
Connect SurrealDB to third-party tools, AI frameworks, embeddings providers, and data management platforms.


AI agents
Build AI agent workflows that use SurrealDB for knowledge storage, retrieval, and state management.
Developer Reference
The reference documentation provides comprehensive, detailed specifications for all SurrealDB interfaces. This includes the full SurrealQL query language with syntax definitions, as well as the command-line interface for managing SurrealDB instances and the HTTP-based REST API for programmatic access.


SurrealQL
Complete query language reference covering statements, functions, data types, and operators.


CLI tools
Command-line interface reference for starting, managing, and interacting with SurrealDB.


REST API
HTTP API reference for querying and managing SurrealDB over REST endpoints.
Tutorials and resources
If you prefer learning through practical examples, the tutorials and demos section provides hands-on guides that walk you through common use cases and application patterns. The labs section offers experimental projects and community-contributed content for exploring SurrealDB in different contexts.















