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
Terraphim graph-embeddings evaluation research explainability grounding

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
Terraphim graph-embeddings text-embeddings factuality research explainability

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
Terraphim graph-embeddings knowledge-graph research hybrid-retrieval explainability

Ontologies, Lexical Graphs and the Missing Exact Lookup

27 Nov 2026 8 min

AWS has published the Context Ontology Accelerator (COA), an Apache-2.0 semantic context layer that runs in your own AWS account and serves AI agents through MCP. It builds context with two techniques. One is a formal ontology induced from your tables. The other is a lexical knowledge graph built from your documents. Its documentation is unusually candid about where the two fall short, and several of those gaps fall where a deterministic concept layer such as Terraphim's fits.

This post reads COA at version 0.3.11 (commit 5dd33d7). It names the gaps in COA's own words and shows what our graph does with them, on a small demo against real code. It also covers the two places where COA already does better than we do.

Read More
Terraphim knowledge-graph ontology ai-agents mcp semantic-layer

The Reviewer Saw the Bug and Passed It

27 Nov 2026 5 min

First published on Reference Architecture for AI.

Every pull request we merge is reviewed by a second model before it lands. The rule is simple: the model that wrote the code never signs it off. We use a different model family as the reviewer, at a fixed rubric, and we merge only when it returns no blocking findings and a confidence of 4 or 5 out of 5.

I like that rule. This week a paper made me look harder at what it actually buys.

Read More
Terraphim ai-agents code-review llm-as-judge verification research

KG Concepts Before Code, Checklists After

28 Oct 2026 4 min

The Graph Embeddings for Checklists article shows how a knowledge graph acts as an enumerable checklist around an LLM call: terraphim-grep before it, terraphim-agent hook and learning after it. This how-to applies the same loop to terraphim-agent code — the bounded coding loop — on the simplest possible concept: npm install must become bun add.

Every command below was run while writing this article; the outputs are real.

Read More
Terraphim coding-agent knowledge-graph checklists hooks

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
Terraphim graph-embeddings knowledge-graph checklists ai-agents context-engineering

A project lesson your coding agent can find next time

01 Jul 2026 6 min

You explain the project's validation command. The session ends. Next time, the agent needs the same explanation. Keeping the instruction somewhere is useful only if the next run can find the right instruction again.

This walkthrough saves one lesson from a fictional project, opens it in a new process, and retrieves it through a small knowledge graph. You can inspect the exact saved text and repeat the same checks with the downloadable example.

Read More
Terraphim ai agentic-engineering memory knowledge-graph developer-tools
1 2 3