-
Notifications
You must be signed in to change notification settings - Fork 2
FAQ
A single binary file containing your entire knowledge base. It includes nodes, edges, properties, indexes, and metadata. Copy it to back up, move it to migrate, delete it to start fresh. No external database needed.
Files stored alongside the .brain file: .brain.props (properties), .brain.types (type registry), .brain.vectors (embeddings), .brain.cooccur (co-occurrence), .brain.wal (write-ahead log), .brain.config (configuration), .brain.sources (data sources), .brain.docs.N + .brain.docs.idx (document store), .brain.assessments, .brain.secrets, .brain.rules.
For basic graph operations (store, relate, query, search), no. For advanced features (debate, chat, gap-closing, fact extraction, seed enrichment), yes. Any OpenAI-compatible endpoint works. We recommend Gemma 4 via Ollama.
For BM25 full-text search, no. For semantic similarity search (/similar, /ask), yes. Configure via API or onboarding wizard.
On first run, call POST /auth/setup with username and password. Then POST /auth/login to get a bearer token. See Configuration.
SearXNG blocks JSON API access by default. Add json to the search.formats list in settings.yml. See Configuration.
Check your model's context window with ollama show <model>. Larger context = more VRAM = slower on small GPUs. Try a smaller model (14B instead of 27B) or reduce the context window.
Use API calls. See Configuration > API-Based Setup.
Use 127.0.0.1 instead of localhost. Windows may resolve localhost to IPv6 first, causing ~210ms delay.
Core operations (store, query, search) complete in ~1-2ms in release builds. Debate rounds and ingest depend on your LLM speed.
- wgpu (all platforms): GPU compute for similarity search. Auto-detected at runtime.
- DirectML (Windows): GPU acceleration for GLiNER2 NER/RE via ONNX Runtime.
- CUDA (Linux): GPU acceleration for GLiNER2 NER/RE via ONNX Runtime.
- CoreML (macOS): GPU acceleration for GLiNER2 NER/RE via ONNX Runtime.
Release binaries include platform-appropriate GPU support. CPU fallback is automatic.
# Windows
cargo build --release --features all,directml
# Linux
cargo build --release --features all,cuda
# macOS
cargo build --release --features all,coremlCopy the .brain file and all sidecar files (.brain.*).
Not directly. Use the knowledge mesh for peer-to-peer sync between instances.
Delete the .brain file and all sidecars. Or call POST /admin/reset (destructive).