AI · Medium · ProAI agent vs deterministic workflow (e.g., Step Functions) — when to use each?AIAgentsSenior