CAPABILITIES
Evidence you can trace. Designed for matters where parties disagree and every step must be explained.
Evidence graph
Records, sources and statements linked so every claim leads to its basis.
Matter isolation
Table and field permissions evaluated per record, with access denied by default.
Agent Memory
Scoped memory that lets an assistant resume work from a reviewed correction.
One platform
Documents, graph, vectors and full-text search in a single engine.
SEE IT IN ACTION
Isolate every matter. Permissions the database enforces on each query.
A lawyer signed in through a record access method sees only the documents of the matters assigned to them.
1-- A document belongs to one matter
2DEFINE TABLE document SCHEMAFULL
3 PERMISSIONS FOR select, create, update
4 WHERE matter IN $auth.matters;
5DEFINE FIELD matter ON document TYPE record<matter>;
6DEFINE FIELD title ON document TYPE string;
7
8-- Signed in as a lawyer assigned to matter:smith
9SELECT title FROM document;
10-- Returns only the documents of matter:smith
USE CASES
Core use cases. How legal and compliance teams apply SurrealDB.
Disclosure and e-discovery
Competing statements about the same asset kept side by side, each with its source.
Contract and clause intelligence
Clauses, parties and obligations as a graph, searchable by meaning and by structure.
Regulatory change tracking
Rules linked to the policies, controls and contracts they affect.
Matter and case management
Each client's matter held in its own permission boundary, inside the engine.
Audit trails and provenance
Reviews, decisions and corrections stored as records that can be queried later.
Legal research assistants
Retrieval over embeddings and linked records, scoped to one authorised matter.
WHY SURREALDB
Why decision makers choose SurrealDB. The advantages that matter in legal and compliance work.
Relationships that carry data
Graph edges are full records, so who said what, on which source and when sits on the relationship itself.
Permissions in the engine
Record-level rules mean a query returns only what the signed-in user's matters allow.
Agent Memory with scope
Memory is partitioned by firm, matter and user, while principals and grants govern access.
Adaptable schema
Start with flexible documents, then add structure as practice areas and regulations change.
Fewer systems to align
The graph, the vectors and the access rules share one store and one transaction.
PIVOT AI
See it in practice. How Pivot AI builds on SurrealDB.
Computing over evidence, disagreement and judgement
How Pivot models disputed financial evidence as competing assertions, findings and decisions.
Remembering the correction: Ontology and agent memory in Pivot AI
How an agent resumes unfinished work from a reviewed correction, scoped to one matter.
Pivot AI case study
An assertion graph for financial disclosure, with retrieval 20 to 40 times cheaper.
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
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