We build tools for thinkers

Terraphim AI is a privacy-first search assistant that runs on your machine. It builds knowledge graphs from your documents and finds what matters -- without ever sending your data elsewhere.


Search

Your documents become a knowledge graph

Terraphim does not just search text -- it understands structure. Every document you index gets processed through Aho-Corasick automata that extract concepts and build a graph of relationships. The result is a personalised knowledge network that improves with every file you add. Each role you configure gets its own graph, its own thesaurus, and its own relevance function.


Architecture

Haystacks connect to where you already work

A haystack is any source of knowledge. Local folders indexed with ripgrep. Confluence wikis and Jira tickets through the Atlassian connector. Discourse forums. Email via JMAP. Even Quickwit for log analysis. Each haystack plugs into the same interface, so adding a new source is straightforward. All indexing happens on your hardware.


Performance

Sub-millisecond matching, compiled to automata

The pattern matching engine uses Aho-Corasick automata with LeftmostLongest matching. Thousands of terms matched simultaneously in a single pass. Autocomplete returns in under 5 milliseconds. The automata compile to WebAssembly at roughly 200KB compressed, so the same engine runs in your browser, your terminal, and your desktop application.

We believe the best tools feel like workshops, not factories. Terraphim is designed for people who think carefully about their work and want their tools to respect that care.

-- Applied Knowledge Systems Ltd
The Workbench
$ terraphim-agent # Terraphim AI -- Interactive REPL # Your knowledge, your control terraphim> /search "semantic search architecture patterns" Searching 5 haystacks across 2 roles... Scorer: TerraphimGraph [1] Search Architecture Overview ~/docs/architecture/search.md 0.94 [2] Relevance Function Design confluence://team/scoring 0.88 [3] Graph Traversal for Ranking ~/notes/graph-ranking.md 0.83 3 results in 28ms | All data local terraphim> /chat "summarise the search architecture" The search layer orchestrates queries across multiple haystacks. Each haystack returns candidate documents, which are then scored by the active relevance function and merged into a unified result set. terraphim> _

What connects to Terraphim

Open Source

29 Rust crates, MIT licence, zero telemetry

Every line of Terraphim is open source. The workspace compiles to native binaries, WebAssembly, and Tauri desktop applications. Async throughout with Tokio. Memory safety guaranteed at compile time. Built by Applied Knowledge Systems Ltd for people who believe privacy is a right, not a premium feature.