01 |THE PROBLEM
The context wall. Every seam between systems is where context leaks.
Context leakage
Partial writes
Compounding latency
Operational overhead
02 |MEMORY
Remembers in one query. Graph, vector, filters and time in one round trip.
1-- Context engineering: combine graph, vector, and temporal data
2LET $user = user:jaime;
3LET $query_vec = fn::embed("What products does this user like?");
4
5SELECT
6 ->purchased->product AS purchase_history,
7 ->reviewed->product[WHERE vector::similarity::cosine(embedding, $query_vec) > 0.8] AS relevant_products,
8 ->preferences[WHERE valid_at <= time::now()] AS current_preferences
9FROM ONLY $user;
03 |MULTI-AGENT
Coordination through shared memory. One knowledge graph, under ACID guarantees.
Shared memory
Agents that share a Context read and write one Agent Memory graph, so what one agent learns is there for the others.
Serialised writes
Concurrent writes from many agents commit in order, with no lost updates.
Event-driven handoffs
Live queries and events wake downstream agents when relevant data changes.
Unified permissions
RBAC and record-level permissions apply to every agent the same way.
04 |THE STACK
Database and Agent Memory. One stack, one transaction, one policy.
Structured context
Documents, graphs, vectors, time-series and relational data in one engine.
Persistent memory
Knowledge graphs, entity extraction and temporal facts, kept with their source.
Hybrid retrieval
Vector similarity, graph traversal and structured filters in a single query.
Serverless on Earth
Serverless databases on Cloudflare's network, as many as your agents and users need, scaling to zero when idle; you pay for the data it stores.
Your questions,answered
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
Dedicated clusters by region, or serverless on SurrealDB Earth.

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