AI EngineeringInterview preparation
Intermediate·Discussion·2 min read

When do you use an agent versus a workflow?

Practice this question
  • Use an agent for variable language interaction and bounded tool selection.
  • Use a workflow when order, dependencies, approvals, or state transitions must be explicit.
  • A business application often uses both.
Adapted from 13_AI.MD · “29.10 Microsoft Agent Framework”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.