Privacy-first semantic search

A local AI assistant that searches across your knowledge repositories without ever sending data to the cloud. Built in Rust with knowledge graphs, automata, and 29 specialised crates.

Capabilities
Search

Five relevance algorithms, one query

TitleScorer, BM25, BM25F, BM25Plus, and TerraphimGraph run concurrently across every haystack. Results are ranked, merged, and returned in under 200ms on commodity hardware.

Privacy

Zero cloud dependency

Every index, every graph, every query stays on your machine. No telemetry. No external calls unless you explicitly configure a haystack connector.

Knowledge Graphs

Aho-Corasick automata at scale

Build thesauri from documents or URLs. The automata engine matches concepts using LeftmostLongest strategy, constructing rolegraphs per user profile.

Haystacks

Search everywhere you work

Ripgrep for local files. Confluence, Jira, Discourse, email via JMAP, ClickUp, Logseq, Quickwit, and MCP -- all indexed through a unified middleware layer.

Infrastructure

Firecracker VMs with sub-2-second boot

Run untrusted code in fully isolated microVMs. The pooling system pre-warms instances, achieving under 500ms allocation. Hybrid execution routes trusted operations locally, everything else through the sandbox.

29
Rust crates
5+
Search algorithms
<2s
VM boot time
0
Cloud dependencies
In action
terraphim-agent
$ terraphim-agent Terraphim Agent v0.9.0 -- Privacy-first AI assistant Loaded role: Terraphim Engineer Relevance function: TerraphimGraph Haystacks: 4 configured (ripgrep, confluence, discourse, quickwit) ------------------------------------------------------ terraphim> /search "knowledge graph automata" Searching across 4 haystacks... [ripgrep] 142 documents indexed [confluence] 89 pages matched [discourse] 34 topics scanned [quickwit] 1.2k records queried Results (top 5, ranked by TerraphimGraph): 1. Aho-Corasick Automata Design score: 0.94 2. RoleGraph Construction Pipeline score: 0.87 3. Thesaurus Building from URL Sources score: 0.83 4. Knowledge Graph Path Connectivity score: 0.79 5. Semantic Expansion with Custom Synonyms score: 0.71 Completed in 184ms terraphim> /chat "summarise the top result" The Aho-Corasick automata engine provides LeftmostLongest matching for concept extraction. Thesauri define normalised terms and their synonyms. The engine constructs per-role knowledge graphs (rolegraphs) that map documents to concepts, enabling semantic search without external embedding services.