Agentic workflow
Definition
A mostly predefined sequence of LLM calls and tool steps, where the developer fixes the path and the model fills in each step.
In more detail
Examples include a pipeline that classifies a support ticket, retrieves relevant articles and drafts a reply, or one that writes code, runs tests and asks the model to fix failures a fixed number of times. The structure is in your code, not decided by the model.
Workflows are cheaper, faster and easier to test than open-ended agents, which makes them the sensible default when the steps are known.
Related terms
Agent
A system where a model decides which actions or tools to use, in a loop, until a goal or stop condition is met, rather than following fixed steps.
Durable execution
Running code so that its progress is recorded step by step, letting it resume after a crash or restart instead of starting again.
Tool calling
A model emitting a structured request to call a defined function, which your code runs and whose result is then fed back to the model.
Evaluator-optimizer
A loop where one model call writes an answer and another grades it against criteria, sending feedback until the answer passes.
Prompt chaining
Splitting a task into a fixed sequence of model calls where each call works on the output of the previous one, with checks in between.
Routing (agent pattern)
A workflow pattern where a first step classifies the input and sends it on to a specialised prompt, tool or model for that type.
Read more about Agentic workflow
- AI agents
Building systems where models plan and call tools in a loop to complete tasks.