reflections · Myles Carrick ·
Building blocks for effective AI outcomes
Great building blocks are a superpower for AI agents: they help agents quickly find the consistent, safe, high-quality path, so a short request is enough. Kent C. Dodds explains why, and it raises good questions for schools.

Back in August I watched a short talk by Kent C. Dodds, Looser Specs, Better Results: Thinking in Primitives. I've followed Kent for years, and this one has stuck with me. It put words to something I've been working on with teams for some time.
The big idea
Having great “primitives” (building blocks) is a super power. Effective ones ensure your agents can rapidly find the consistent, safe, high-quality path. The more tightly you have to spell out a job for an AI agent, the weaker your building blocks are.
Most of us have watched an agent go off and make a mess. It repeats work, makes odd choices, or ignores something we already built. The natural reaction is to write a longer, more detailed brief. Kent says that treats the symptom. The fix is good building blocks (he calls them "primitives"), so that a short, plain request is enough.
His example requests are one sentence long. One was roughly: "There's an email from John about a problem with his purchase. Fix it, and draft a reply as if you were me." That works because the agent already has well-made, easy-to-find tools for email, payments and the app itself. It puts together what's already there instead of making things up.
This isn't about handing over judgement. As Kent puts it, you make the decisions up front, then give the agent the freedom to carry them out.
What counts as a building block
For Kent, a building block is:
- a named capability, such as "send an email", "check what this person is allowed to see", or "a button"
- something you can use without rebuilding it
- layered, with small blocks combining into bigger ones.
If the agent has to reinvent something, it wasn't a building block.
A simple test
Give an agent a one-sentence job and watch what it does. Does it reach for what you already have, or invent its own? If it invents, the block is missing, hard to find, or too awkward to use. Kent's advice is to ask the agent why it didn't use what was there, then fix that.
Building blocks need tending
Kent compares building blocks to a garden.
- Add slowly. Talk a new block through before building it. Not every good idea should become one.
- Prune. Remove blocks that no longer earn their place, and use evidence of how they're actually used.
- Make them easy to find. Have one starting point that says where everything is described.
- Write down decisions. Say "we do it this way, not that way, and here's why", so the people and agents who come later don't wander down old paths.
Why this felt familiar
Three ideas I've relied on for years:
- Patterns. We give names to the ways we solve recurring problems. Once a pattern has a name, a team can talk about it, teach it, and notice when it's missing.
- Building blocks. These are layered, composable pieces. One shared sign-in and permissions library, rather than every app doing its own. A component library, rather than every page reinventing the button. In earlier days, agreed CSS conventions so everyone's styles fitted together.
- Conventions. This is the agreed "how we do things here" that sits somewhere between the other two: part named pattern, part shared tool.
Each of these did for people what Kent describes for agents. There was less explaining and more consistent results. New people could be useful quickly, because the good way was also the obvious way. Agents just make the payoff show up faster, and the cost of not having building blocks shows up faster too.
The question for schools
"Primitives" is a computer science word. In schools, I think "building blocks" says it better.
So I'm left with some questions for teams exploring and developing with AI in schools:
- What are our building blocks? Which shared, named, well-made pieces would let a short request produce a good result?
- What will help our agents reach for the right tools automatically, and the right approaches, so the results are consistent and high quality every time?
- How do we keep working on the building blocks, not just with them? This is the old idea of working on the business, not just in it. What habit or rhythm will ensure that people and agents can regularly to think about our practice and be intentional in refining it?
I'd love to hear how others are thinking about this.
A note: this reflection is my take on Kent C. Dodds' talk Looser Specs, Better Results: Thinking in Primitives. Any slips in summarising it are mine. Here it is in full: