AI Agents Don’t Automate Work Alone. The Workflow Around Them Does.
An AI agent in a business process is not a prompt that magically operates software. It is a model connected to tools, data and control logic. The model can interpret a situation and choose a next step; the surrounding application or workflow engine supplies the state, executes tool calls, enforces permissions and decides when the run is complete.
That distinction matters for builders and investors. The useful question is not just whether a model can perform a task. It is whether the whole system can carry the task through reliably, with the right authority and a clear way to recover when something goes wrong.
The workflow sets the path; the agent handles judgment
A conventional workflow defines its steps in advance. An agent can decide what to do next based on information it discovers along the way. Most practical automations combine the two: fixed rules control predictable stages, while a model handles ambiguous inputs or decisions that need context.
“A workflow defines the overall process path in advance and uses AI only where a step requires reasoning or judgment.”
— Microsoft Learn 1
Consider an employee offboarding process. The workflow can establish the required sequence, deadlines and approval points. An agent might help interpret a contract or draft a message, but code and policy—not the model’s own judgment—should determine who can revoke access and when. Microsoft’s guidance on designing AI-powered automations describes agents and workflows as components that can call one another; the difference is which one defines the process path.
That division is the core design choice. Use model reasoning where the next step depends on what the system finds. Use ordinary software for rules that should behave the same way every time.
What happens when an agent runs
A typical automated run has a trigger, a goal, a set of available tools and an execution loop:
- A trigger starts the work. It might be a person’s request or an event from another system, such as a ticket being blocked for three days.
- The system assembles context. It fetches relevant records and passes the agent the task, useful history and available tool descriptions.
- The model proposes a next step. It may request data, call a tool, ask for human input or decide that the goal is already met.
- The application checks and executes the action. It validates the request and permissions, then runs the relevant code or API call.
- The result returns to the model. The agent evaluates what happened, then continues, changes its plan, escalates or stops.
The loop is adaptive, but it runs inside a process that can set boundaries and retain state. An agent-workflow explainer from Contentful describes the central pattern as repeated action and evaluation until the goal is complete. 2
For a concrete example, Contentful describes a Jira trigger for an issue that has been blocked for three days. The workflow can send a JSON event to the agent with the issue’s details and a goal such as resolving or escalating the blocker. The agent might read the ticket and discover that a fix is waiting for testing, then ask the tester in Slack whether it passed. 2 An event-driven design also needs to check current records, not blindly act on an old event snapshot; MLflow describes the common pattern as receiving an event, enriching it with current state, then reasoning about an action—or doing nothing. 3
The model does not usually execute an API call itself. It returns a structured request that the application can interpret. OpenAI’s function-calling guide describes this as a multi-step exchange: the model requests a tool, application code runs it and returns the result, and the model may then respond or request another tool.
“When the model calls a function, you must execute it and return the result.”
— OpenAI 4
This is a consequential boundary. The model can suggest a refund, a database lookup or an email draft, but software has to perform that operation. The application can validate the arguments and decide whether the model is allowed to make that kind of request at all.
Orchestration is the control plane
The agent loop is only one part of the system. Orchestration governs the run around it: which tools are available, what state is retained, how many steps are allowed, what happens on a timeout, when approval is required and what counts as completion. Those responsibilities might live in application code, an SDK, a workflow engine or a managed runtime; they do not have to sit in one product. 5
For longer tasks, the system also needs to distinguish working context from durable state. The model receives context for a particular decision; the surrounding system should preserve the records and run status needed to resume the workflow or audit what happened. Context that is too thin can leave out necessary facts, while an indiscriminate dump of history can bury the useful information. 5
Planning should not be treated as permission to act. AWS describes a governed agent design in which a plan is decomposed into subtasks, tools are selected, and success criteria are set; requests then pass through a policy layer before execution. A failed step can lead to a revised plan rather than an unchecked repeat. 6
“No tool runs straight from the plan.”
— AWS Architecture Blog 6
That separation is especially important for actions with side effects. A read-only lookup is different from deleting a record, sending an external message or changing access. Such actions can be held for an automated policy check, human approval or both, depending on the organization’s rules. 6 Human review can be built as a pause where a reviewer approves, edits or rejects a proposed tool call before it runs. 7
Multiple agents are a design option, not the default
A single agent with a well-designed set of tools is enough for many tasks. More agents may help when work divides cleanly into independent subtasks, or when separation of context, permissions or expertise has a real benefit. But each additional agent adds another model interaction and another handoff to manage. A simpler architecture is usually easier to control unless delegation solves a specific problem. 5
LangChain’s Deep Agents design illustrates one delegation pattern: a main agent can send separate research tasks to subagents with fresh context windows, then work from their summaries. The source describes a ten-company research example in which the separate agents can work in parallel. It is a design pitch, not an independent demonstration of performance; the choice also depends on whether summaries preserve enough detail for the main agent’s task. 8
“Anything a subagent saves to the sandbox's files is still there when it finishes”
— 1 Minute Signal coverage of LangChain 8
That detail matters: a fresh context window does not necessarily mean separate files or a separate security boundary. If agents share a sandbox, their work may be visible to one another. Teams should design those boundaries deliberately rather than treating “subagent” as synonymous with “isolated.”
The production test is control, not autonomy
An agent can fail because it misunderstands the goal, chooses the wrong tool, uses stale information or receives a misleading tool result. In event-driven systems, duplicate or out-of-order events introduce additional failure modes. And some errors are not obvious crashes: an agent can take a plausible but wrong action without triggering a conventional software error. 3
That makes observability part of the design. Keep records of inputs, tool calls, results, approvals and final outcomes so teams can reconstruct a run and test whether it met its success criteria. The control system should also define limits and stop conditions; the model should not be the only component responsible for deciding how far it can go. 5
Security controls belong at the same boundary. 1 Minute Signal coverage of IBM Technology presents Open-Shell as a proposed sandbox design in which a gateway sets policy and a supervisor applies it. The coverage describes default-deny network rules, but it offers no demonstration or independent proof that enforcement works. Treat it as an architectural example, not verified assurance about a product. 9
“Anything that your policy doesn't explicitly allow is denied.”
— 1 Minute Signal coverage of IBM Technology 9
The practical takeaway is modest but useful: automate the parts that are predictable, use model judgment where inputs or next steps are genuinely variable, and put enforceable controls around actions that matter. An agent workflow works not because the model is left alone to “do the job,” but because software gives it a bounded job, tools to act, feedback to adjust and rules for when it must stop.