Quiz

Six mastery questions on PraisonAI AgentFlow.

1. What does route({'billing': [a], 'default': [b]}) do?

2. Inside a Python function step def transform(ctx):, how do you access the output of the immediately preceding step?

3. Why should deterministic operations (JSON validation, whitespace cleanup, math) be Python steps instead of LLM steps?

4. Where can you inspect every intermediate step's name and output after calling result = flow.start(…)?

5. What does include(sub_flow) enable?

6. How do you handle an upstream API outage cleanly inside an AgentFlow?

Back to the AgentFlow tutorial