HOW IT WORKS
Multi-model query architecture
One query flows through documents, graphs, vectors, and time-series - resolved from a single transactional snapshot.
SurrealDB SDK
Postgres-compatible client
GraphQL client
SurrealDB
RPC protocol
PostgreSQL wire protocol
GraphQL endpoint
SurrealQL parser
ANSI-SQL parser
GraphQL parser and schema generator
SurrealDB executor
Execution logical plan
Execution physical plan
Document processing
DEPLOY ANYWHERE
Single binary, any device
In-memory, embedded, edge, WASM, or cloud - the same engine runs everywhere.
Python
Python, C, and C++ execution environment
In-process native communication
SurrealDB
Query engine
Storage engine(Local disk or block storage)
Periodic storage data compaction
and compacted data storage
and compacted data storage
HOW SURREALDB COMPARES
Every other agent stack is a frankenstack
Document store, graph database, vector database, cache, message broker, memory middleware - glued together and prayed over. SurrealDB replaces all of it.
















