Promptles
Claude Code

Agentic Loop

intermediate

Definition

The repeating cycle Claude Code works in: look around the project, take one step such as editing a file or running a command, check what happened, and decide the next step until the task is done.

In the wild

Asked to fix a broken sign-up form, Claude reads the form, edits it, runs the tests, sees one still failing, adjusts the edit, and runs the tests again before reporting back.

More from Claude Code