Getting Started with Terraphim AI

Welcome to Terraphim AI! This guide will help you get up and running quickly, whether you're a developer, researcher, or end user.

πŸš€ Quick Start (5 Minutes)

Choose Your Installation Method

Option 1: Rust CLI/TUI (Recommended for Power Users)

cargo install terraphim-agent
terraphim-agent --help

Option 2: Node.js Package (Great for Web Integration)

npm install @terraphim/autocomplete
# or with Bun
bun add @terraphim/autocomplete

Option 3: Python Library (Perfect for Data Processing)

pip install terraphim-automata

Option 4: Desktop Application (GUI Users)

Download from GitHub Releases

Your First Query

After installation, try your first semantic search:

# Rust CLI
terraphim-agent search "your query here"

# Node.js
const terraphim = require('@terraphim/autocomplete');
const results = await terraphim.search('your query here');

# Python
from terraphim_automata import Autocomplete
engine = Autocomplete()
results = engine.search('your query here')

🎯 What Can Terraphim AI Do?

Core Capabilities

  • πŸ” Semantic Search: Find information across multiple data sources
  • 🧠 Knowledge Graph: Understand relationships between concepts
  • πŸ’¬ AI Chat: Interactive conversations with your data
  • πŸ“Š Smart Linking: Automatic markdown/html/wiki linking
  • πŸ”„ Auto-Update: Always up-to-date with latest features

Data Sources You Can Search

  • Local Files: Your markdown, text, and code files
  • GitHub Repositories: Search across 500,000+ public repositories
  • Team Knowledge: Jira, Confluence, SharePoint integration
  • Stack Overflow: Programming questions and answers

πŸ—οΈ Architecture Overview

Terraphim AI uses a modular, privacy-first architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Rust Core     β”‚    β”‚   Node.js Bindingsβ”‚    β”‚  Python Bindings β”‚
β”‚   (terraphim_   β”‚    β”‚  (@terraphim/     β”‚    β”‚ (terraphim-      β”‚
β”‚    service)      β”‚    β”‚   autocomplete)    β”‚    β”‚   automata)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚                        β”‚                        β”‚
          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Knowledge Graph       β”‚
                    β”‚  (terraphim_rolegraph) β”‚
                    β”‚  (terraphim_automata)   β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Configuration Basics

Environment Setup

1. Basic Configuration

Create a configuration file at ~/.config/terraphim/config.toml:

[data]
default_data_path = "~/Documents/terraphim"
index_documents = true

[search]
default_scorer = "tfidf"  # Options: bm25, tfidf, jaccard
max_results = 20

[llm]
provider = "ollama"  # Options: ollama, openrouter, claude
model = "llama3.2:3b"
temperature = 0.7

2. Data Source Configuration

Add your data sources:

[sources.local_files]
path = "~/Documents"
file_types = ["md", "txt", "rst"]

[sources.github]
enabled = true
languages = ["rust", "python", "javascript"]

πŸ“š Next Steps

For Different User Types

πŸ”¬ Researchers & Data Scientists

🌐 Web Developers

πŸ‘₯β€πŸ’Ό Business Users

πŸ”§ System Administrators


❓ Need Help?

Common Questions

Q: Which package should I use? A:

  • Developers: Rust CLI (terraphim-agent)
  • Web Integration: Node.js (@terraphim/autocomplete)
  • Data Analysis: Python (terraphim-automata)
  • GUI Users: Desktop application

Q: How do I add my own data? A: See Configuration Guide for detailed instructions

Q: Can I use Terraphim offline? A: Yes! Terraphim is privacy-first and works completely offline with embedded defaults

Getting Support


πŸŽ‰ You're Ready!

You now have Terraphim AI installed and configured. Start exploring your knowledge graph with semantic search powered by AI assistance.

Try these commands first:

terraphim-agent search "semantic search examples"
terraphim-agent chat "help me understand my data"
terraphim-agent role create research-assistant

Welcome to the future of privacy-first AI assistance! πŸš€


Last Updated: December 20, 2025 Part of: Terraphim AI Documentation v1.3.0