Grand Strategy Knowledge System

Faction War

Six factions. One knowledge graph. The territory of understanding is yours to claim.

Terraphim AI is a local-first knowledge graph search engine built in Rust and WebAssembly. Each faction below represents a core capability -- united in purpose, distinct in character. Select your allegiance and explore the territory.

Strategic Overview

Knowledge Territory

Rust Core
Graph Weavers
Pattern Hunters
Privacy Shields
Role Shapers
Bridge Builders
Choose Your Allegiance

The Six Factions

Rust Core

Performance & Compilation

Forged in the furnace of zero-cost abstractions, the Rust Core faction commands the engine room. They compile knowledge into speed, turning raw data into structured power without a single byte of waste.

Speed
96
Safety
98
Reach
72
Rust WASM serde tokio

Graph Weavers

Knowledge Graph Construction

The Graph Weavers see connections where others see chaos. They spin threads between concepts, documents, and entities -- weaving a tapestry of meaning from the scattered fragments of your knowledge base.

Depth
92
Links
97
Scale
88
RDF SKOS Thesauri NLP

Pattern Hunters

Aho-Corasick Matching

Masters of the Aho-Corasick automaton, the Pattern Hunters track every occurrence of every term across every document simultaneously. No pattern escapes their gaze -- no matter how deeply buried in the text.

Speed
99
Recall
95
Stealth
80
Aho-Corasick Automata Multi-pattern

Privacy Shields

Local-First, Zero Telemetry

The Privacy Shields stand guard at the perimeter. No data leaves your machine, no telemetry phones home, no cloud service peers into your knowledge. What is yours remains yours -- sovereign, untouched, invisible to the outside world.

Privacy
100
Trust
100
Latency
95
Local-first No cloud No tracking

Role Shapers

Role-Based Graph Customisation

The Role Shapers understand that knowledge is contextual. An engineer sees one graph; a manager another; a researcher yet another. They sculpt the knowledge landscape to fit each user's role, surfacing what matters and concealing what distracts.

Flex
94
Context
91
Custom
89
Roles Profiles Filters Contexts

Bridge Builders

Integrations & Deployment

Where other factions fortify their domains, the Bridge Builders reach outward. They forge connections to Tauri desktop apps, browser extensions, CLI tools, and external APIs -- ensuring Terraphim meets you wherever you work.

Reach
95
Compat
90
Ease
85
Tauri Browser ext CLI REST API
Alliance Matrix

Diplomatic Relations

Rust Core Powers All
Rust Core Pattern Hunters

The Aho-Corasick automaton runs on Rust's zero-cost abstractions. Without Rust Core's compilation engine, Pattern Hunters would have no weapon to wield. Every microsecond of matching speed traces back to Rust's memory safety guarantees.

Privacy Shields Protect All
Privacy Shields All Factions

Every faction operates under the Privacy Shields' doctrine: local-first, zero telemetry, no cloud dependency. This is not a negotiable alliance -- it is a constitutional principle that governs the entire knowledge territory.

Weavers Feed Hunters
Graph Weavers Pattern Hunters

The knowledge graph constructed by the Weavers becomes the Pattern Hunters' terrain. Concepts, entities, and relationships from SKOS thesauri are compiled into the Aho-Corasick automaton's pattern dictionary.

Roles Shape the Graph
Role Shapers Graph Weavers

Different roles activate different subgraphs. A systems engineer's knowledge graph differs from an operations manager's. Role Shapers determine which woven threads become visible, creating bespoke knowledge landscapes for each user.

Bridges Extend Reach
Bridge Builders Rust Core

Through Tauri, browser extensions, and CLI tools, the Bridge Builders carry the Rust Core engine into every environment. WASM compilation enables the full power of the system to run inside a browser tab, untethered from servers.

Hunters Inform Shapers
Pattern Hunters Role Shapers

Pattern matching results feed back into role configuration. When a particular role repeatedly searches for specific patterns, the system adapts -- surfacing relevant concepts and suppressing noise with increasing precision.

Typographic Arsenal

Faction Type Specimens

Rust Core
Compiled
Zero-cost abstractions deliver raw throughput
0.003ms avg. compile-to-match latency
Fraunces 900 / Source Sans 3 300 / JetBrains Mono 400
Graph Weavers
Connected
Threads of meaning bind scattered knowledge into coherence
1,247,000 triples indexed
Fraunces 600 / Source Sans 3 400 / JetBrains Mono 400
Pattern Hunters
Found
Simultaneous multi-pattern detection
500,000+ patterns / second
Fraunces 900 / Source Sans 3 600 / JetBrains Mono 500
Privacy Shields
Sovereign
Your data never leaves your machine. Full stop.
TELEMETRY: 0 BYTES TRANSMITTED
Fraunces 400i / Source Sans 3 300 / JetBrains Mono 600
Role Shapers
Contextual
Every role reveals a different topology of understanding
12 pre-configured role profiles
Fraunces 800 / Source Sans 3 500 / JetBrains Mono 400
Bridge Builders
Everywhere
Desktop. Browser. Terminal. Wherever knowledge lives.
Tauri + WASM + CLI + REST
Fraunces 700 / Source Sans 3 300i / JetBrains Mono 500