GestaltDB Documentation
GestaltDB is an embedded property-graph toolkit with swappable LMDB, LevelDB and RocksDB/PyRex backends, independent serializers, indexed filtering, and Cypher reads and writes. Arrow/Polars ingestion and reusable array-native sampling support graph-data and ML pipelines. Temporal history, sourced claims, ontology compilation and standalone Datalog add explicit knowledge-representation workflows.
Start with Quickstart to create a disposable graph, query it, and sample neighbors. You can use the database, sampling or standalone reasoning without adopting the whole stack. See Components, Interfaces, and Applications for how the components connect.
Choose a capability
Important choices
Live traversal or reusable arrays? Live sampling reads typed adjacency;
SamplerSnapshot/SamplerEnginereuse compact arrays for repeated draws. Filter the eligible graph at build time, not just the seeds. Snapshot construction, loading and steady-state sampling have separate costs (Sampling for graph learning).Historical data or temporal reasoning? Version history selects what is visible at valid/system time; interval reasoning computes when conclusions follow. Recording history does not run Datalog (Reason over complete validity ranges).
Stored rules or standalone Datalog?
graph.rulesoperates on temporal claims. Standalone engines consume explicit programs/facts; database extraction, admission and publication use explicit adapters (Runnable API Workflows).Evaluation or publication? A computed result does not automatically modify graph records. Source authentication checks source/state identity, not the truth of assertions or user credentials (Authenticated durable-session resume).