APPLIED KNOWLEDGE SYSTEMS LTD SHEET 1 OF 1

Terraphim AI

Privacy-first semantic search engine. Local knowledge graphs, Aho-Corasick automata, and role-based relevance -- running entirely on your hardware.

A
System Specifications
Runtime Rust + Tokio async. No garbage collector, no runtime overhead. Compiles to a single binary.
Search Engine Aho-Corasick automata with LeftmostLongest matching for sub-millisecond concept extraction across documents.
Privacy Model All data stays on your machine. No telemetry. No cloud dependency. Your knowledge graph is yours alone.
Knowledge Graph Per-role semantic graphs mapping concepts, synonyms, and documents. Thesaurus-driven expansion at query time.
WASM Support Autocomplete runs in-browser via WebAssembly. ~200KB compressed. Chrome 57+, Firefox 52+, Safari 11+.
Integration Specifications
Haystacks Ripgrep, Confluence, Jira, Discourse, JMAP email, ClickUp, Logseq, Quickwit, MCP protocol.
Relevance Funcs TitleScorer, BM25, BM25F, BM25Plus, TerraphimGraph -- configurable per role.
LLM Backends Ollama (local), OpenRouter (optional, feature-gated). Provider-agnostic LlmClient trait.
MCP Server Full Model Context Protocol support. Autocomplete, text matching, fuzzy search, graph connectivity -- all exposed as tools.
Desktop App Svelte + Tauri. Native on macOS, Linux, Windows. Bulma CSS. Real-time search and graph visualisation.
B
29 crates. One workspace. Zero vendor lock-in.
C
Interactive REPL with semantic search, chat, and VM management
terraphim-agent // interactive session PID 41927
$ terraphim-agent Terraphim AI v0.9.0 -- Privacy-first semantic search Loading role: Terraphim Engineer Thesaurus loaded: 2,847 concepts | Automata built in 12ms Type /help for commands. terraphim> /search "knowledge graph persistence" Searching across 4 haystacks... (BM25 + TerraphimGraph) [0.94] terraphim_persistence/src/lib.rs Multi-backend storage with transparent cache warm-up. Memory > DashMap > SQLite > S3 -- ordered by speed. [0.87] terraphim_rolegraph/src/graph.rs Per-role knowledge graph with node/edge relationships. Thesaurus-driven concept extraction and expansion. [0.81] crates/terraphim_config/src/roles.rs Role configuration with relevance function selection. Supports BM25, TitleScorer, TerraphimGraph scoring. 3 results in 47ms | 0 network calls | 0 bytes transmitted terraphim> /chat "Summarise persistence caching" The persistence layer uses a multi-backend cascade ordered by speed. When data is loaded from a slower backend (SQLite, S3), it is automatically written back to the fastest operator using fire-and-forget tokio::spawn. Objects over 1MB are compressed with zstd. Schema evolution is handled gracefully -- deserialisation failures trigger cache invalidation and re-fetch.
D
Project Notes
Build System Cargo workspace with 29 crates. GitHub Actions CI with multi-platform Docker builds (amd64, arm64, arm/v7).
Firecracker VMs Sub-2-second boot. Secure sandboxed execution for untrusted code. Intelligent mode selection: local, firecracker, or hybrid.
Agent System Six agent crates: supervisor, registry, messaging, evolution, goal alignment, task decomposition. Multi-agent coordination built in.
Open Source MIT and Apache-2.0 dual licence. Contributions welcome. No CLA required.