← Back to Build an AI Agent in Python From Scratch

Module: Planning and Control

Practice Test: Planning and Control

Compare ReAct with plan-then-execute, add budgets and retries, and decide when multiple agents help.

9 questions. 15 minutes. You need at least 7 right to pass. This test is optional. It does not mark any lesson complete and it does not count towards your certificate.

Time left: 15:00

1. Why does the text ReAct agent pass stop=["Observation:"]?

2. In testing, where did plan-then-execute finally go wrong?

3. When is plan-then-execute especially useful?

4. Why did the run with a 300 token budget stop after one call?

5. Which error should create_with_retry not retry?

6. Why does the code set max_retries=0 on the client?

7. Why did the money agent search New York in the first run?

8. In the final run, how many model calls did multi-agent and single agent use?

9. When is a single agent usually the better choice?