Posts
Every post, newest first.
Exploring what AI can actually do at work, beyond the hype. Retrieval, evals, agents, security and everything in between.
The renderer nobody has used since 2023
A worked example of Google's Open Knowledge Format on a JS/TS monorepo: bundle layout, the concept that says don't, a scaffold script and CI wiring.
Your vector database is lying to you about multi-hop
Single-vector retrieval has a proven ceiling on multi-hop questions, and it fails silently: similarity scores stay confident while a hop is missing.
Your evals have no tests
I planted 15 bugs in a working LLM system and reran its eval suite unchanged. 11 got through, including a data leak, and the suite stayed green.
How we measure RAG quality
RAG quality by vibes doesn't survive a second engineer. Break the score down by stage, build the eval set from real failures, calibrate the judge, gate CI.
Agentic workflows that don't spiral out of control
Reliable agents come from bounds. Cap turns and time, push predictable steps into a state machine, and keep a human on the irreversible ones.
Choosing a vector database when every query carries a filter
Vendor benchmarks measure unfiltered search on someone else's data. If every real query has a tenant filter, that filter decides the choice.
Cutting LLM inference cost without losing quality
Inference cost is a measurement problem first. Lock the quality metric, then trim context, route steps to a cheaper model and cache the stable prefix.