Topic

AI

53 articles on AI, written from production systems rather than documentation.

3 min read

Testing an AI feature the way someone would attack it

Normal testing asks whether the system works for people trying to use it. Adversarial testing asks what happens when somebody is trying to make it fail.

AISecurityEvaluationAgents
Read post
3 min read

Chain of thought: what it buys and what it costs

Asking a model to reason step by step improves some tasks and slows every one of them. The trade is latency and tokens, paid on every single call.

AIPrompt EngineeringLLMsPerformance
Read post
3 min read

Choosing a model for one feature, not for the company

Teams pick one model and route everything through it. Most systems have several jobs with different requirements, and one answer fits none of them well.

AILLMsPerformanceArchitecture
Read post
3 min read

Choosing a vector database on the constraints that bind

Benchmarks compare query speed at a scale you may never reach. Filtering, tenancy and how updates behave decide more of the outcome than throughput.

AIVector DatabasesDatabasesArchitecture
Read post
3 min read

Choosing an embedding model without reading a leaderboard

Benchmark rankings measure averages over corpora that are not yours. Four practical constraints narrow the field faster than any leaderboard position.

AIEmbeddingsRAGDatabases
Read post
4 min read

Choosing an MCP transport: stdio, HTTP, or neither yet

Stdio is the default and it quietly decides your deployment model. The transport question is really a question about process lifetime and blast radius.

AIMCPArchitectureSecurity
Read post
3 min read

Chunking decides the ceiling on your RAG quality

Chunk size is treated as a tuning parameter and behaves like an architectural decision. It sets the best answer your system can possibly retrieve.

AIRAGEmbeddingsArchitecture
Read post
3 min read

Compacting context without losing the thread

Long sessions fill the window and something has to go. What you drop, and what you replace it with, decides whether the system degrades or forgets.

AIContext EngineeringAgentsPerformance
Read post
3 min read

Content moderation for a feature that generates text

Moderating what users send is the familiar half. Moderating what your own product says, in your name, is the half that carries the liability.

AISecurityEvaluationSystem Design
Read post
3 min read

Context engineering is where prompt engineering ran out

Prompt engineering asks what to say to the model. Context engineering asks what should be in front of it at all, which is the harder half.

AIContext EngineeringPrompt EngineeringArchitecture
Read post
3 min read

Start with the evaluations that need no judgement

A surprising share of what matters in an AI feature is mechanically checkable. Those checks are fast, free and boring, which is why teams skip past them.

AIEvaluationLLMsRAG
Read post
3 min read

Do you actually need a vector database yet

Below a few hundred thousand vectors, a dedicated database mostly adds a system to operate. The threshold is higher than the tooling implies.

AIVector DatabasesRAGArchitecture
Read post

Have a system to build?

Whether it needs designing from scratch or rescuing from its own success, tell me what you’re building and I’ll tell you how I’d architect it.

Open to remote and hybrid work worldwide