Loop engineering for beginners

How I AI with Claire Vo · · 29 min

Claire Vo explains how to build AI loops, which are autonomous scheduled workflows that let agents prompt themselves, using tools like Claude Code and Codex.

Watch the episode 29 min · YouTube

The gist

  1. Loops let AI agents work on a schedule without manual input, making them useful for recurring tasks like daily PR reviews or inbox cleanup.
  2. Every loop needs five things: work isolation, reusable skills, tool connectors, sub-agents, and state tracking to keep execution clean.

What they recommend · 4 picks

Claude Code Strong yes AI tools

“I'm going to build one in Claude Code and one in Codex. In Claude Code they're called routines. I'm going to create a routine — a daily aging PR review — that looks for open PRs that have been open more than 12 hours and babysits them till…”

Claire Vo ·113 creators recommend it·Claire's AI tools →
Codex Strong yes AI tools

“I'm going to pull up Codex and show you another loop that I think is really interesting. What I like about what Codex has done is they have these templates — automation templates that give you good ideas for loops you can run.”

Claire Vo ·100 creators recommend it·Claire's AI tools →
Claude AI tools

“I pulled up Claude.ai Co-work instead of Claude Code just to really break this down for people who are not technical. There is a loop front and center here in Claude.ai Co-work which is my morning briefing.”

Claire Vo ·256 creators recommend it·Claire's AI tools →

Also mentioned

2:56 ChatGPT · "There are many ways an agent like Claude Code, like Codex, like ChatGPT, like name your favorite agent..."
6:07 Loop Engineering · "I like this article by Addy Osmani about loop engineering. I think it's really good. It does break this..."
6:57 GitHub Actions · "Claude Code has the benefit of GitHub Actions, which I think is nice for engineers."
7:34 Git worktrees · "Work trees are just basically a way to isolate the work, especially the coding work of an agent, away from..."
7:57 Google Docs · "Plugins and connectors are just the tools that your agent has access to. This can be like GitHub..."
7:57 Google Calendar · "Plugins and connectors are just the tools that your agent has access to. This can be like GitHub..."

Ads in this episode

WorkOS, Runway. They're paid, so we keep them out of the picks above.

See what How I AI recommends without being paid →

◎

Related episodes

Episodes covering similar topics

Follow Claire Vo

Free email updates