anthropic.com3d ago
Building effective agents
Anthropic's field guide to agent patterns: start with the simplest composable building blocks (prompt chaining, routing, parallelization) and only reach for an autonomous agent loop when the task genuinely needs it. The recurring lesson — add complexity only when it measurably improves outcomes.