Essays
My AI agent tried to keep two EC2 instances alive and terminated them instead
How an SSH quoting mistake made it all the way to EC2 termination, and changed how I think about an agent's blast radius and escape hatch.
Writing
What I've learned building data systems and AI agents, the engineering decisions behind Cortrix, and Semantic Tech Insights, my weekly look at semantic technology.
Essays
How an SSH quoting mistake made it all the way to EC2 termination, and changed how I think about an agent's blast radius and escape hatch.
Semantic Tech Insights
Databricks consolidates agent memory in the background, PowerContext waits for a person to approve each revision, and EverOS treats the original Markdown as the source of truth. Two papers split on whether to keep the raw records.
Cortrix in practice
We killed Cortrix with kill -9 halfway through importing 40 documents. After the restart, every vector matched a block again. Here is what it checks and how to run the test yourself.
Cortrix in practice
In our test on 932 internal design docs, Claude Code scored the same with and without Cortrix, but used 43% fewer tokens on the hardest question and 32% fewer tool calls.
Cortrix in practice
When a Cortrix query can't reach part of what it asked for, it still returns HTTP 200 and says what's missing. See what comes back, how an agent should use it, and when to treat it as a failure.
Cortrix in practice
Cortrix runs an LLM when a document is written, so context, likely questions, and a document summary each become a recall path at query time. See what we measured and when to enable it.
Cortrix in practice
Cortrix retrieves relevant material and preserves its sources. An agent combines that with current business state, then can use Jev or Laya to assess its next step.
Cortrix in practice
Jev can judge a candidate set, but it cannot improve recall. I looked at the public evidence and decided not to replace Cortrix's local BGE path.
Cortrix in practice
A small retrieval demo separates similarity, ranking, lifecycle checks, and the application rule that decides whether a result is usable.
Paper notes
Why stable identities and linked data still matter when your agents retrieve knowledge from different systems.
Paper notes
What the simple h + r ≈ t formula tells us about relationships in a knowledge graph, and what a similarity score leaves out.
Paper notes
RAG lets a model use external knowledge. The original paper also helps explain why sources, updates, and data governance still matter.
Paper notes
Reflexion turns feedback into memory without changing model weights. Its most useful lesson may be about the evaluator.
Paper notes
HippoRAG connects clues across documents with a knowledge graph. Here is how it works, and where the graph can go wrong.
Cortrix in practice
Cortrix RC2 brings 24.4% higher FiQA Recall@10 in the published comparison, Apache 2.0 licensing, and practical ingestion and agent integration fixes.