Terraphim
Knowledge graph engine. Local-first. Zero telemetry.
The Aho-Corasick powered knowledge graph that runs where your data lives. Blazing pattern matching in Rust, compiled to native or WebAssembly. Your knowledge never leaves your machine.
Systems Online
The capabilities that power your knowledge graph empire.
Aho-Corasick Engine
Multi-pattern string matching at machine speed. Compiled automata scan entire knowledge graphs in O(n) time. The fastest text search available.
Privacy Shield
Zero telemetry. Zero cloud dependency. Your knowledge graph never leaves your machine. Data sovereignty is the foundation, not a feature.
Graph Weave
Construct knowledge graphs from any text source. Documents, notes, code, conversations -- everything becomes connected nodes in your personal universe.
Rust Core
Forged in Rust. Memory-safe, thread-safe, zero-cost abstractions. Compiles to native code or WebAssembly. No garbage collector, no runtime overhead.
Role System
Define knowledge roles that filter and weight your graph. Switch between personas -- each surfaces different knowledge connections from the same data.
WASM Deploy
Run the full engine in any browser. WebAssembly compilation means Terraphim works everywhere -- desktop, mobile, edge workers, embedded systems.
Active Missions
Follow the deployment path to bring your knowledge graph online.
Primary Objectives
0 / 5 CompleteDeploy the Engine
Install Terraphim via Cargo or download the pre-built binary from release artefacts.
Initialise Knowledge Graph
Feed documents into the engine and watch knowledge nodes materialise from raw text.
Configure a Role
Create a knowledge role that filters your graph. Your first persona shapes how the engine sees connections.
Compile to WASM
Build the engine for browser deployment. Your graph runs everywhere with near-native performance.
Wire the Hooks
Connect Terraphim hooks into your editor or CLI. Knowledge replacement flows through every keystroke.
$ cargo install terraphim
# Mission 2: Index
$ terraphim index ./documents/
Indexed 2,847 nodes across 156 documents
# Mission 3: Search with a role
$ terraphim search "system design" --role engineer
Found 23 matching concepts in 4ms
System Architecture
The technology path from core engine to edge deployment.
Aho-Corasick Automaton
Compiles all knowledge patterns into a single finite automaton for simultaneous multi-pattern matching in linear time.
Local Knowledge Store
Embedded database layer. All knowledge persists on-device using efficient serialisation. No external database required.
Role-Based Filtering
Knowledge roles weight and filter graph traversals. The same data yields different insights depending on your active persona.
Hook System
Real-time text replacement hooks. Integrate into any editor, CLI, or application. Knowledge flows into your workflow automatically.
WebAssembly Runtime
Compile to WASM for browser, edge, and embedded deployment. The full engine runs anywhere with near-native performance.
Integrations
Equip your stack. Every deployment target covered.
Cargo Crate
Native Rust library
CLI Tool
Command-line interface
WASM Module
Browser runtime
REST API
HTTP service layer
Editor Hook
VS Code / Neovim
Container
Docker image
System Profile
Performance attributes and competitive analysis.
Core Attributes
System Lore
Terraphim was built by Applied Knowledge Systems -- engineers who believe knowledge should be sovereign, fast, and local.
Born from frustration with cloud-dependent, privacy-invasive knowledge tools. The engine runs entirely on your machine, indexing and connecting knowledge at speeds cloud services cannot match.
Alignment Local-First Sovereign
Guild Applied Knowledge Systems Ltd
Licence Apache 2.0