Skip to main content
November 26, 2026

Your Agent Orchestrator Is Airflow With Extra Steps

Your Agent Orchestrator Is Airflow With Extra Steps

Every new agent orchestration platform lists the same features: a worker model, parallel steps, suspension for human approvals, and an audit trail. Remove the word "agent" and the list describes Jenkins, Airflow and Temporal. A YAML file and a shell loop cover half of it.

So the feature list cannot tell them apart. Below: five questions that can, and when a plain agent plus a boring executor wins.

What the Old Engines Already Do

  • Workers. In Temporal, "A Worker Process is responsible for polling a Task Queue, dequeueing a Task, executing your code in response to a Task" (workers). Airflow and Jenkins have their own worker and agent pools.
  • Parallelism. Airflow pools "can be used to limit the execution parallelism on arbitrary sets of tasks" (pools), and dynamic task mapping creates tasks "at runtime based upon current data". Jenkins Declarative Pipeline has parallel stages.
  • Approvals. The Jenkins input step "pauses Pipeline execution and allows the user to interact and control the flow of the build" (input step). Airflow's standard provider ships HITLOperator, ApprovalOperator, HITLBranchOperator and HITLEntryOperator (HITL API). A Temporal workflow waits on a signal with await wf.condition(() => approvedForRelease) (message passing).
  • Audit. Temporal "uses the Event History to record every step taken along the way" (event history). Airflow keeps task tries, Jenkins keeps builds.

These are the entry bar, not a reason to switch.

Five Questions That Separate Them

1. Are Step Contracts Checked at Runtime?

An LLM step returns text you hope is JSON. Does the runtime check it at the boundary, or does the next step find out?

Mastra builds this in: "Create a step using createStep() with inputSchema and outputSchema to define the data it accepts and returns", using Zod, Valibot or ArkType. Temporal's TypeScript SDK gives compile-time types, but its default data converter only encodes: "If a value isn't null, binary, or a Protobuf, it is encoded as JSON" (data converters). TypeScript types vanish at runtime, so a model output that drops a field passes through unless you parse it. In Airflow and Jenkins the contract is yours to write too.

One schema.parse() per step adds this to any engine. Ask what happens when the parse fails.

2. How Does Data Move Between Steps?

Agents produce big intermediate data: log excerpts, traces, transcripts. Every engine has a ceiling.

  • Airflow XComs "are only designed for small amounts of data; do not use them to pass around large values," and the docs recommend object storage for larger data (XComs).
  • Jenkins stash is "designed for use with small files", and "between 5-100 MB you should probably consider alternatives" (basic steps).
  • Temporal Cloud caps a request payload at 2 MB and an Event History at "51,200 Events or 50 MB" (Cloud limits).

An agent that copies its transcript into each step's output hits these limits fast. Pass references (an object key, a row ID) and keep blobs in storage.

3. What Does a Paused Run Keep, and What Re-Runs?

This is where the engines differ most.

  • Airflow HITL tasks wait in the awaiting_input state, and a request_input() call "waits in the awaiting_input state without holding a worker slot." The answer records chosen_options, responded_at, responded_by_user and timedout, and without defaults "the task fails with HITLTimeoutError when timeout passes" (HITL guide).
  • Jenkins runs a stage-level input "before entering the agent block" (syntax), and "Some steps like sh or input are written to survive a Jenkins restart" (basic steps).
  • Temporal rebuilds state as "the Worker uses the Event History to replay the code" (event history), and "Workers consume no additional resources while waiting for a Timer to fire" (timers).
  • Mastra "saves the current execution state as a snapshot", and resume() restarts "from the step where it paused" with data matching the step's resumeSchema (suspend and resume).
  • LangGraph needs a checkpointer and a thread ID, and on resume "the runtime restarts the entire node from the beginning ... any code that ran before the interrupt will execute again" (interrupts).

That is the failure mode to test. A node that calls the model, opens a ticket, then interrupts for approval will open a second ticket on resume. LangGraph's docs say side effects before interrupt "should (ideally) be idempotent." Temporal has the same rule in another form: workflow code must replay deterministically, so side effects go in activities. Put each approval in its own step, with nothing before it.

