Knowledge Graphs
Structured concept relationships connect your documents, notes, and code into a navigable semantic network -- not just keyword matches.
Semantic search across your knowledge, powered by knowledge graphs. Entirely local. No cloud dependency. Your data stays yours.
Every feature is designed around a single conviction: your knowledge should be searchable, private, and entirely under your control.
Structured concept relationships connect your documents, notes, and code into a navigable semantic network -- not just keyword matches.
All processing happens on your machine. No telemetry, no cloud sync, no third-party access. Your intellectual property stays yours.
Multiple relevance algorithms -- BM25, title scoring, graph-based ranking -- work in concert to surface results that match your intent.
Search across local files, Confluence, Jira, email, Discourse, and more. One query, every source, unified results.
Switch between engineering, operations, or custom roles. Each role carries its own knowledge graph, search preferences, and data sources.
Built in Rust with a modular crate system. Add new data sources, relevance functions, or AI providers without touching core logic.
From installation to insight in minutes, not hours.
Point Terraphim at your local folders, Confluence spaces, email accounts, or any supported haystack. Configuration is declarative JSON.
The system constructs a thesaurus from your documents, builds Aho-Corasick automata for fast matching, and maps concept relationships.
Queries are expanded semantically. Results are ranked by graph proximity, not just keyword frequency. You find what you meant, not what you typed.
A clean Rust API, modular crates, and no hidden magic.
# Install and run the server
cargo install terraphim-server
terraphim-server --config my_role.json
# Search via HTTP API
curl -X POST http://localhost:8080/documents/search \
-H "Content-Type: application/json" \
-d '{"query": "knowledge graph architecture"}'
# Or use the TUI
terraphim-agent
# /search "semantic web patterns"
The best search is the one that respects your context, your privacy, and the relationships between your ideas.
-- The Terraphim design philosophy
Open source. Rust-powered. Privacy-first. Start searching with meaning today.