Expand description
kglite — pure-Rust knowledge graph engine.
Cypher pipeline, snapshot/working CoW transactions, columnar /
mmap / disk storage backends, optional dataset loaders
(SEC EDGAR, Sodir, Wikidata). The Python wheel
(pip install kglite) is built by the sibling kglite-py
crate; the Bolt and MCP protocol servers are separate
workspace binaries.
§Public API
Downstream Rust consumers (the Python wheel, the bolt and
mcp server binaries, future Go/TypeScript/JVM bindings)
should depend on the curated api module — those items
get semver guarantees. Anything else is an implementation
detail.
See docs/rust/embedding.md for the embedder guide.
Modules§
- api
- Curated stable Rust API. Downstream consumers should depend on items here, not on the underlying module structure (which may move between minor releases).
- code_
tree - Code-tree: parse polyglot codebases into KGLite knowledge graphs.
- datasets
- Pre-packaged dataset loaders for kglite.
- datatypes
- Datatypes shared across the kglite engine.
- error
- Typed error taxonomy for KGLite.
- graph
- param
- Parameter-shape helpers for bindings — wire-shaped values
(JSON / protobuf-map / etc.) →
kglite::api::Value.