Home/Archive

The archive

48 posts
Showing 28–36 of 48
Structured outputs vs. plain prompts: when constrained decoding is worth itTESTS

Structured outputs vs. plain prompts: when constrained decoding is worth it

Schema-constrained decoding guarantees valid JSON. It does not guarantee correct data, and it can cost quality. How to choose and how to test.

JLJonas LindSep 29 · 6 min
System prompt templates for production: six copy-ready examplesPROMPTS

System prompt templates for production: six copy-ready examples

Support, extraction, grounded Q&A, code review, summaries and classification. Templates you can adapt, with the failure each line prevents.

JLJonas LindSep 28 · 6 min
Step budgets and stopping rules for AI agentsAGENTS

Step budgets and stopping rules for AI agents

Every agent needs to know when to stop. Budgets, loop detection, progress checks and graceful exits that keep agents useful and affordable.

MOMira OkaforSep 25 · 6 min
Prompting for citations that actually check outPROMPTS

Prompting for citations that actually check out

Source IDs, quote-then-answer, automatic quote checks and a real "not found" path. How to make every claim traceable and verify it in code.

RKRafael KimSep 21 · 6 min
Small models, big jobs: where tiny models quietly winMODELS

Small models, big jobs: where tiny models quietly win

Classification, extraction, routing and on-device work. The jobs where a small model matches a big one at a fraction of the cost, and how to prove it.

RKRafael KimSep 17 · 6 min
Mixture of experts, without the hypePAPERS

Mixture of experts, without the hype

Many parameters, few used per token. How MoE routing works, what "active parameters" really means, and the trade-offs for anyone running or buying these models.

MOMira OkaforSep 14 · 6 min
Designing an LLM latency benchmark that matches what users feelBENCHMARKS

Designing an LLM latency benchmark that matches what users feel

Time to first token, tokens per second and p95 under real load. A method for measuring LLM speed that predicts user experience, not lab conditions.

RKRafael KimSep 08 · 6 min
Human-in-the-loop patterns that don’t annoy the humanAGENTS

Human-in-the-loop patterns that don’t annoy the human

Approve everything and people stop reading. Risk-based approvals, batching, good review screens and escalation patterns that keep humans in control.

SPSana PatelSep 03 · 6 min
Decomposition prompts for long, messy tasksPROMPTS

Decomposition prompts for long, messy tasks

One giant prompt fails in ways you cannot see. Chaining, map-reduce and plan-then-execute turn long tasks into steps you can test and fix.

JLJonas LindAug 30 · 6 min

Get the Sunday Diff — every post worth reading, once a week.