trialswithai

Posts

Every post, newest first.

Exploring what AI can actually do at work, beyond the hype. Retrieval, evals, agents, security and everything in between.

Build log

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.

9 Sept 2026 · 20 min tooling
Explainer

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.

3 Sept 2026 · 10 min retrieval
Experiment

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.

20 Aug 2026 · 10 min evals
11/15 Supported
Essay

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.

4 Jun 2026 · 5 min evals
Essay

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.

7 May 2026 · 5 min agents
Essay

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.

24 Apr 2026 · 5 min retrieval
Essay

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.

18 Mar 2026 · 5 min systems