← Build ExercisesDomain 1
Agents and Workflows
3 build exercises to practice the concepts in this domain.
1.1Intermediate40 minutes
1.1 — Classify three jobs and draw the control flow
What you will learn
- How to tell a known path from a discovered path.
- Where a supervisor belongs, and where it is extra.
- Which edges are sequential and which can run together.
- Where a side effect needs a code gate even if the rest is an agent.
1.2Advanced50 minutes
1.2 — Build a refund loop with a real gate
What you will learn
- How a custom loop treats stop_reason.
- How a tool error returns to the model.
- How a PreToolUse gate differs from a prompt line.
- How a human pause is different from both.
1.3Intermediate45 minutes
1.3 — Isolate a search and pick the orchestration
What you will learn
- How a subagent return contract protects the parent window.
- How compaction differs from dumping memory back in.
- How to reject a framework when the graph has one node.
- How LangGraph-style and PydanticAI-style pains differ.