A graph database inside your process.

DQL and GraphQL, embedded in Rust, TypeScript, Python, or C.

cargo add datastreamdb-core
your process
your app
HTTP client
Instance
DQLGraphQL query/posting/store
cluster
zerotablet map
alpharaft group
One process. No ports, no network, no separate server. Zero and alpha over HTTP or gRPC when clients share the graph.

One engine, two places to run it

The same schema, query planner, posting store, and GraphQL layer run in both modes. Embedded drops the network, not the engine.

Embedded
An Instance inside your application. No ports, no sidecar, no cluster to operate. Single-node, one writer.
Standalone
zero and alpha processes over HTTP or gRPC, with raft groups, ACL, and namespaces.

Relationships, not foreign keys

Genres are nodes. Cast roles live on the edge. Traverse either direction without a join table.

schema
genre: [uid] @reverse .
acted_in: [uid] @reverse .
type Movie {
  name
  genre
  acted_in
}
query
{
  movie(func: eq(name, "The Matrix")) {
    name
    genre { name }
    cast: acted_in @facets(role, billing) { name }
  }
}

Start in the language you already have

Four bindings over one Rust core. Each one opens an isolated instance and runs the same DQL.

BindingInstallOpen
Rust cargo add datastreamdb-core Instance::open(cfg)
TypeScript npm install @datastreamdb/core new Instance('{}')
Python pip install datastreamdb Instance("{}")
C release archive datastreamdb_open("{}", &h)

Where to go next

  • Quickstart Zero and alpha, schema, data, query, in five minutes.
  • Concepts Instances, predicates, relationships, transactions, namespaces.
  • Tutorials Movies, TODO, and orders, tested end to end.
  • DQL and GraphQL reference Types, indexes, facets, and poll-based subscriptions.