← Latest papers
🤖 AI

Pragmos: A Process Agentic Modeling System

This paper introduces Pragmos, a prototype system that addresses the limitations of black-box LLM solutions in Business Process Management by enabling a hybrid, interactive workflow where humans and LLMs collaboratively construct sound and explainable process models through structured, iterative steps supported by specialized behavioral analysis tools.

Original authors: Pedro-Aarón Hernández-Ávalos, Luciano García-Bañuelos

Published 2026-05-01
📖 5 min read🧠 Deep dive

Original authors: Pedro-Aarón Hernández-Ávalos, Luciano García-Bañuelos

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 are trying to explain a complex recipe to a very smart, but slightly literal, robot chef. If you just say, "Make the lasagna," the robot might get confused about the order of steps, whether you can chop the onions while the sauce simmers, or if you need to bake the noodles before or after the cheese.

This paper introduces Pragmos, a new system designed to help humans and Artificial Intelligence (AI) work together to turn messy, written descriptions of business processes into clear, visual flowcharts (called process models).

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

1. The Problem: The "Black Box" Trap

Currently, many AI tools try to take a paragraph of text and instantly spit out a perfect flowchart. The authors argue this is like putting a black box between the human and the result. You type in a request, and the machine spits out a diagram. If the diagram is wrong, you don't know why the AI made that mistake, and you can't easily fix it because the AI's "thinking" is hidden inside complex code.

The authors believe process modeling is too complicated to be done in one giant leap. It needs to be a conversation, step-by-step.

2. The Solution: A Step-by-Step Detective Story

Instead of asking the AI to "Write the whole story," Pragmos acts like a detective breaking a case down into small, manageable clues. It uses the AI (specifically Large Language Models) to gather information in three main stages, checking the work at every step:

  • Step 1: Finding the Paths (The "What Happens First" Clue)
    The AI reads the text and lists out the different ways the process could play out.

    • Analogy: Imagine the AI is reading a choose-your-own-adventure book and listing the three main routes a character could take. It ignores loops for now and just focuses on the straight lines: "First you do A, then B, then C."
    • Human Role: The human can look at this list and say, "Wait, that's not right. You missed a step," or "That order is wrong."
  • Step 2: Finding the Parallel Tracks (The "What Can Happen at the Same Time" Clue)
    Once the AI knows the order, it looks for things that can happen simultaneously.

    • Analogy: Think of a kitchen. You can't chop onions and fry them at the exact same second, but you can have the sauce simmering while you chop the vegetables. The AI identifies these "parallel tracks" and marks them on the map.
    • Human Role: The human checks: "Yes, the warehouse and the engineering team can work at the same time," or "No, they have to wait for each other."
  • Step 3: Finding the Loops (The "Do It Again" Clue)
    Finally, the AI looks for parts of the process that repeat.

    • Analogy: This is like a loop in a video game where you have to defeat three enemies before the boss appears. The AI identifies which activities are part of that repeating cycle.
    • Human Role: The human confirms: "Yes, we check the parts list over and over until everything is ready."

3. The Magic Tool: The "Modular Decomposition Tree"

Once the AI gathers these clues (paths, parallel tracks, and loops), Pragmos uses a specialized mathematical tool (a method from the field of process mining) to snap these pieces together like a 3D puzzle.

  • The Metaphor: Imagine you have a pile of Lego bricks. The AI tells you which bricks are next to each other, which are side-by-side, and which form a tower. The mathematical tool then automatically snaps them together into a stable, logical structure that makes sense.
  • Why it matters: This ensures the final flowchart isn't just a pretty picture; it's mathematically "sound" (it won't get stuck in a deadlock or break the rules of logic).

4. The "Human-in-the-Loop" Advantage

The biggest difference between Pragmos and other tools is transparency.

  • Other Tools: You ask for a model, and the AI gives you a finished product. If it's wrong, you have to guess what went wrong.
  • Pragmos: You see the "drafts." You see the list of paths, the list of parallel tasks, and the list of loops before the final chart is drawn. If the AI thinks two tasks happen at the same time, but you know they don't, you can correct it before the final model is built.

5. The Results

The authors tested Pragmos on a dataset of 45 real-world business descriptions (like "how to repair a computer" or "how to grade an exam").

  • Success: For most cases, Pragmos successfully built the correct flowchart by following its step-by-step conversation.
  • Limitation: When the descriptions were extremely long and complex, the system sometimes struggled because the AI's "memory" (context window) got too full to hold all the details at once.

Summary

Pragmos is a system that treats AI not as a magic wand that creates perfect answers instantly, but as a helpful assistant that builds a model brick by brick. It lets human experts look at the bricks, check the blueprints, and fix mistakes along the way, ensuring the final result is both accurate and understandable.

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 →