Anyone serious about automation will sooner or later end up with an orchestrator: software that connects individual work steps into traceable processes, resolves dependencies, logs errors and controls repetitions. The open-source platform Kestra belongs to this category and in version 2.1 has received three new features that above all answer one question: How can AI components be integrated into running automation chains without giving up control over critical steps?

MCP support: AI clients talk to the orchestrator

New is support for MCP, the Model Context Protocol. Behind it is an interface standard through which AI applications can access external tools and data sources without having to program a separate custom connection for each system. Instead of proprietary individual solutions, a uniform path is created through which an AI client learns which functions are available and how they are called.

For an orchestration platform, this is an obvious point of connection. The platform knows the existing processes, their parameters and their state. Via an MCP connection, an AI client can query this information and trigger processes, instead of users taking the detour via the interface or command line. The logic remains where it belongs: in the workflow, not in the prompt.

Approval as a built-in intermediate step

The second new feature is approval tasks, i.e. tasks that pause a process until a human approves. Technically this is unspectacular, but organisationally it is crucial. A deployment, a data cleanup or a mass mailing can thus be fully prepared, but only continues once someone with the corresponding responsibility approves.

The difference from improvised solutions is important: if approval is obtained by email or chat, it exists outside the system. Who approved when is difficult to reconstruct later. If the approval step is part of the process, it belongs to the documented execution – with everything that is logged anyway.

Especially in interaction with AI-controlled calls, this results in a workable pattern. An agent may initiate a process, but the risky part of the process waits for a human decision. Autonomy and control are thus not mutually exclusive; they are located at different points in the chain.

Checkpoints for scripts

Thirdly, Kestra introduces checkpoints for scripts. The idea: a longer-running script records its progress at defined points. If execution aborts, everything does not have to start over, but can resume from the last saved state.

That sounds like a detail, but in practice it is often the difference between a minor issue and an incident. Imports, migrations or mass processing rarely run through in seconds. If an error shortly before the end invalidates the entire run, it costs time windows, computing power and nerves. Together with approval steps, this results in a process that can be interrupted without becoming unstable – a prerequisite for waiting points to be practicable at all.

Why this pattern points beyond a single product

The three functions can be read as a common answer. AI clients are connected via a standardised interface, critical steps receive explicit approval, and long processes are built in such a way that pauses and restarts do not destroy them.

Many companies are currently facing exactly this question. Language models are good at interpreting intentions and formulating tasks. They are less good at bearing responsibility. The viable division of labour therefore usually looks like this: the agent prepares, suggests and initiates. The process itself is described deterministically, i.e. predictable in its behaviour. And at the points where errors become expensive, there is an approval.

For your own planning, it is worth clarifying three questions early on:

  • Which steps may run autonomously? Reading and preparatory tasks are usually uncritical, changing access to production systems is not.
  • Who approves, and how does this person recognise what they are approving? An approval without an understandable summary of the planned intervention is worth little.
  • What happens on abort? Processes that only work completely or not at all are poorly suited to waiting points.

Classification for web and software projects

For web and software projects, the focus of work thus shifts. The actual task is not connecting a model, but cleanly tailoring the processes behind it: clearly delimited steps, defined approval points and processes that withstand an interruption. Anyone who already automates deployments, imports or editorial processes thereby also creates the basis for letting AI agents dock on in a controlled way later – instead of subsequently forcing them into grown script collections.

Sources