Agents in workflows, and workflows as agents
Put two agents inside a workflow as its steps, control what the second agent sees from the first, then wrap the whole workflow so the rest of your code can call it like one agent.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
In this module: Workflows
- WorkflowsSteps in an order you decide.Pro
- Functional workflowsWorkflows written as plain async functions with steps.Pro
- Executors and edgesThe nodes of a workflow graph and the routes between them.Pro
- Workflow events, state and visualizationWatching a run, sharing data and drawing the graph.Pro
- Agents in workflows, and workflows as agentsAgents as workflow steps, and a whole workflow as one agent.Pro
- Sub-workflowsNesting one workflow inside another.Pro
- Human input and checkpoints in workflowsPausing for a person, saving progress and resuming later.Pro
- Declarative workflowsWhole workflows in YAML, with variables and actions.Pro