Run extensions inside SurrealDB.A programmable data and logic layer for agentic and AI-heavy workloads.
AI-ready by design
Call LLMs, embedding models or GPU inference next to the data and write the result back in the same statement.
Near-native performance
WebAssembly runs close to the data inside a sandbox: compute beside the records, and nothing else.
Fine-grained governance
Least-privilege execution for multi-tenant clusters, with a permission expression per function.
01 |WASM SANDBOXING
Isolated by design
Each call creates a fresh WASM instance with its own memory. A module reaches SurrealDB only through explicit host functions, and data crosses the boundary by serialisation.
02 |BUILD PIPELINE
How extensions work
Write in Rust, compile to WebAssembly with the SurrealDB CLI, load into your instance, call from SurrealQL.
03 |ZERO-DOWNTIME UPGRADES
Hot-load, with the instance up
Deploy, upgrade or roll back a module on a running instance. In-flight requests finish on the previous version while new requests load the update from storage.
04 |TRANSACTION SAFETY
Same transaction, same commit
A module that calls back into SurrealQL runs in the transaction that invoked it, so its writes, the host callbacks and the original query commit or roll back as one.
THE PLATFORM
Everything an application and its agents know. Five surfaces, one engine.
Database
Document, graph, vector, time-series and relational in one engine.

Agent Memory
What an agent learns, with its source and its time, in the same engine.

Cloud
Managed clusters in the regions you choose, scaled on demand.

Studio
Query, explore and design the schema from the browser.

MCP
Every model that speaks MCP reaches the database and the memory directly.

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.
VP of Engineering, Later
GET STARTED