RELATIONSHIPS + TELEMETRY
One graph for assets, dependencies, and the world they live in
A digital twin is a graph of entities - machines, suppliers, sites, people, vehicles - connected by typed relationships such as depends_on, supplies, operated_by, located_at. Around those entities sits telemetry, configuration, documents, and embeddings. In SurrealDB, all of these are first-class. A single SurrealQL query can walk the graph, filter by attribute, fetch the most recent sensor readings, and apply a geospatial predicate.
REWIND, REPLAY, FORK
Versioned state and non-destructive history
Twins evolve. Equipment is replaced, configurations change, beliefs about a fault mode are revised when better evidence arrives. SurrealDB's VERSION clause lets you query a record as it existed at a given moment, so past state is reconstructed from the substrate itself rather than from bolt-on audit tables. Combine that with application-defined valid_from and valid_until fields to track when a fact held in the world - independent of when the database learnt about it - and scenario branching, what-if simulation, and forensic review of past decisions become queries rather than orchestration.
AGENTS INSIDE THE TWIN
Agent memory on the same engine
When AI agents operate inside a digital twin, they accumulate their own memory: what they have been told, what they have decided, what they now believe about the assets they reason over. That memory needs the same properties as the twin itself: typed relationships, temporal state, provenance, calibrated trust. Spectron provides this as a stateless application tier on the same SurrealDB substrate, with every fact carrying its source, every retrieval and decision recorded as a graph-resident trace, and contradictions surfaced as explicit uncertainty rather than silently overwriting. The agent's view of the twin, and the twin itself, share a transaction boundary. Learn more about Spectron at /platform/spectron.
FREQUENTLY ASKED QUESTIONS