Matt Stockton

Notes Agent design

Use deterministic tools for deterministic work

Break what you are trying to do into smaller steps. If code can handle a step reliably, write that code and give it to the agent as a tool. Do not ask a model to imitate a process that ordinary software can do reliably.

What I would add now: In October, I expanded on this: skills and instruction-following have gotten much better, but they're still one tool in the toolbox. Understand the job first, then choose the tools for it. Sometimes putting all the complexity into a skill is the wrong answer for the problem you're trying to solve. Read the newer note on X.

Originally posted on X. Lightly edited for reading here.