Exercises

Apply core PraisonAI Agent skills across 6 realistic engineering scenarios.

1. A user asks a follow-up question ('Make it 2 bullets') referring to your agent's previous reply. Which method preserves multi-turn history?

2. Your Python script pipes agent output directly into json.loads(), but terminal trace boxes break parsing. What should you set?

3. You want an agent to draft a zero-downtime database migration plan and stop for human review before running any mutating tool. Which config fits?

4. Why should you disable response caching on an agent that reports live stock prices?

5. Your agent's first draft frequently misses a numerical requirement in executive summaries. Which PraisonAI feature adds a bounded critique-and-revise pass?

6. How do you prevent a buggy tool loop from burning through your API credits?

Back to the Agents tutorial