International Symposium on Leveraging Applications of Formal Methods, Verification, and Validation • Kos, Greece
Time: Monday, 26.10
Room: Room 2
Authors: Mats Kowalke
Abstract: The arrival of frontier coding models capable of enterprisegrade agentic software development marked a turning point: generalpurpose agents consisting of strong LLMs embedded in coding harnesses such as Claude Code were rapidly adopted across virtually every stage of the software development lifecycle. While this shift unlocked substantial gains in automation, it also exposed structural drawbacks of relying on general-purpose agents for recurring, well-understood tasks: strong non-determinism between the approaches of individual runs, high token costs even for repetitive subtasks, and a lack of auditability, since neither the timing nor the rationale behind an agent's decisions can be reliably reconstructed afterwards. Our approach revisits Agentic AI Workflows as a response to these challenges. Instead of delegating an entire task to a single, freely reasoning agent, a deterministic orchestrating application decomposes a known, recurring task into a sequence of small, self-contained agent invocations. This decomposition reduces the reliance on multi-step planning capability, allowing smaller and open-source models, which have since caught up to the level of early frontier agentic models, to replace expensive frontier models at a fraction of the token cost. At the same time, the deterministic structure between steps preserves explainability: the inputs and outputs of each step can be traced to reconstruct when and why specific actions were taken. We illustrate this approach with a concrete case study: an Agentic AI Workflow for automatically remediating code smells in Java codebases, covering repository ingestion, code analysis, iterative smell resolution via agent calls, and the creation of a merge request for human review. Building on this example, we discuss trade-offs between workflow granularity, model capability and cost. Eventually we outline whether Agentic AI Workflows present a viable alternative to general-purpose agents in real-world software engineering practice by evaluating an Agentic AI Workflow's capability to fix code smells on two codebases.