Framework · 1 note · discussed by Claire Vo (How I AI)

Goal-Based Automation

Every note in the archive that names Goal-Based Automation: summaries, key takeaways and links to the original essays, episodes and posts. Ask a question below to get a cited answer from just these notes’ authors.

Q:
Answers quote and cite the source notes
YouTube podcast40 min

How to write AI agent loops in Claude Code and Codex

Jun 17, 2026
Key learnings
  • Loops are scheduled or semi-autonomous automations that let agents prompt themselves without human input, using heartbeats…
  • Design loops like onboarding employees: define recurring jobs (e.g., 'every Friday review calendar') and let agents execute…
  • Effective loops require five elements: automation trigger, schedule definition, goal setting, work isolation (git worktrees), and…