Autonomous Legacy Web Application Upgrades Using a Multi-Agent System

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ala-Salmi, Valtteri, Rasheed, Zeeshan, Sami, Abdul Malik, Zhang, Zheying, Kemell, Kai-Kristian, Rasku, Jussi, Siddeeq, Shahbaz, Saari, Mika, Abrahamsson, Pekka
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912213097250816
author Ala-Salmi, Valtteri
Rasheed, Zeeshan
Sami, Abdul Malik
Zhang, Zheying
Kemell, Kai-Kristian
Rasku, Jussi
Siddeeq, Shahbaz
Saari, Mika
Abrahamsson, Pekka
author_facet Ala-Salmi, Valtteri
Rasheed, Zeeshan
Sami, Abdul Malik
Zhang, Zheying
Kemell, Kai-Kristian
Rasku, Jussi
Siddeeq, Shahbaz
Saari, Mika
Abrahamsson, Pekka
contents The use of Large Language Models (LLMs) for autonomous code generation is gaining attention in emerging technologies. As LLM capabilities expand, they offer new possibilities such as code refactoring, security enhancements, and legacy application upgrades. Many outdated web applications pose security and reliability challenges, yet companies continue using them due to the complexity and cost of upgrades. To address this, we propose an LLM-based multi-agent system that autonomously upgrades legacy web applications to the latest versions. The system distributes tasks across multiple phases, updating all relevant files. To evaluate its effectiveness, we employed Zero-Shot Learning (ZSL) and One-Shot Learning (OSL) prompts, applying identical instructions in both cases. The evaluation involved updating view files and measuring the number and types of errors in the output. For complex tasks, we counted the successfully met requirements. The experiments compared the proposed system with standalone LLM execution, repeated multiple times to account for stochastic behavior. Results indicate that our system maintains context across tasks and agents, improving solution quality over the base model in some cases. This study provides a foundation for future model implementations in legacy code updates. Additionally, findings highlight LLMs' ability to update small outdated files with high precision, even with basic prompts. The source code is publicly available on GitHub: https://github.com/alasalm1/Multi-agent-pipeline.
format Preprint
id arxiv_https___arxiv_org_abs_2501_19204
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Autonomous Legacy Web Application Upgrades Using a Multi-Agent System
Ala-Salmi, Valtteri
Rasheed, Zeeshan
Sami, Abdul Malik
Zhang, Zheying
Kemell, Kai-Kristian
Rasku, Jussi
Siddeeq, Shahbaz
Saari, Mika
Abrahamsson, Pekka
Software Engineering
The use of Large Language Models (LLMs) for autonomous code generation is gaining attention in emerging technologies. As LLM capabilities expand, they offer new possibilities such as code refactoring, security enhancements, and legacy application upgrades. Many outdated web applications pose security and reliability challenges, yet companies continue using them due to the complexity and cost of upgrades. To address this, we propose an LLM-based multi-agent system that autonomously upgrades legacy web applications to the latest versions. The system distributes tasks across multiple phases, updating all relevant files. To evaluate its effectiveness, we employed Zero-Shot Learning (ZSL) and One-Shot Learning (OSL) prompts, applying identical instructions in both cases. The evaluation involved updating view files and measuring the number and types of errors in the output. For complex tasks, we counted the successfully met requirements. The experiments compared the proposed system with standalone LLM execution, repeated multiple times to account for stochastic behavior. Results indicate that our system maintains context across tasks and agents, improving solution quality over the base model in some cases. This study provides a foundation for future model implementations in legacy code updates. Additionally, findings highlight LLMs' ability to update small outdated files with high precision, even with basic prompts. The source code is publicly available on GitHub: https://github.com/alasalm1/Multi-agent-pipeline.
title Autonomous Legacy Web Application Upgrades Using a Multi-Agent System
topic Software Engineering
url https://arxiv.org/abs/2501.19204