About Processes and (Multi-)Agents

On 19 June 2025 I spoke about processes and (multi-)agents at the Reshaping Software With AI summit in Berlin, collocated with GopherCon Europe, and the recording is on YouTube. Here I want to lay out the core points properly, with more room than a conference slot allows.

Preparing the talk, I struggled a bit. I could have taken a knowledge-intensive task and explained how (multi-)agents helped solve it, but I think I have more to share than that, and more to draw from. Almost everywhere I have seen agents, they were doing small, bounded tasks while enormous expectations were projected onto them: let them run my whole company for all I care. From my research years and my time at SAP Signavio, I can draw many parallels between what the BPM space has learned over the last ten years and the questions that are now coming up around agents, so that is what I want to focus on here.

Christian Warmuth on stage in front of a slide listing four sections: let's talk about agents, complexity of the process domain, freedom or control, framed autonomy
The four parts of the talk, in the order I gave them on stage. Below they come in a different one. Photo: GopherCon Europe.

Why processes are hard

A business process is a series of related activities that an organisation performs to achieve a goal. The definition sounds harmless. What makes it hard is everything the definition leaves out, and the slide I spent the most preparation time on is the one that lists it.

Christian Warmuth on stage next to a slide titled Foundations of Business Processes, listing multiple actors, time delay, limited visibility, shared resources and domain complexity
The five properties the rest of the talk kept running into. Photo: GopherCon Europe.

Five properties, and each one on its own is enough to break a design that assumes otherwise:

  • Multiple actors. A purchase walks through the requester, the budget owner, procurement, the supplier and accounts payable, plus a few systems nobody on that list owns. Their interests differ, and they are rarely explicit: often not even clear to the actor itself, let alone to everybody else involved.
  • Time delay. An action is taken now and its effect becomes visible much later, which makes attribution difficult. The action space is vast, the data on both the action and the outcome is sparse, and there is no visibility into the actions taken in between. An observed improvement or decline can rarely be traced back to a specific decision.
  • Limited visibility. No actor sees the whole process. The data that does exist is a by-product of whatever systems happen to be involved, not something anybody designed to be observed.
  • Shared resources. The same people, budgets and now the same AI credits serve many processes at once, so every decision carries an opportunity cost that is invisible from inside a single case. Switching between tasks costs setup and changeover time, and some work is not done on arrival at all: it is grouped and only processed once a threshold is reached. Ordering office furniture is a harmless example: a request for a single desk chair waits until enough orders have accumulated to reach the supplier's minimum order value, so a step can sit idle for reasons unrelated to the case itself.
  • Domain complexity. The knowledge is spread unevenly across the organisation, and on top of it sit years of process debt and the IT systems that grew along with it.

Humans remain in the loop whether or not a design accounts for them, and by now every one of those actors has access to agents as well, so the resulting advantage is exclusive to nobody. There are reports of companies running five to ten thousand IT systems. Those systems do something, and in many cases nobody knows what. The reflex answer, redesigning the process so that it fits the new technology, is more expensive than it sounds.

The classic illustration of all this is the Beer Game, the systems thinking simulation developed at MIT in the 1960s. Small changes in customer demand cause large swings in orders further up the supply chain, because every participant reacts to delayed, partial information. Nobody in the game is irrational. The system still oscillates. That is the bullwhip effect, and it is what a multi-agent system in a real process has to contend with. The lesson generalises uncomfortably well: an agent can only operate on the information it has.

Agents in processes is not agents in processes

There is a difference between a multi-agent system executing one bounded, well-scoped task inside a process and a multi-agent system that runs and optimises the process in its entirety. Almost everything sold as "multi-agent" today is the first: a few agents splitting up a single task, inside one system, inside a few minutes. The second means coordinating actors who sit outside any single line of command, holding control and flexibility at the same time, and leaving a trail somebody can still read months later, with delays measured in days. These are different problems, and the first one does not grow into the second by adding agents.

Processes are also not one category. A marketing process carries few hard constraints: a handful of rules about not defrauding customers or investors, and beyond that a great deal of room. A finance process is the opposite, with mandatory steps, segregation of duties, regulatory oversight and records that have to stay traceable for decades. Freestyling a way to the goal is far more viable in marketing. The task is not simpler there; the path simply does not have to be defensible years later.

