Skip to main content
All cmd+ctrl articles

When AI Workflows Need Judgment vs. Deterministic Steps

Decompose work before choosing how to run it. Use a model for context-dependent decisions and deterministic execution for actions whose path is already defined.

An incoming request passes through a single contextual decision point, then follows a defined sequence of execution steps.

Use an AI model for a bounded unit of work that requires interpretation or reasoning. Use deterministic execution when the inputs, rules, and intended result are already defined.

The key design decision is not whether a workflow is “AI” or deterministic. It is how to divide the workflow into logical units, then assign each unit to the execution mode it actually needs.

  • Model judgment means interpreting context, resolving ambiguity, or choosing among plausible meanings.
  • Deterministic execution means carrying out a defined action according to defined rules.

The hard part is often not writing a prompt. It is identifying the distinct units between an input and an outcome, then separating decisions from the actions that follow them.

A trigger and prompt are not automatically a process

A common pattern is captured in this description:

“We’ve literally taken one agent, written a list of steps in a markdown file, called it a ‘skill’, given it to the agent, set a trigger, and poof, you now have a ‘workflow’.”

Markdown instructions, agent skills, and triggers can be useful. They can give an agent context and start work at the right time. But the workflow remains broad and implicit when the agent must still work out the full route from input to output.

In that arrangement, the instructions may describe the intended process, but the agent still has to interpret the steps, decide how to apply them, and complete the work as one large task.

The alternative is not to make every step mechanical. Knowledge work often needs real reasoning. The better approach is to isolate that reasoning from actions whose path is already decided.

From broad agent assignment to distinct units

A broad assignment such as “take this request and complete the entire process” leaves one agent to interpret, plan, act, and assemble the result. Decomposition makes the handoffs explicit:

Before
Input → agent figures out the whole process → output

After
Input → interpret an ambiguous phrase → apply the selected meaning to a defined action → output
             model judgment                    deterministic execution

A model decision can feed a deterministic action in the same workflow.

Start with logical units of work

Do not label an entire workflow as either AI-driven or deterministic. Classify its individual logical units of work.

A logical unit is a distinct step with an input, one identifiable kind of work, and an output for the next step. A workflow might include these units:

  1. Receive and identify an incoming request.
  2. Interpret what the request means in context.
  3. Extract the information needed for the task.
  4. Resolve an ambiguity that affects the next action.
  5. Apply a defined transformation.
  6. Assemble the required result.

The sequence will vary, but “handle the request” is usually too broad to classify. It often combines interpretation, decision-making, execution, and assembly.

Break a broad task down until each unit has one clear kind of work. Only then can you decide whether that unit needs model judgment or deterministic execution.

Use a model for bounded judgment

Use a model when a unit needs an interpretation or reasoned choice that has not already been specified for the case at hand.

The signal is not simply that the step involves language. A language-related action can still be precisely defined. A model is most useful when the workflow must make sense of context, distinguish among plausible meanings, or decide what matters for the task.

Examples of bounded model tasks include:

  • Determine which meaning of an ambiguous request best fits the supplied context.
  • Identify which information in an input is relevant to the requested outcome.
  • Decide how an unclear phrase should be understood before the next step proceeds.

Each task gives the model a specific decision to make. It does not hand the model ownership of the entire workflow.

Compare the difference:

AssignmentWhat the model is asked to do
Bounded judgmentDetermine what an ambiguous phrase means for selecting the next step.
Broad agent assignmentTake the request and complete the entire process.

The first instruction asks for one decision. The second combines interpretation, planning, execution, and final assembly, leaving the path through the work largely to the model.

Bounded does not mean trivial. A judgment can be difficult and still be bounded. The workflow should define what the model receives, what decision it must make, and what output the next unit needs.

Use deterministic execution for defined actions

Use deterministic execution when the workflow already specifies what enters a step, which rule applies, and what the step should produce.

The action does not need to reinterpret the task or devise an approach. It needs to carry out the defined step.

