HTML

stream121
Product Management :: Product Marketing


25 May, 2026

When to build an agent and why coding is such a good use case

Barry Zhang of Anthropic gave a short and punchy presentation at AI Engineer Summit in New York in 2025 (see YouTube). Below are elements that resonated:

"Should I build an agent" Checklist

Is the task complex enough? No Use Workflows
Yes Use Agents
Is the task valuable enough? <$0.1 Use Workflows
>$1 Use Agents
What is the cost of error/error discovery? No Reduce scope
Yes Use Agents
What is the cost of error/error discovery? High - Execute as Read-only
OR human-in-the-loop
Low Agents


Why is coding a great agent use case?

Complexity Journey from design-doc to completed code is High
Value $$$
Viability Claude is great at coding
Cost of Error Significantly mitigated by decent unit test and continuous integration and prompt recovery techniques