The whole range can be placed on a scale of autonomy. At one end sit process execution engines, where every step is specified and the engine does what the model says. At the other end sits the freestyled way to a goal. In between sit the processes organisations actually care about: a supply chain process, an HR process. The mistake is to assume the right end generalises. That a freestyling agent can plan a holiday says nothing about whether the approach transfers to the rest.

There is a name for that shape. MIT Sloan calls it the jagged frontier: the strengths and weaknesses of AI relative to us are nonintuitive, so two tasks that look equally hard from the outside can sit on opposite sides of it. In the research they cite, people working inside the frontier improved by as much as 40 %, while performance dropped by an average of 19 percentage points once somebody reached past it. The uncomfortable part is that the boundary is invisible from the inside, because the wrong answers look as credible as the right ones. A process is a long chain of tasks, so it crosses that frontier again and again, and nobody has marked where.

Slide titled Levels of autonomy, showing a wedge that narrows from left to right above four markers: process execution engines, supply chain process, HR process and freestyled way to a goal, with an arrow pointing from the freestyling end back toward the middle
Autonomy grows from left to right. What works at the freestyling end does not transfer to the rest by itself.

Freedom or control

Business process management has been having this argument for decades, long before anybody had an agent to argue about. The field split into two schools over it, each with its own tooling and its own research, and both of them failed in ways worth learning from.

School one: model it up front. On the slide I called this the traditional process model fallacy: consultants or process modelling experts run a modelling initiative for a center of excellence, the process is modelled as it should be, at a distance from the work, and everybody is expected to comply. What it produces is process model wallpaper nobody uses, more resistance to change than before, and worse decisions. The effort explodes as soon as the organisation grows or acquires a company, and what appears instead are shadow processes, because reality is more complicated than the model. Proactive, but restrictive. Translated to agents, this is overspecification: we constrain behaviour tightly while seriously overestimating how much we know about the goals and boundaries that matter.

This is how large organisations define how they run: thousands of process models, hundreds of thousands of business rules, thousands of experts maintaining those models, and a single model that may be executed millions of times a day, automating an operational business decision with substantial impact such as a mortgage approval or a KYC check. Managing models and rules in the model-driven development sense is extremely effortful and takes resources and expertise that only few organisations have. That is why it is mostly very large organisations that run process execution engines, and why modelling for them is not citizen development.

School two: mine what already happened. On the slide this was the execution-driven approach. The grown processes and systems were never properly documented, so the approach is to mine what they produce, in the hope of learning what works well and what should be avoided. This is where process mining came from: event logs, millions to billions of process executions with attributes at process and case level. Only the variables placed into the ETL can be considered, so the work stays exploratory. Flexible, but reactive. Translated to agents: let them find whatever path they take, then derive the best one from the observations.

Directly-follows graphs and Petri nets are its central abstractions, and in practice they are mostly a gimmick: a graph that looks impressive is eye candy, and getting from it to the few small areas actually worth working on takes in-depth process mining expertise and deep knowledge of the domain. We once analysed a dataset from a hospital in Boston, and the graph showed everything that happens in a hospital. That is not a question of detail level: if I remember correctly, the entire activity "surgery" was one node, and the graph was still spaghetti. What makes process mining actionable is scaling domain knowledge across an organisation, not the graph: the way from spaghetti graphs to actionable insights, which is what process insights is built around. There is good work on better abstractions, for instance timeline-based process discovery (Rubensson et al., Information Systems, 2025).

A directly-follows graph of a real process, zoomed in: hundreds of overlapping edges crossing the frame, with only a few activity boxes visible between them
A directly-follows graph of a real process, at the zoom level where it stops being readable.

Analysing agent executions after the fact runs into the same problem, or a worse one. Reality asserts itself, and following the observed flow stops working the moment something structural changes. Two schools, two failure modes: the first overspecifies a world it does not know well enough, the second only ever describes the world that already happened. Neither pole works on its own.

Framed autonomy

What I argued for instead is framed autonomy: the autonomous system operates within a frame, and a frame is a set of rules, restrictions and regulations that may evolve over time. Inside it the system has maximal flexibility to decide for itself. That gives oversight and a grip on control and cost without the pretence that every step can be specified in advance.

Slide titled The concept of framed autonomy, defining a frame as a set of rules, restrictions and regulations that may evolve over time, next to a photo of an empty wooden picture frame
The definition as it stood on the slide.

