Terraphim
Clients v1.21.22
Terraphim

Counts That Are Really Length: What a Proposition Paper Says About Graph Scores

27 Nov 2026 8 min

A new paper tests three kinds of method on two questions about sentences, and finds that the symbolic counters look predictive only because longer sentences have bigger counts. Terraphim's graph score is a count too. Checking our own code against the paper's test turned up a score term that grows with a concept's distinct neighbours, which is a plausible route for length to leak in, and two counting defects, which we have filed.

Read More
Technical

Facts, Style and Named Concepts: What FOF-80M Says About Graph Embeddings

27 Nov 2026 9 min

Give an embedding model a sentence, a wordy rewrite that keeps every fact, and a near-copy that changes one fact. The model picks the near-copy as closer almost every time. A new paper measures this, trains a small model to resist it, and is candid about what that costs. Terraphim answers the same question, "are these two texts the same?", in a very different way. Here is what each approach catches, what it misses, and a bug we found in our own code while checking.

Read More
Technical

Inspiration Graphs and Counted Graphs: What FIG-MAC Says About Graph Embeddings

27 Nov 2026 8 min

A new paper builds a knowledge graph from 26,917 research papers, learns graph embeddings over it, and reports that graph traversal finds more varied sources than vector search. Terraphim also calls what it does "graph embeddings", but almost every design choice goes the other way. Putting the two side by side shows what each approach buys, what it costs, and the one thing our graph cannot do yet.

Read More
Technical

Graph Embeddings for Checklists

20 Oct 2026 7 min

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.

Read More
Technical

Why Graph Embeddings Matter

22 Apr 2026 6 min

Vector databases are probabilistic and slow. Graph embeddings are deterministic and sub-millisecond. If you are building context for an AI coding agent — or any system where you need to know why a result came back — the difference is not academic. It changes what your application is allowed to promise.

Read More
Technical