A local-first retrieval engine that turns notes, docs, and code into a searchable knowledge base for humans and AI agents.
See the codekbolt is a local-first retrieval engine for indexing local notes and docs and searching them with keyword, semantic, reranked, and deep retrieval modes.
Full documentation: https://h3nock.github.io/kbolt/
macOS and Linux x86_64 with Homebrew:
brew install h3nock/kbolt/kbolt
Rust users on macOS, Linux, or Windows:
cargo install kbolt
Prebuilt binaries are also available from GitHub Releases.
If llama-server is not already installed, follow the official llama.cpp install guide.
Set up the default local retrieval stack:
kbolt setup local
kbolt doctor
kbolt setup local downloads the default local embedder and reranker models, starts managed llama-server processes, and writes the local provider bindings into the kbolt config directory.
Add a folder of notes or docs:
kbolt collection add /path/to/docs --name my_docs
On macOS and Linux, keep it fresh automatically:
kbolt watch enable
Search the indexed content:
kbolt search "rust error handling"
kbolt search "query" runs hybrid keyword + semantic retrieval. Reranking is opt-in for this default mode.
kbolt search "query": hybrid keyword + semantickbolt search "query" --rerank: hybrid + reranking (higher quality, slower)kbolt search "query" --keyword: keyword onlykbolt search "query" --semantic: dense onlykbolt search "query" --deep: explicit query expansion + multi-variant retrieval, reranked by defaultkbolt setup local configures the default local embedder and reranker. To enable deep search later:
kbolt local enable deep
Use --deep when the query may not share vocabulary with the best matching documents, or when a short/underspecified query needs broader recall. It runs query expansion on every search and is slower than the default search and --rerank; for exact titles, named entities, or lexically clear lookups, start with normal search or --rerank.
--space or --collectionkbolt get, kbolt multi-get, and kbolt lskbolt statuskbolt updatekbolt watch enablekbolt ignorekbolt doctor and kbolt models listllama-server or bind remote OpenAI-compatible endpoints through provider profileskbolt mcpkbolt eval ...kbolt schedule ...646 commits
Rust
100.0%
A local-first retrieval engine that turns notes, docs, and code into a searchable knowledge base for humans and AI agents.
See the codekbolt is a local-first retrieval engine for indexing local notes and docs and searching them with keyword, semantic, reranked, and deep retrieval modes.
Full documentation: https://h3nock.github.io/kbolt/
macOS and Linux x86_64 with Homebrew:
brew install h3nock/kbolt/kbolt
Rust users on macOS, Linux, or Windows:
cargo install kbolt
Prebuilt binaries are also available from GitHub Releases.
If llama-server is not already installed, follow the official llama.cpp install guide.
Set up the default local retrieval stack:
kbolt setup local
kbolt doctor
kbolt setup local downloads the default local embedder and reranker models, starts managed llama-server processes, and writes the local provider bindings into the kbolt config directory.
Add a folder of notes or docs:
kbolt collection add /path/to/docs --name my_docs
On macOS and Linux, keep it fresh automatically:
kbolt watch enable
Search the indexed content:
kbolt search "rust error handling"
kbolt search "query" runs hybrid keyword + semantic retrieval. Reranking is opt-in for this default mode.
kbolt search "query": hybrid keyword + semantickbolt search "query" --rerank: hybrid + reranking (higher quality, slower)kbolt search "query" --keyword: keyword onlykbolt search "query" --semantic: dense onlykbolt search "query" --deep: explicit query expansion + multi-variant retrieval, reranked by defaultkbolt setup local configures the default local embedder and reranker. To enable deep search later:
kbolt local enable deep
Use --deep when the query may not share vocabulary with the best matching documents, or when a short/underspecified query needs broader recall. It runs query expansion on every search and is slower than the default search and --rerank; for exact titles, named entities, or lexically clear lookups, start with normal search or --rerank.
--space or --collectionkbolt get, kbolt multi-get, and kbolt lskbolt statuskbolt updatekbolt watch enablekbolt ignorekbolt doctor and kbolt models listllama-server or bind remote OpenAI-compatible endpoints through provider profileskbolt mcpkbolt eval ...kbolt schedule ...646 commits
Rust
100.0%