AI agent or AI workflow? I picked the boring one
An agent decides what to do next. A workflow follows steps you wrote and calls a model only where a step needs one. When I built a clinical document review prototype for a US healthcare consulting client, tested on synthetic records only, I picked the workflow.
The steps never change: read the pages, mask patient identifiers, check for leaks and hidden instructions, pull out facts with quotes, draft the summary, check the draft, hand it to a person. Masking always happens before drafting. No model gets to skip it.
That matters when someone asks why a report says something. I can walk through each step and show what went in and what came out.
Not every step needs a model either. The timeline, the criteria table and the code list were built by ordinary code. Only the written narrative came from a language model. Code is cheaper, gives the same answer every time and is easy to test.
How I split the work:
1. If I can write the rule down, use code.
2. If it needs understanding of language, use a model with a narrow question.
3. If a wrong answer could harm someone, a person decides. This one beats the other two.
When a check failed, the model got one small fix to try, with a cap on retries. A loop that keeps "improving" a document can drift a long way from the record, and you pay for every round.
I would use an agent when the steps cannot be known in advance, with read-only tools, a spending limit and a log of every call. But start boring. Loosening one step later is far easier than reining in an agent people already depend on.