Terraphim AI is a local-first assistant powered by knowledge graphs and Aho-Corasick automata. No cloud. No telemetry. Just fast, private, semantic search.
A modular Rust workspace with 29 crates, each handling a single concern. Extend without breaking.
Custom graph-based semantic search using Aho-Corasick automata for fast text matching and concept extraction.
Every computation runs on your machine. No data leaves your device, ever. Privacy is not a feature -- it is the foundation.
Switch between TitleScorer, BM25, BM25F, BM25Plus, or TerraphimGraph per role and per query.
Local files, Confluence, Jira, Discourse, JMAP email, Quickwit -- unified search across all your sources.
The autocomplete engine compiles to WebAssembly for browser-based search. Under 200KB compressed.
Run untrusted code in microVMs with sub-2-second boot times and complete sandboxing.
Define knowledge domains, haystacks, and relevance functions. Each role gets its own personalised search context.
Thesaurus files are compiled into Aho-Corasick automata for fast, semantic text matching across your documents.
Connect local folders, wikis, emails, and task managers. The middleware layer indexes everything into a unified search space.
Queries are expanded through the knowledge graph, matched against automata, and ranked by your chosen relevance function.
Terraphim AI is free, open source, and built in Rust. Clone the repository, build with Cargo, and own your search.
View on GitHub Read the Docs