Writing

Notes on the judgment calls behind the systems: what I chose, what I didn’t, and why.

22 Nov 20262 min readDenormalized pgvector on the retrieval hot pathKeep the source of truth normalized. Give retrieval a flat copy of its own, so the hot path never pays for a join.RAGPostgres22 Nov 20262 min readHybrid retrieval with BM25 and RRFWhy keyword search still earns its place next to vectors when every answer has to cite a legal article.RAGRetrieval22 Nov 20262 min readWhy I pick LangChain over LangGraph for multi-stage agentsA pipeline with many stages is not a graph problem. What decides it is how many decisions the agent makes, and how much state has to survive between them.AgentsArchitecture
New posts as they shipRSS feed →