Skip to content

Overview

Getting started

SurrealDB stores relational, document, graph, time-series, vector and full-text data in one engine, queried through SurrealQL and reachable from ten official SDKs. It runs embedded in your application, as a single node, or as a distributed cluster, and SurrealDB Cloud runs it for you, on dedicated instances or serverless on SurrealDB Earth.

Set me up for SurrealDB. Fetch https://surrealdb.com/docs/agents/instructions.md and follow it.

Your agent installs SurrealDB's Agent Skills and connects to the SurrealDB MCP server, ready to write SurrealQL against a real database.

Setup steps for each agent

SurrealQL is SQL-shaped, so most of it reads as you would expect. What it adds is the ability to relate records directly and traverse those relations in the same statement, without a join table or a second database. Edit and run this:

The querying guide covers the language properly, and data models covers what else the engine stores.

Each SDK has a quickstart that gets you connected, and a reference covering every method.

Community SDKs cover further languages, and the Expo and React Native guides cover mobile.

Was this page helpful?