Terraphim
v1.16.0
Terraphim
Local-First Knowledge Navigation

Navigate Your
Knowledge at
Warp Speed

Terraphim is a local-first knowledge graph search engine built in Rust and WebAssembly. Your data never leaves your machine. Aho-Corasick pattern matching across role-based knowledge graphs, at native speed.

Hyperdrive Charge

0%
Search Latency < 1ms
Pattern Engine Aho-Corasick
Runtime WASM + Native
Workspace Crates 52+
Telemetry Zero
Navigation Waypoints

Core Capabilities

Each waypoint represents a fundamental capability of the Terraphim navigation system.

Honest Comparison

What You Keep vs What They Take

Feature-by-feature: Terraphim (local) vs typical cloud search products.

Capability Terraphim Cloud
Runs on your hardware
Data stays on device
Works offline
Zero telemetry
No account required
No API key
Open source
Knowledge graphs
MCP integration
Role-based profiles
Multi-source indexing
Token usage tracking
Vendor lock-in
Recurring subscription
Tally 12 / 2 3 / 11
= yes   = no   = partial   // rows 13-14: lower is better
System Readouts

Ship Systems

What the engine actually does, with numbers from the benchmark suite.

Computation Core

Rust compiled to native or WebAssembly. Aho-Corasick automata match every pattern in a single pass -- O(n) in text length, independent of pattern count.

Inference 5-10 ns
Search query sub-millisecond
Index throughput ~310 MiB/s

Memory Subsystem

No float vectors, no dense embeddings, no GPU allocation. Rust's zero-cost abstractions, deterministic allocation, graphs held in compressed representations.

Graph footprint 15-20 MB
Index build (100 terms) ~301 µs
Index build (1,000 terms) ~3.66 ms

Privacy Shield

All operations execute locally. No network calls for search, indexing, or graph traversal. Your data never leaves the device.

Network calls (search) 0
Telemetry None
Third-party services None required
What runs on your box
Search engineAho-Corasick
Graph engineRoleGraph
Agent protocolMCP server
RuntimeRust + WASM
Hook systemNative
DeploymentDesktop / CLI / Server
Measured performance
Inference5-10 ns
Search latency< 1 ms
Index 100 terms~301 µs
Index 1,000 terms~3.66 ms
Graph RAM15-20 MB
Privacy posture
Data at restLocal
Network accessNone required
Account requiredNo
LicenceApache-2.0 OSS

Numbers from Criterion benchmarks in crates/terraphim_automata/benches and docs.terraphim.ai. Run them yourself: cargo bench.

Crew Stations

Role-Based Knowledge Graphs

Each role brings its own vocabulary, relationships, and domain expertise.

System Operator

Infrastructure and operations focused. Monitors system health, manages deployments, navigates operational knowledge spanning runbooks, incident reports, and system documentation.

Infrastructure Monitoring Runbooks Incidents

Engineer

Design and development focused. Traverses codebases, API documentation, architecture decision records, and technical specifications through domain-specific pattern matching.

Architecture APIs Code Specifications

Analyst

Research and intelligence focused. Navigates across datasets, reports, and analytical frameworks. Discovers hidden connections between concepts using multi-pattern graph queries.

Research Reports Datasets Intelligence
Launch Platforms

Deploy Everywhere

One engine. Multiple deployment targets. Always local-first.

Desktop Application

Native desktop app built with Tauri. Full system integration, file system access, offline-first operation. Separate repository.

Tauri

Browser Extension

Knowledge graph search in your browser. WASM-powered, runs entirely in the extension sandbox. Coming to Chrome Web Store. Install now.

WASM

Command Line

Full CLI for pipeline integration, scripting, and terminal-first workflows. Native Rust binary, no runtime dependencies.

Rust CLI

HTTP Server

REST API server for search, configuration, chat, and document management. Integrates with Confluence, Jira, Discourse, email, and local files.

REST API
Get Started

Install Terraphim

One command. No sign-up. No API key. Choose your platform.

Install the Application

Quick Install

$ curl -fsSL https://raw.githubusercontent.com/terraphim/terraphim-ai/main/scripts/install.sh | bash

Homebrew

$ brew tap terraphim/terraphim && brew install terraphim-ai

Cargo

$ cargo install terraphim-agent
$ cargo install terraphim-cli

Windows

> curl -fsSL https://raw.githubusercontent.com/terraphim/terraphim-ai/main/scripts/install.sh | bash

Requires WSL. Or download the .zip directly.

Library Bindings

Embed Terraphim's autocomplete and knowledge graph engine in your own applications.

Node.js / Bun

$ npm install @terraphim/autocomplete

Native NAPI bindings for autocomplete and knowledge graph search.

Python

$ pip install terraphim-automata

PyO3 bindings for text matching and autocomplete. Python 3.9+.

Browser Extension

WASM-powered knowledge graph search in your browser. Coming to Chrome Web Store. Install in developer mode.