Terraphim
v2026.05.18
Terraphim

Blog posts about Terraphim AI development, knowledge graph patterns, AI coding agent hooks, learning systems, and local-first privacy-preserving search technology.

Sub-Millisecond Context: How Aho-Corasick Automata Replace Embedding Calls

29 Apr 2026 5 min

Vector embedding calls are the hidden tax on every RAG pipeline. You pay latency, you pay API cost, you get probabilistic results that vary run to run. There is a class of problem where none of that is acceptable. This post shows how Terraphim replaces embedding calls with Aho-Corasick finite-state automata -- deterministic, auditable, and under one millisecond for 1.4 million patterns.

Read More
Technical Terraphim knowledge-graph Aho-Corasick FST context-engineering tutorial

Plug Terraphim Search into Claude Code and opencode (CLI First, MCP When You Need It)

18 Apr 2026 6 min

Your AI coding agent already has a knowledge graph. It is just not yours yet. The model knows GitHub, Stack Overflow, and the public training corpus -- it has no idea that in your project npm should be bun, that RFP is shorthand for acquisition need, or that the email about the Stripe receipt for the Obsidian licence lives in your Fastmail mailbox. This post shows the smallest path to fixing that for both Claude Code and opencode, using Terraphim and the three roles we have published over the last week (Terraphim Engineer, Personal Assistant, System Operator).

Two paths. CLI first.

Read More
Technical Terraphim claude-code opencode mcp knowledge-graph developer-tools integration
1 2 3 4