Skip to content

Embedded and edge

Embedded. One binary inside your application, with the full engine.
Edge and WASM. On devices and in browsers, offline-ready.
One API. The same queries from edge to cloud.

01 |SINGLE BINARY

One binary, any device

Embedded mode

SurrealDB as a library, in-process, so a query is a function call.

WASM runtime

The full query engine in the browser as WebAssembly, offline-capable, in the same SurrealQL.

Edge devices

IoT devices, mobile applications and edge nodes, serving data where it is generated.

02 |OFFLINE-FIRST

Offline-first, with full ACID guarantees. Replication to a central instance runs through your application.

OFFLINE

Offline-first

Reads and writes happen locally, with full ACID guarantees, whatever the connection.

REPLICATION

Replication through your application

Edge instances run offline with full ACID guarantees; replication to a central instance runs through your application, on the connection and schedule it chooses.

API

Same API everywhere

The same SurrealQL, SDKs and data model from a WASM browser instance to a cloud cluster.

SCALE

Scale from edge to cloud

Embedded, then single-node, then a distributed cluster, on the same application code.

PLATFORMS

Every platform

Linux, macOS, Windows and the browser via WebAssembly. The Rust SDK runs embedded, the JavaScript SDK ships a WASM engine.

QUERIES

Same queries, edge and cloud

The same SurrealQL, data model and API in every deployment mode, so code written for an embedded instance runs identically on a cluster.

03 |AI AT THE EDGE

Agent context at the edge. From a WASM agent to a cluster, on the same code.

CONTEXT

Local context, full queries

Agents reason over locally stored context with multi-model queries, with or without a connection.

MEMORY

Memory that travels

What an agent learns offline is committed locally with full ACID guarantees; your application replicates it to the central instance, into the same engine.

CODEBASE

One codebase, every scale

From an embedded WASM agent to a distributed cluster on the same application code.

Explore AI agents

Your questions,answered

SurrealDB runs on Linux, macOS, Windows and in the browser through WebAssembly. The Rust SDK provides an embedded mode for in-process use, and the JavaScript SDK includes a WASM engine for browser deployment.

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent, and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Run SurrealDB at the edge. Single binary, WASM and offline-first, with one API from embedded to cloud.

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