
5 min read
Your RAG Demo Needs a Failing Test
A new chunk size or prompt can quietly make answers worse, and nothing turns red. Here's how to make answer quality a merge check, with the harness from my open-source agent.
Read post
5 min read
A new chunk size or prompt can quietly make answers worse, and nothing turns red. Here's how to make answer quality a merge check, with the harness from my open-source agent.
Read post
4 min read
BM25 and embeddings fail in different ways, so use both. Reciprocal rank fusion merges them without ever comparing their scores, in about ten lines of code.
Read post
4 min read
Model output is untrusted input. Lessons from building agent tool layers for legal and trading products: validation, scoping, step limits and citations you can trust.
Read post
4 min read
Some actions shouldn't happen without a person. How to pause an agent mid-run, wait as long as it takes, and resume from any worker, using LangGraph interrupts and checkpoints.
Read post
2 min read
FastAPI makes it trivially easy to ship a working endpoint in ten minutes. Keeping that codebase sane six months and thirty endpoints later takes a bit more structure.
Read post
2 min read
Prompting a model in a playground and shipping an AI feature real users depend on are two different jobs. Notes on evals, latency, cost, and the failure modes that only show up in production.
Read post
2 min read
Most chatbots fail on tone and scope, not technology. Lessons from building conversational assistants that actually resolve issues instead of frustrating the person typing.
Read post
2 min read
The line between a lean MVP and a broken one is thinner than most teams think. What actually belongs in a first release, and what's safe to cut without gutting the product's reason for existing.
Read post