Your knowledge
deserves
sovereignty

Terraphim AI is a privacy-first search assistant built in Rust. It runs on your machine, indexes your repositories, and never sends a byte to the cloud. No surveillance. No compromise.

terraphim-agent

We reject the premise that intelligence requires surveillance.

Terraphim operates entirely on your hardware. Knowledge graphs are built from your documents using Aho-Corasick automata -- the same algorithms that power high-performance text matching in tools like ripgrep. Your semantic index stays local. Your search queries never leave your device.

Built by Applied Knowledge Systems Ltd, Terraphim is open-source Rust, auditable to the last byte. Every search, every graph traversal, every relevance score is computed locally.

Privacy is not a feature. It is the architecture. TERRAPHIM DESIGN PRINCIPLES
29 crates | 5+ search algorithms | <2s boot | 0 cloud
SEARCH ENGINE

Five algorithms compete on every query

TitleScorer, BM25, BM25F, BM25Plus, and TerraphimGraph run concurrently. The best answer surfaces.

PRIVACY

Local-first architecture

Every index, graph, and query stays on your machine. No telemetry, no cloud dependency.

KNOWLEDGE GRAPHS

Aho-Corasick automata

Build thesauri from documents. Sub-millisecond concept extraction with LeftmostLongest matching.

ISOLATION

Firecracker microVMs

Run untrusted code in fully sandboxed VMs with sub-2-second boot.

MODULARITY

29 specialised crates

Search, persistence, agent orchestration, knowledge graphs, and haystack integrations -- each crate does one thing well.