Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · claude-code

How the agent loop works changed

agent-sdk/agent-loop

Nearest release: v2.1.258, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+7added
Lines−7removed
From line 192 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits11to this page, all time

The whole hunk

from line 192, old and new numbered
/
lines
from line 192
192192 
193193The `effort` option controls how much reasoning Claude applies. Lower effort levels use fewer tokens per turn and reduce cost. Not all models support the effort parameter. See [Effort](https://platform.claude.com/docs/en/build-with-claude/effort) for which models support it.
194194 
195| Level | Behavior | Good for |
196| :--------- | :-------------------------------- | :------------------------------------------------------------------------ |
197| `"low"` | Minimal reasoning, fast responses | File lookups, listing directories |
198| `"medium"` | Balanced reasoning | Routine edits, standard tasks |
199| `"high"` | Thorough analysis | Refactors, debugging |
200| `"xhigh"` | Extended reasoning depth | Coding and agentic tasks; recommended on Fable 5, Opus 4.7+, and Sonnet 5 |
201| `"max"` | Maximum reasoning depth | Multi-step problems requiring deep analysis |
195| Level | Behavior | Good for |
196| :--------- | :-------------------------------- | :--------------------------------------------------------------------------------------------- |
197| `"low"` | Minimal reasoning, fast responses | File lookups, listing directories |
198| `"medium"` | Balanced reasoning | Routine edits, standard tasks |
199| `"high"` | Thorough analysis | Refactors, debugging |
200| `"xhigh"` | Extended reasoning depth | Coding and agentic tasks on the [models that support it](/docs/en/model-config#adjust-effort-level) |
201| `"max"` | Maximum reasoning depth | Multi-step problems requiring deep analysis |
202202 
203203If you don't set `effort`, both SDKs leave the parameter unset and defer to the model's default behavior.
204204