A reference for anyone building multi-step agents in Claude Code and trying to decide where the workflow logic should sit.
You are building an agent that does multiple things. Maybe it is a data pipeline (extract, transform, validate, load). Maybe it is a code review agent (lint, test, security scan, generate report). Maybe it is something custom for your team with four or five distinct steps.