Skip to content

Execution plans

The plan is the contract. A Task Agent run does not improvise against your systems: the brief becomes a set of steps you can read and correct before the agent is saved, and the plan — not the conversation — is what each run executes.

Updated 16 October 2026 · 8 min read

What a step is

A plan has an objective, a set of steps forming a dependency graph, and the result it should deliver. Each step has:

FieldMeaning
KindTool — one named tool call — or reasoning, a thinking step with no tool.
Tool & inputFor tool steps: the exact tool and the input the agent should construct. At run time the agent may adapt that input using the results of the steps it depends on.
Depends onSteps that must finish first.
Run inputWhether the step receives the payload a webhook trigger delivered. The planning agent sets it; the chat plan shows it as Run input: yes.
InstructionsWhat the step should actually do, in words.
Expected outputWhat “done” looks like — guidance the agent is given for the step.

The plan renders in the chat as markdown and in the side panel’s Execution Plan section as a timeline. You edit it by talking to the planning agent — “make step 2 depend on step 1”, “split the summary into its own step” — never by hand-editing fields, which keeps every revision inside the conversation record.

Validation

Saving validates the graph: duplicate step IDs, steps that depend on themselves, dependencies on steps that don’t exist, and cycles are all rejected with a message naming the offending step. Saving also checks that you may call every tool the plan names. It cannot check that each tool will be available when a run starts: a step whose tool is missing from the run — its server disabled, say — fails at once, without retries.

How a plan executes

Each run works through the graph inside its own execution session, one step at a time: of the steps whose dependencies have finished, the earliest in the plan goes next. Steps report pending, running, completed (shown as its duration), failed, blocked, or skipped.

  • A step is checked for completion, not correctness. A tool step is done when its tool call completes; a reasoning step is done when it writes a result. The expected output steers the agent, but nothing compares the result against it — a wrong answer completes successfully.
  • Retries are per step. A failing step gets up to three attempts, with corrective feedback between them. After the third failure the step fails for the run. A model call that hits a provider rate limit spends no attempt: the step waits — from 15 seconds, doubling up to 5 minutes — for at most 30 minutes before it fails.
  • Failure flows downstream. Steps that depend on a failed step are blocked (Blocked because dependency ”…” did not complete.), steps that don’t depend on it still run, and the run ends Failed with a Failure report listing every step, its attempts, and its error. If the model itself can’t be reached, the remaining steps are blocked with Not run because the AI model wasn’t reachable.
  • A step can be skipped on purpose. When there is nothing to do — no new records, say — the agent skips the step with a reason, which counts as success and is passed to the steps that depend on it. A step whose dependencies were all skipped is skipped too.
  • Pauses don’t consume attempts. A step waiting on a human approval or on an answer to a question is paused, not failed. A rejected approval is final: the step fails at once, with no retry.
  • There is no run-level retry. A failed run is not re-attempted. The next scheduled slot, a Run Now, or a webhook starts the next run.

Once every step has finished, a final turn writes the run’s Deliverable from the step results. Step results are trimmed — the first 3,000 and the last 1,000 characters — both in what later steps see and in what the log keeps.

The full step-by-step record of every run — inputs, results, errors, pauses — is the run’s Execution Log; see Schedules & runs.

Note

The saved plan is a snapshot. Editing an agent’s plan later (via Edit on its page) changes future runs only — a run in flight finishes on the plan it started with, and its log shows exactly which plan that was.

Warning

Steps marked as depending on run input only do useful work when a webhook delivers that input. A plan built around run input, fired from a cron schedule or Run Now, runs with nothing to work on — the planning agent will warn you, but it’s worth designing deliberately.