Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
AI Engineering with Python
›
Module 2 · Tool Use & Function Calling · Recap
›
Agents: ReAct (reason + act) loop
quiz
45 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** Why is a max-iteration cap critical in any ReAct loop? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** Why is a max-iteration cap critical in any ReAct loop? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
Claude itself refuses to participate in any loop that already ran more than three iterations, so the cap matches a hard rate-limit on the server side
B
Without a cap, a confused agent can loop forever, burning tokens and money. A hard limit (e.g., 10 iterations) is the cheapest safety net in production
C
ReAct loops are not actually iterative — the cap exists only to satisfy linter rules in production deployments and has no effect on runtime cost
D
Without the cap the SDK silently retries every failed tool call forever, doubling traffic each time and making every observability dashboard impossible to read
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…