cd /news/ai-agents/graph-embeddings-for-checklists · home › topics › ai-agents › article
[ARTICLE · art-153677] src=terraphim.ai ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Graph Embeddings for Checklists

A new technical post demonstrates using knowledge graphs and Aho-Corasick automata instead of vector embeddings to run deterministic checklists around LLM calls, implemented in the terraphim-grep and terraphim-agent tools. The author argues a nearest-neighbour index returns fuzzy neighbours and cannot enumerate a fixed set of terms or report which members fired, while compiling checklist synonyms under a normalised term into an Aho-Corasick automaton makes every check a deterministic match with a named, auditable edge. The post applies the machinery in two places: terraphim-grep with a role thesaurus before the LLM call, and terraphim-agent hooks plus learning after it.

read1 min views1 publishedOct 20, 2026

A checklist is an enumerated set of terms that must be checked. That is the whole problem, and it is the reason vector embeddings are the wrong tool for it: a nearest-neighbour index returns fuzzy neighbours, it cannot enumerate a fixed set and report which members fired. A knowledge graph can. Write the checklist once as synonyms under a normalised term, compile it into an Aho-Corasick automaton, and every check becomes a deterministic match with a named edge you can audit.

This post shows that machinery applied to the two places a checklist earns its keep around an LLM call: terraphim-grep with a role thesaurus before the call, and terraphim-agent hooks plus learning after it. Every command below was run while writing this article; the outputs are real.

── more in #ai-agents 4 stories · sorted by recency
── more on @terraphim-grep 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/graph-embeddings-for…] indexed:0 read:1min 2026-10-20 · —