Three things make a frame useful. The first is context about actors, resources and dependencies. An actor, human or agent, that knows where it sits in the larger process behaves differently from one that does not. In the examples I showed, that context helped measurably where a bottleneck was involved and made no significant difference where there was none. Position in the puzzle matters when the puzzle contains a constraint. IT systems belong in this picture too: they offer limited flexibility and are restrictive about what can be done at all.

Slide showing a process graph with two bottlenecks marked in red, one activity marked green as 20 % faster, and an endpoint labelled no significant improvement
Context helps at the bottleneck and nowhere else.

The second is the right granularity. Over- and underspecification are both failure modes, when analysing a process and when defining how a problem should be solved. The useful unit is the process atom: B follows A. Surprisingly often, neither the full order nor the parallelism actually matters.

Slide showing a process graph with one pair of activities highlighted as a process atom, B follows A, next to a comparison of imperative and declarative modelling
The imperative model prescribes the path and everything else is a deviation. The declarative one names constraints and leaves the rest open.

The same choice shows up one level down, in the decisions. A single decision inside a process can carry a full decision model behind it, with its own logic table and its own dependency graph of the inputs it needs. Modelling that completely is possible, and it is considerable effort for something that may not be the best solution anyway. That this is a real engineering discipline rather than a diagramming exercise is easiest to see in public code: Goldman Sachs maintain jDMN, an open-source execution engine for the DMN standard. Decisions are where the flexibility belongs: specify what the decision has to respect and leave the branch to the system.

Slide showing a BPMN hiring process, the decision logic behind one decision as a table, and the requirements to that decision as a DMN dependency diagram
One decision in a hiring process, fully modelled: a logic table and a dependency graph behind a single diamond.

The third is closing the contextual gap. The knowledge of how a process should run, and what to optimise for, usually exists. It is rarely available in a usable form: buried in a large body of documents, or in someone's head. That knowledge is not democratised, which keeps the domain experts who have it from contributing. This is unglamorous work, and it is the real bottleneck. One direction I find promising is generating process models from natural-language descriptions, so that writing down how something runs stops being a modelling exercise.

Christian Warmuth speaking, with his name and role on the screen behind him
Photo: GopherCon Europe.

It also helps to be concrete about what agents in a process look like, because there is a ladder here. One agent is an actor in a process and speeds up a single activity: scan this invoice, assign it correctly. Several agents speed up several activities, and scaled to the maximum, the humans, the resources and the other organisations become the limiting factor. The interesting level is the third: agents aware of the decisions around them, of the previous and next steps, and of the queueing state of the other actors. What comes out at that level is a faster execution plus a suggestion for improving the setup.

Much of this is risk management under another name. An HR process carries the risk of an employee spending money they should not, and the control costs working time and goodwill: an email goes to the manager every time someone orders a book, purely to inform and to have them check. A finance process carries the risk of something being classified wrong in the books, with the same kind of control attached. Seen that way, most of what looks like process design is a demand for better information management and information sharing.

Underneath all of this is a distinction worth making explicit. A process is a macro-level view: organisational goals, global control, an artificial abstraction we invented to manage work within and across organisations. An agent is a micro-level view: individual goals, local control, a natural entity. Organisations and societies are naturally agent-oriented. The process is the abstraction we laid on top. Ignoring either level leads to mismanagement.

Beyond the hype

What I would take away:

  • A freestyled way to a goal is valuable in a few use cases. Planning a holiday, yes. Running a logistics process, no.
  • Work on accessible knowledge and decisions. Initiatives like Catena-X and next-generation knowledge management matter more here than another agent framework.
  • Adopt a process and agent mindset: know your place in the larger puzzle, your dependencies and your queue.
  • Foundations are the work. Well-defined interfaces, metamodels and documentation.
  • For spot processes and text- or communication-heavy ones, there is clear value in using agents right away. That part of the hype is earned.

Where I would not spend the effort is the execution order in highly optimised fields. Past a certain point that is a resource optimisation and queueing theory problem, and an agent will not solve it. Where agents genuinely help today is one layer up: process management, documenting goals and approaches, investigating how a process actually runs. That is the contextual gap, and closing it is worth more than another autonomous executor.

Thanks to Natalie Pistunovich for organising and for pushing the AI and data community in Berlin, and to the rest of the lineup, whose talks made the day: Jessica Greene (Ecosia) on the footprint of writing code, human versus AI; Travis Cline on LangChainGo; Jonathan Amsterdam (Go team at Google) on the Go MCP SDK; and Patrizia Jurek (Google Accelerator Europe) on how AI is changing the startup ecosystem.