Tutorials & Tips

Claude Code team details four types of agent loops

Original title:http://x.com/i/article/2074204645845839872

AI summary

The Claude Code team defines a "design loop" as an agent repeating work until a stop condition is met, and divides it into four types: 1) turn loop—triggered by a manual prompt, with Claude judging completion itself, suited to short tasks and improvable via SKILL.md verification; 2) goal loop—manually triggered via `/goal`, stopping when the goal is met or the maximum number of rounds is reached, requiring deterministic completion criteria (such as the number of tests passed); 3) time loop—triggered at intervals via `/loop` and `/schedule`, suited to repetitive tasks such as syncing messages or checking PRs, and able to run in the cloud; 4) proactive loop—triggered by events or schedules with no real-time human involvement, with each subtask exiting independently. It recommends starting with the simplest approach and using complex loops selectively.

Key Takeaways

  • The Claude Code team defines a "design loop" as an agent repeating work until a stop condition is…
  • md verification
  • 2) goal loop—manually triggered via `/goal`,stopping when the goal is met or the maximum number of…
  • 3) time loop—triggered at intervals via `/loop` and `/schedule`,suited to repetitive tasks such as…
  • 4) proactive loop—triggered by events or schedules with no real-time human involvement,with each…

Quick Facts

Published
Updated
Source
X:Claude Devs (@ClaudeDevs)
Category
Tutorials & Tips
AI score
70
Read the original Read the full article at the original source
Why it matters

Claude Code 团队官方的循环设计指南,把 `/goal`、`/loop` 这些原语讲得很清楚,想从单次提示转向自主代理工作流的开发者可以直接照着搭。

Related entities

Source & copyright

This article is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back. Original copyright remains with the original publishers and authors; this site does not mirror full texts.

Original article · AIHOT entry

How to Cite

When citing this article, keep the title, date, and permalink, and credit Orange News as the source.

Orange News: Claude Code team details four types of agent loops. July 7, 2026. https://new.nat6.net/en/news/cmr9lm48z00u7ihe85tjkvn5t/

View all →