← Latest papers
🤖 AI

A Process Harness for Uplifting Legacy Workflows to Agentic BPM: Design and Realization in CUGA FLO

This paper introduces the "process harness," a mechanism that integrates a policy-governed agentic layer around existing deterministic workflow engines to enable Agentic BPM, rigorously defined by the Task-Decision-Flow (TDF) model and realized in the CUGA FLO system to balance structural compliance with adaptive, policy-framed autonomy.

Original authors: Fabiana Fournier, Lior Limonad

Published 2026-06-26
📖 6 min read🧠 Deep dive

Original authors: Fabiana Fournier, Lior Limonad

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very strict, old-fashioned factory assembly line. This line is built to be perfect: it follows a fixed map, every step is pre-programmed, and it never makes mistakes. However, it's also incredibly rigid. If a box arrives that doesn't fit the standard size, or if a new rule suddenly appears from the government, the machine stops, breaks, or needs a human to climb in and manually fix it.

This is how most business software (called BPM) works today. It's great for routine tasks but terrible at handling surprises.

Now, imagine you could give this factory a "smart supervisor" who can read, think, and make judgment calls, but who cannot touch the conveyor belt or change the machine's gears. This supervisor can only shout instructions to the human operators or suggest small detours, but the machine itself still runs the show.

This paper introduces a new system called CUGA FLO that does exactly this. It calls this system a "Process Harness."

Here is how it works, broken down into simple concepts:

1. The Core Idea: The Harness

Think of a horse. The horse is the engine (the old workflow system). The harness is the gear you put on the horse to guide it. You don't replace the horse; you just add a layer of control on top.

  • The Old Way: To handle a surprise, you had to redesign the whole factory floor (the software code) before the surprise happened.
  • The New Way (CUGA FLO): You keep the factory exactly as it is. You wrap a "Process Harness" around it. This harness uses AI (specifically Large Language Models) to watch the process. When the process hits a specific checkpoint, the AI steps in, thinks about the situation based on a set of written rules (policies), and suggests what to do next.

2. The Three "Smart Assistants"

The paper says this harness uses three different types of AI assistants, each with a specific job. They are like a team of specialized managers:

  • The Task Agent (The Worker):

    • Job: Doing the actual work.
    • Analogy: Imagine a task is "Check the applicant's credit score." In the old system, a computer script did this. Now, the Task Agent reads the messy financial documents, understands them, and calculates the score.
    • Rule: It has a strict policy: "You can calculate the score, but you are not allowed to say 'Approved' or 'Rejected'." That decision belongs to someone else.
  • The Decision Agent (The Traffic Cop):

    • Job: Deciding which path to take at a fork in the road.
    • Analogy: The assembly line splits into two paths: "Approve" or "Reject." The Decision Agent looks at the score the Task Agent just made. It checks the rules (e.g., "If the score is above 0.6, go left"). It then tells the machine which path to take.
    • Rule: It makes sure the decision is logical and follows the written policy.
  • The Flow Agent (The Emergency Manager):

    • Job: Changing the map while the process is running.
    • Analogy: This is the most powerful one. Imagine a special "Hook" (a trapdoor) on the assembly line. If a specific situation happens (like a VIP customer or a regulatory emergency), the Flow Agent jumps in. It can say, "Skip the next three steps," "Stop the line," or "Add a new step right here."
    • Rule: It can only do things that are explicitly allowed by a "Hook Policy." It can't just change the map randomly; it must follow the rules.

3. The "FRAME" (The Rulebook)

How do we make sure the AI doesn't go crazy? The paper introduces the FRAME.

Think of the FRAME as a giant, human-readable rulebook (written in plain English, like a Markdown file). Every time an AI assistant makes a decision, it has to check this rulebook first.

  • The Task Agent checks the "Task Rules."
  • The Decision Agent checks the "Routing Rules."
  • The Flow Agent checks the "Emergency Rules."

If the AI tries to do something not allowed in the rulebook, the system stops it. This ensures the AI is "framed" by human rules, not just making things up.

4. The Loan Approval Example

The paper proves this works with a Loan Approval example:

  1. The Worker (Task Agent) reads a loan application and calculates a credit score.
  2. The Traffic Cop (Decision Agent) sees the score is high (0.82) and says, "Okay, this looks good, let's go to the 'Approve' path."
  3. The Emergency Manager (Flow Agent) sees the applicant's ID number is "4321." Even though the score is high, the rulebook says, "ID 4321 is banned due to a new regulation."
  4. The Result: The Flow Agent overrides the Traffic Cop's decision. It uses a "Hook" to instantly jump the process to the "Reject" path, skipping the approval steps entirely.

Why is this cool? In the old system, you would have had to build a special "ID 4321" path into the software years ago. With CUGA FLO, you just update the text file (the policy) today, and the system handles it immediately without rewriting the code.

5. Why This Matters (The "Best of Both Worlds")

The paper argues that this solves a big problem:

  • Old Systems are safe and structured but can't adapt to new things.
  • Pure AI can adapt to anything but is risky, unpredictable, and hard to audit.

CUGA FLO combines them. The "Engine" (the old software) guarantees the structure is safe and follows the map. The "Harness" (the AI) adds the ability to adapt, reason, and handle surprises, but only within the strict boundaries of the rulebook.

Summary

The paper presents CUGA FLO as a way to upgrade old, rigid business software into a smart, adaptable system without throwing away the old software. It does this by wrapping the old system in a "Process Harness" that uses three types of AI agents (Workers, Traffic Cops, and Emergency Managers) who are strictly governed by a human-written rulebook (the FRAME). This allows businesses to handle unexpected situations automatically while still keeping a strict, auditable record of every decision.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →