{"podcast":{"title":"How I AI","slug":"how-i-ai-7304222","podcast_index_feed_id":7304222,"rss_url":"https://anchor.fm/s/1035b1568/podcast/rss","website_url":"https://podcasters.spotify.com/pod/show/pen-name","image_url":"https://d3t3ozftmdmh3i.cloudfront.net/staging/podcast_uploaded_nologo/43412682/43412682-1743896356244-0f4bd1d0374d2.jpg","author":"Claire Vo","episode_count":107,"summary":"How I AI, hosted by Claire Vo, is for anyone wondering how to actually use these magical new tools to improve the quality and efficiency of their work. In each episode, guests will share a specific, practical, and impactful way they’ve learned to use AI in their work or life. Expect 30-minute episodes, live screen sharing, and tips/tricks/workflows you can copy immediately. If you want to demystify AI and learn the skills you need to thrive in this new world, this podcast is for you.","last_synced_at":"2026-09-08T00:17:19.140904+00:00","page_url":"https://stenobird.com/podcast/how-i-ai-7304222"},"episode":{"title":"How to design AI agent loops: schedules, goals, and subagents in Claude Code and Codex","slug":"how-to-design-ai-agent-loops-schedules-goals-and-subagents-in-claude-code-and-codex","published_at":"2026-06-17T11:00:00+00:00","page_url":"https://stenobird.com/podcast/how-i-ai-7304222/how-to-design-ai-agent-loops-schedules-goals-and-subagents-in-claude-code-and-codex","show_page_url":"https://stenobird.com/podcast/how-i-ai-7304222","url":"https://podcasters.spotify.com/pod/show/pen-name/episodes/How-to-design-AI-agent-loops-schedules--goals--and-subagents-in-Claude-Code-and-Codex-e3ks6mt","audio_url":"https://anchor.fm/s/1035b1568/podcast/play/121559197/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-5-16%2F426259555-44100-2-1b61a314a7bc8.mp3","summary":"Move beyond simple prompting by designing autonomous AI agent loops that can trigger, execute, and validate their own work. Learn to implement heartbeat, cron, hook, and goal-based loops using Claude Code and Codex.","meta_description":"Master AI agent loop design. Learn to build automated PR reviewers and skill-identification agents using Claude Code and Codex with practical frameworks.","key_points":["Main idea: Transition from manual prompting to autonomous loops where agents trigger themselves via schedules or events","Practical takeaway: Use the 'onboarding an employee' mental model to design loops with work trees, skills, and state tracking","Failure mode: Goal-based loops can rapidly burn tokens if validation criteria are too thin or imprecise","Technical pattern: Implement 'heartbeat' and 'cron' loops for routine tasks like daily PR reviews or morning briefings","Advanced technique: Use subagents within loops to perform real-time validation and complex task decomposition"],"chapters":[{"start_ms":180000,"title":"Defining the AI Loop","summary":"An explanation of how loops differ from standard human-triggered prompts and the various ways agents can be triggered."},{"start_ms":300000,"title":"The Four Loop Types","summary":"A breakdown of heartbeat, cron, hook, and goal-based automation patterns."},{"start_ms":420000,"title":"Foundational Loop Requirements","summary":"The essential components every effective loop needs, including connectors, plugins, and subagents."},{"start_ms":600000,"title":"The Employee Onboarding Framework","summary":"How to design agent workflows using a mental model of delegating tasks to a new hire."},{"start_ms":840000,"title":"Build 1: Automated PR Reviewer","summary":"A live demonstration of a Claude Code routine that monitors aging Pull Requests and alerts teams via Slack."},{"start_ms":1200000,"title":"Build 2: Goal-Based Skill Identification","summary":"Using Codex to create a loop that analyzes code commits to identify and validate new engineering skills."},{"start_ms":1500000,"title":"Warning Signs and Token Management","summary":"How to avoid expensive loops and the importance of precise evaluation criteria in goal-based prompting."}],"topics":["AI Agents","Claude Code","Codex","Loop Engineering","Automation","Software Engineering","Prompt Engineering","Subagents"],"duration_seconds":1746,"processing_state":"processed","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/how-i-ai-7304222/episodes/how-to-design-ai-agent-loops-schedules-goals-and-subagents-in-claude-code-and-codex/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/how-i-ai-7304222/how-to-design-ai-agent-loops-schedules-goals-and-subagents-in-claude-code-and-codex.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}