NEW

New University Course: SurrealDB for AI Engineers

Start the course

1/3

Built for legal intelligence

Evidence. Every statement kept with its source, its author and its date.
Judgement. Reviews and corrections recorded beside what they review.
Isolation. Per-matter access control, enforced in the database.

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.

PIVOT AI

See it in practice. How Pivot AI builds on SurrealDB.

Your questions,answered

Each statement is its own record with the voice that made it, its kind (for example a source statement or a model inference) and a link to its source. A reviewer's decision is a separate record, so the original inference stays unchanged.

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

Start building with SurrealDB. Evidence, judgement and access control in one database, ready for the scrutiny legal work attracts.

ISO 27001
AICPA SOC 2 Type 2
Cyber Essentials
GDPR
Cyber Essentials Plus