Ask three questions about each unit:

  • What enters this step?
  • What instruction or rule should it follow?
  • What result should it produce for the next step?

If the answers are already clear, deterministic execution is the default. The workflow has already made the relevant decision, so the step should follow that decision rather than ask a model to make it again.

For example:

  • Model judgment: Determine the intended meaning of an ambiguous phrase using the available context.
  • Deterministic execution: Apply the selected meaning to the defined next action and produce the required result.

The boundary falls between deciding what a request means and carrying out the action that follows from that decision.

This does not mean deterministic rules contain no human judgment. People may have made important choices when defining those rules. The difference is that those choices have already been made for this unit, so execution follows them instead of reconsidering them case by case.

The manufacturing lesson: decompose, then assign

Manufacturing offers a useful architectural analogy:

“In manufacturing, that means breaking down the creation of a product into steps, automating each of those steps, and chaining them together.”

Knowledge work is not the same as manufacturing. Some knowledge-work units require context and reasoning, so they cannot be reduced to fixed mechanical operations. The lesson is decomposition: break a larger outcome into the work required to produce it, then assign each unit according to its nature.

For defined production work, that means automated steps connected in sequence. For knowledge work, it means identifying the logical units needed to move from input to output, introducing intelligence where a unit requires it, and using deterministic actions where it does not.

This avoids two opposite mistakes:

  • Treating every part of knowledge work as a fixed procedure, even when a step needs contextual judgment.
  • Giving one agent an entire process, including actions whose rules and intended result are already specified.

A workflow can contain both kinds of work. A reasoning unit can produce an interpretation or decision, and a deterministic unit can use that decision to carry out a defined action. The result is a chain of distinct responsibilities rather than one large request to “figure it out.”

Decision tree: model judgment or deterministic execution?

Classify one logical unit at a time:

Does the unit still need to interpret context, resolve ambiguity,
or make a reasoned choice for this case?

├─ Yes → Use model judgment.
│         State the specific decision and the output the next unit needs.
│
└─ No → Are the input, rule, and intended result already defined?
          ├─ Yes → Use deterministic execution.
          └─ No  → Break the unit into smaller units, then classify them again.

The tree does not classify a whole workflow. It classifies one unit at a time.

A practical classification method

Use this method to map a workflow.

1. Name the unit

If a step is called “process the request” or “complete the task,” it probably contains several units. Divide it before classifying it.

2. Identify what remains undecided

Ask what the step still needs to determine.

If the step must interpret context, resolve ambiguity, or make a reasoned choice, it may need model judgment. If the relevant choice has already been made and the step only needs to follow it, it is a candidate for deterministic execution.

3. State the model's decision in one sentence

A model assignment should have a clear decision attached to it. For example: “Determine which interpretation of this request should guide the next step.”

If you cannot state the decision clearly, the model task is probably too broad. Separate the judgment from the actions that follow it.

4. Pull defined actions out of the model task

After a model produces a decision, ask what should happen next.

If the next action has known inputs, rules, and an intended result, make it a separate deterministic unit. Do not leave it inside a general model instruction merely because it follows a reasoning step.

5. Revisit broad agent assignments as importance grows

Delegating an entire process to one opaque agent becomes less acceptable as a workflow becomes more critical, high-volume, or unattended.

That does not require a rigid split in every case. It does mean the boundary between judgment and execution should be explicit when a workflow has outgrown a prompt-driven prototype.

Keep intelligence where it adds value

The goal is not to eliminate AI judgment. It is to reserve AI judgment for work that actually needs it.

Map one workflow from input to output. Name its logical units, then decide whether each one needs model judgment or deterministic execution. If a model unit still contains several decisions and actions, split it further. If a model is carrying out an already specified action, move that action to the deterministic side.

That is how a broad agent task becomes a designed process: not by removing intelligence, but by giving intelligence a clear, bounded job.

AI Workflow Judgment vs. Deterministic Steps