Skip to content

Your Coding Agent Needs Better Primitives

July 15, 2026 · 16 min

Show notes

If your coding agent keeps producing garbage, better prompting may not fix it. Kent shows how intentional system primitives make agents more reliable, efficient, composable, and auditable.

  • (00:00) - Bad agent output starts in the system
  • (00:37) - We are all tech leads now
  • (01:28) - What is a primitive?
  • (04:57) - Four moves: create, combine, delete, expand
  • (06:01) - Create: role-based access control
  • (07:59) - Combine: downshift and Kody packages
  • (10:37) - Delete: Instagram and Kody email
  • (12:22) - Expand: packages subscribe to events
  • (13:51) - Why good primitives work
  • (14:43) - Homework for your agent
  • (15:32) - Keep evolving the system

Better with Kent — durable skills for people who ship software.

If your coding agent keeps producing garbage, the model may not be the problem. Agents are only as effective as the system they work in: the UI components, APIs, data entities, platform tools, workflows, and trust boundaries they can reliably use.

Kent explains four moves for improving that system: create missing primitives, combine overlapping ones, delete rigid or unused ones, and expand the primitives that should cover more. The examples come from real product work — Kody's role-based access control and event subscriptions, PayPal's three combobox implementations becoming downshift, and Instagram winning by deleting most of Burbn.

The payoff is a smaller action space with less guessing, fewer brittle workarounds, and behavior you can actually audit. The episode closes with homework you can run in your own codebase today: ask your agent which primitives you should create, combine, delete, or expand.

Links

All episodes of Better with Kent

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.