4. Where Do Evals Run?

An agent step needs a quality check, not only an exit code. Mastra attaches scorers to steps: "Each scorer receives that step's own input and output, so you can measure quality at each step instead of only scoring the final answer" (evals). In Airflow, Jenkins or Temporal, an eval is one more task: a grader call after the model step that fails or flags the run. Both work if the grader sees the real input and output and is not the model that wrote the answer, a trap we covered in clean-context critics.

5. What Does "Replay" Actually Re-Execute?

Engine Re-run feature What fires again
Jenkins Replay runs a Pipeline with edited script "without changing the Pipeline configuration or creating a new commit" (development); Restart from Stage starts a new build and skips earlier stages (running) Stages you run
Airflow Clearing a task bumps try_number and re-runs it; task state store entries are discarded by default (DAG runs) Cleared tasks
Temporal Reset resumes "from a point in its Event History" (CLI); Worker.runReplayHistories replays recorded histories against new code (testing) Activities after the reset point
Mastra Time travel re-executes "starting from any specific step" from stored snapshot data or custom context (time travel) Steps from the target on
LangGraph Replay or fork from a checkpoint; "LLM calls, API requests, and interrupts fire again" (time travel) Nodes after the checkpoint

Temporal's replay testing is the one item the agent frameworks do not match: run yesterday's production histories against today's code and "Fail CI if any error is encountered during replay."

The Comparison Checklist

Score any candidate, new or old, before a demo sells it:

  1. Step output is parsed against a schema; a failed parse retries or stops the run with the raw output saved.
  2. Steps pass references, not blobs, and you know the size limits.
  3. Each approval is its own step, has a timeout, and records who answered and when.
  4. Nothing before a pause runs twice on resume, and a test proves it.
  5. Evals see each step's real input and output, on every run or a fixed sample.
  6. A failed run restarts from a chosen step without repeating earlier writes.
  7. Recorded runs replay against new code in CI.
  8. The audit trail survives a worker crash and a controller restart.

If a new platform wins on two of these, switch. If it wins only on the UI, do not.

When a Plain Agent Plus a Boring Executor Wins

A second scheduler is a second thing to page on. Keep the agent as a step in the engine you already run when:

  • The flow is fixed. A runbook with known steps is a DAG. The agent fills one or two steps (summarize, classify, propose) and the engine owns order, retries and approvals.
  • Approvals are rare and sharp. One gate before a production write fits Jenkins input, Airflow ApprovalOperator or a Temporal signal.
  • Runs are short. If a run takes minutes and steps are idempotent, retrying from the top is fine.
  • The engine already holds the audit. If compliance points at Jenkins builds or Temporal histories, do not split the record.

A dedicated agent runtime earns its place when the model picks the next step, or when you need typed LLM outputs and per-step evals across many workflows. Even then, check what runs underneath: Mastra documents workflow runners for Inngest and, marked experimental, Temporal.

How Akmatori Splits the Work

An SRE agent depends on the same split. In Akmatori, per the architecture docs, the API server opens the incident and sends the agent worker the task with the run's tool allowlist. Every tool call goes through the MCP Gateway, so "authorization, credentials and auditing stay in one place." The API server saves each run and posts the root cause in the incident thread. Runbook and skill updates from the self-improvement evaluator wait as proposals until an operator approves them. Approval prompts are still not the whole safety model, as we argued in human approval for agent commands.

Conclusion

Workers, parallelism, approvals and audit are table stakes, and Jenkins, Airflow and Temporal all have them. Compare agent orchestrators on the hard parts: runtime-checked contracts, data passed by reference, what a resume repeats, where evals run, and what replay re-executes. If your engine passes the checklist, put the agent in a step and keep the boring executor.

If your team wants AI-assisted incident workflows with operator-approved runbook changes and saved run history, Akmatori helps SRE teams investigate alerts, coordinate response, and automate safe infrastructure actions. Powered by Gcore for global infrastructure reliability.

Automate incident response and prevent on-call burnout with AI-driven agents!