Building a Process-Modeling Tool using Agentic AI: An Experience Report on PM4Py-UCM
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Enterprise-modeling (EM) tools are often complex and hard to extend. Yet, users may want to explore new EM features and capabilities that currently do not exist. AI coding agents can help here by enabling the development of new capabilities and entire tools, but whether we can trust a modeling-language tool an LLM largely wrote remains a question. This paper reports on the AI-assisted construction of PM4Py-UCM, an open-source tool that mines Use Case Map (UCM) models from event logs. PM4Py-UCM's capabilities include some expected from process mining tools (e.g., performance heat-maps and dashboards) and distinctive ones (e.g., mined executable scenarios/variants, and model decomposition). We mined the development record itself, composed of 18 agent sessions (374 human turns and 10,328 tool actions over 65 hours), 151 commits, 20 releases, and a test suite grown from 108 to 691 test functions, in order to characterize, in a single in-depth case, how the tool was built with an agent (Claude Code), complemented by an independent static assessment of the resulting code (coverage, complexity, maintainability, security, architecture). We contribute a reproducible, privacy-preserving toolkit and taxonomy that classify human turns and flag cross-cutting consistency work, agent corrections, and retracted requests. Up to version 0.7.4, fixes outnumber features 2.3:1, with ~18% of turns for correcting agent errors. Feature waves dragged a measurable tail of documentation/test/notebook consistency work, and tests grew lockstep with features. We finally present lessons learned, centered on making model transformations mechanically checkable, and the oracle-based validation strategy that closed the "the agent said it works" gap, for responsibly engineering EM tooling with AI.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 30 references that are in the map. First posted on arXiv 30 Jul 2026.
Builds on
6 of 30 references.
Closest ancestors · 2
Same direction, newest first
- 2026Agentic AI in the Software Development Lifecycle: Architecture, Empirical Evidence, and the Reshaping of Software Engineering29 Apr
- 2025A Survey on Code Generation with LLM-based Agents31 Jul
Other references · 4
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024Using AI-Based Coding Assistants in Practice: State of Affairs, Perceptions, and Ways Forwardcited by 44
- 2026An Exploratory Study on LLM-Generated Code and Comments in Code Repositoriescited by 2
- 2026Towards Process Mining Use Case Map Models with PM4Py-UCMcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026EnterpriseLab: A Full-Stack Platform for developing and deploying agents in Enterprises
- 2026Pragmos: A Process Agentic Modeling System
- 2026Context is all you need: Towards autonomous model-based process design using agentic AI in flowsheet simulations
- 2024Towards Modeling Human-Agentic Collaborative Workflows: A BPMN Extension
- 2025Agentic AI Process Observability: Discovering Behavioral Variability
- 2026PMAx: An Agentic Framework for AI-Driven Process Mining
- 2026Agentic Business Process Management: A Research Manifesto
- 2026Agent Behavior Mining: Generative AI Agent Governance in Business Processes