Agent Architectures
Sequential Flows
A sequential flow runs its steps in the order your Python code awaits them, rather than letting the LLM decide. The concept page covers when to reach for one and why; the notebook below builds one interactively.
Sequential Flows
Run this tutorial interactively in Google Colab.
Validation Loops
A validation loop has an agent evaluate its own output, apply the feedback, and try again until a desired bar is met. The concept page covers the pattern and its variations; the notebook below builds one interactively.
Agent Validation Loop Tutorial
Run this tutorial interactively in Google Colab.