Knowledge Graphs
Aho-Corasick automata build semantic graphs from your documents. Concept-level search with thesaurus expansion across all your knowledge sources.
Privacy-first AI assistant. Semantic search via knowledge graphs. All connections routed locally -- nothing leaves your switchboard.
How data flows through Terraphim -- from query to results.
# Clone and build
git clone https://github.com/terraphim/terraphim-ai
cd terraphim-ai
cargo build --release
# Start the server
cargo run --release -- --config terraphim_engineer_config.json
# Start the desktop frontend
cd desktop && yarn install && yarn dev
# Or launch the TUI
cargo build -p terraphim_tui --features repl-full --release
./target/release/terraphim-agent
# Start MCP for AI tool integration
cd crates/terraphim_mcp_server
./start_local_dev.sh
# Available tools:
# autocomplete_terms -- fast term completion
# find_matches -- pattern matching
# replace_matches -- text replacement
# load_thesaurus -- concept loading
# fuzzy_autocomplete -- Jaro-Winkler search
Route your knowledge locally. Privacy-first, zero cloud dependency.