Zenith Logic Foundry
Forge Grounded Wisdom, Mapped To You.
解答世间万物
zlf is a WAM-backed Prolog graph database for building AI-native knowledge bases. It stores graph facts persistently, evaluates queries and rules through a single Prolog runtime, and supports retrieval over the resulting knowledge graph.
Build the CLI:
cargo build --release
Open a database in the Prolog REPL:
target/release/zlf repl ./zlf-db
See the usage guide for installation, configuration, REPL and Prolog examples, JSON-over-STDIO commands, HTTP endpoints, index profiles, embeddings, and operational guidance.
CLI / HTTP server / REPL
-> WAM Prolog runtime
-> storage-backed facts, compiled rules, and indexes
-> RocksDB
cargo fmt --all
python3 scripts/check-rust-size.py
cargo clippy --workspace --all-targets -- -D warnings -W clippy::too_many_lines
cargo test --workspace
MIT OR Apache-2.0