United Kingdom · Privacy-preserving AI assistant · Applied Knowledge Systems Ltd
Local-first knowledge graph search engine in Rust and WebAssembly. Your data never leaves your machine.
Local-First Search · Knowledge Graphs · Rust + WASM · MCP Server · Privacy by Design · Agent Hooks
What is Terraphim · Flagship · Install · Ecosystem · Community · About · Connect
Note
Sub-millisecond search, zero telemetry, no account required. Terraphim matches thousands of knowledge-graph patterns in a single pass using Aho-Corasick automata — on your hardware, never in our cloud.
Terraphim is a privacy-preserving AI assistant that works for you under your complete control. It starts as a local search engine over role-based knowledge graphs — personal notes (Obsidian, Logseq, Markdown), team systems (Jira, Confluence), code (grepapp), and email — and grows into an exocortex that runs entirely on your infrastructure.
- Local-first architecture — indexing, search, and graph traversal happen on-device. No cloud dependency, no exfiltration.
- Knowledge graph engine — role-configured thesauri with Aho-Corasick multi-pattern matching; every match traces back to a concept.
- Graph embeddings — deterministic, explainable ranking. No neural vectors, no GPUs.
- MCP server — first-class integration with Claude Code, Codex, and other AI coding assistants.
- Hooks system — deterministic context injection for agentic coding workflows.
- Eight deployment targets — CLI, desktop (Tauri), HTTP server, MCP server, browser extension (WASM), Node.js, Python, edge/embedded.
| Project | Stars | Lang | Purpose |
|---|---|---|---|
| terraphim-ai | The engine: deterministic AI assistant with local-first KG search, MCP server, CLI, and HTTP server — 52+ workspace crates | ||
| terraphim-ai-desktop | Privacy-first desktop application built with Tauri | ||
| md-book | Rust documentation can be pretty — the engine behind docs.terraphim.ai | ||
| terraphim-liquid-glass-terminal | Terminal emulator with liquid glass design effects, Rust/Tauri | ||
| terraphim-skills | Best-practice engineering skills for Rust/WebAssembly development with AI coding agents | ||
| terraphim-firecracker | Firecracker VM tooling for the Terraphim Private Cloud |
Tip
# macOS / Linux
brew tap terraphim/terraphim && brew install terraphim-ai
# or via Cargo
cargo install terraphim-agent
# or one-liner
curl -fsSL https://raw.githubusercontent.com/terraphim/terraphim-ai/main/scripts/install.sh | bashFull guide: terraphim.ai/docs/installation
| Project | What it is |
|---|---|
| terraphim.ai | Project website — terraphim.ai |
| vscode-terraphim | VS Code extension for Terraphim search |
| zed-terraphim | Zed editor extension |
| terraphim-wxt-extension | Browser extension: WASM-powered KG search on any page |
| terraphim-cursor-plugin | Cursor skills for Terraphim search, learning, and memory |
| INCOSE-Systems-Engineering-Handbook | Semantic search over the systems engineering body of knowledge |
Long-form discussion and integration guides on Discourse, real-time chat on Discord, news and showcases on Reddit.
Terraphim is built by Applied Knowledge Systems Ltd:
- Terraphim's talent digital shadow functionality was funded by Innovate UK (project "ATOMIC", TSB Project No: 600594)
- 2021 Platinum winner of the Redis "Build on Redis" Hackathon — real-time NLP over medical literature (The Pattern)
- Advanced operational digital twins of aircraft networks for Boeing and Rolls-Royce
- Sensor fusion from IoT devices: LiDAR, acoustic water-flow sensors
- More at applied-knowledge.systems
Note
Why "Terraphim"? Alex Mikhalev was inspired by Vasiliy Golovachev's Relict science-fiction series, where a Terraphim is an artificial intelligence living inside a space suit — part of an exocortex.