NEW

SurrealDB 4 is here, introducing SurrealDB Earth and SurrealDS!

Learn more

Digital twins, on one substrate

Entities. Every asset and its relationships modelled natively as one graph, with configuration as documents.
Telemetry. Time-series beside the graph in one transactional engine, joined to its assets in one query.
Agents. What an agent learns about a machine is stored against the machine, in the twin's own graph.

01 |RELATIONSHIPS + TELEMETRY

One graph for assets and their world. Relationships, telemetry and documents in one query.

1-- Find turbines within 50km of a depot, with their upstream dependencies
2-- and last five temperature readings, in one statement.
3SELECT
4 id, name, location,
5 ->depends_on->asset.{ id, name, status } AS upstream,
6 (SELECT value, recorded_at FROM sensor_reading
7 WHERE asset_id = $parent.id AND metric = "temperature"
8 ORDER BY recorded_at DESC LIMIT 5) AS recent_temps
9FROM asset
10WHERE kind = "turbine"
11 AND geo::distance(location, (-1.6, 53.8)) < 50000;

02 |REWIND, REPLAY, FORK

Versioned state, non-destructive history. Any moment, read back as a query.

SELECT ... VERSION reads a record as it stood at any moment on a versioned store. Add valid_from and valid_until to track when a fact held in the world, and scenario branching becomes a query rather than orchestration.

03 |AGENTS INSIDE THE TWIN

Agent Memory on the same engine. The agent's view of the twin and the twin itself share a transaction.

Typed relationships

What an agent learns about a machine is stored against the machine, in the twin's own graph.

Temporal state and provenance

Every remembered fact carries when it held and where it came from, beside the twin's versioned records.

Calibrated trust

Memory and twin share one transaction boundary, so the agent never acts on a state the twin has moved past.
Explore Agent Memory

Your questions,answered

A digital twin is rarely only a graph: telemetry is time-series, configuration is document-shaped, semantic search needs vectors, locations are geospatial, scenarios need versioned state. Neo4j is a dedicated graph database, so those become further systems joined through middleware. SurrealDB holds all of them in one engine and one query language.

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

Build your digital twin on one backbone. Entities, relationships, telemetry, vectors and the agents that reason over them, in one engine.