Human–AI Collaboration in the Modernization of COBOL-Based Legacy Systems: The Case of the Department of Government Efficiency (DOGE)
Abstract
1. Introduction
- The scientific literature: This study integrates peer-reviewed publications on Agile methods, particularly since the Agile Manifesto in 2001 [4], and on AI applications in legacy modernization.
- The gray literature and industry insights: To include practical perspectives, this research examines technology magazines, industry reports, and expert analysis, such as MIT Technology Review articles [14].
2. State of the Art
2.1. Defining Legacy Systems and COBOL-Based Software
2.2. Legacy Systems, AI Tools, and Agile Methodologies
2.3. DOGE Legacy Systems Characterization
COBOL-Based Legacy Systems and Modernization Challenges: The Case of DOGE
3. Materials and Methods
4. Results and Discussion
4.1. Perspectives in Legacy System Modernization: Results from the Systematic Literature Review
- Optimistic view: Elahi et al. [15] conducted research to investigate how AI enhances the migration of legacy systems towards modernization through AI-based decision-making. Their results suggest that the strategic implementation of AI enables organizations to achieve higher productivity and cost-effectiveness. AI-driven knowledge automation helps mitigate skill shortages, ensuring knowledge extraction from legacy systems can be automated and leveraged for modern development.
- Cautious view: Other scholars adopt a more cautious approach, acknowledging the benefits of AI while highlighting potential cybersecurity vulnerabilities and interoperability issues in legacy systems. Ntafalias et al. [26] developed an AI-enabled architecture to connect legacy-building automation systems, structured across multiple interoperability layers. Their work demonstrates that, although AI can enhance control and responsiveness, achieving full integration requires resolving semantic conflicts and ensuring compatibility across the entire system. Although Agile methodologies are not explicitly discussed, the modular design and layered orchestration of their framework align with Agile principles, such as iterative development and incremental integration. This suggests that Agile-inspired strategies could help to address integration issues, particularly in heterogeneous legacy environments.
- Skeptical view: The most skeptical positions point out that while AI and Agile methodologies hold promise, their full potential in large-scale legacy system modernization remains uncertain due to unresolved issues such as scalability, standardization, data sharing, and interoperability, as many proposed frameworks are still at the pilot stage [27].
4.2. The DOGE Case: Incorporating Insights from Gray Literature Analysis
- Security and compliance;
- System interoperability;
- Knowledge retention and workforce;
- AI-driven decision-making;
- Cost efficiency and bureaucratic optimization.
5. Conclusions
5.1. Theoretical Implications
5.2. Practical Implications
- Use Agile teams to structure iterative AI integration. Begin with cross-functional teams that apply Agile sprints to define, test, and refine AI-supported functionalities (e.g., code refactoring and anomaly detection).
- Implement oversight and feedback loops. Combine AI-driven automation with continuous human validation to ensure that outputs remain aligned with operational goals and legal standards.
- Facilitate knowledge continuity. Use AI tools, such as NLP-based documentation, to extract and preserve legacy knowledge. Agile rituals, such as retrospectives and demos, ensure that knowledge is continuously shared across teams.
5.3. Limitations and Future Research
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wang, S.; Asif, M.; Shahzad, M.F.; Ashfaq, M. Data privacy and cybersecurity challenges in the digital transformation of the banking sector. Comput. Secur. 2024, 147, 104051. [Google Scholar] [CrossRef]
- Lientz, B.; Swanson, E. Software Maintenance Management. IEE Proc. E Comput. Digit. Tech. 1980, 127. [Google Scholar] [CrossRef]
- Delladetsimas, A.P.; Papangelou, S.; Iosif, E.; Giaglis, G. Integrating Blockchains with the IoT: A Review of Architectures and Marine Use Cases. Computers 2024, 13, 329. [Google Scholar] [CrossRef]
- Lano, K.; Haughton, H.; Yuan, Z.; Alfraihi, H. Program Abstraction and Re-Engineering: An Agile MDE Approach. In Proceedings of the 2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C), Västerås, Sweden, 1–6 October 2023; pp. 211–220. [Google Scholar] [CrossRef]
- Al-Kfairy, M. Strategic Integration of Generative AI in Organizational Settings: Applications, Challenges and Adoption Requirements. In IEEE Engineering Management Review; IEEE: Piscataway, NJ, USA, 2025. [Google Scholar] [CrossRef]
- Ali, A.; Shah, M.; Foster, M.; Alraja, M.N. Cybercrime Resilience in the Era of Advanced Technologies: Evidence from the Financial Sector of a Developing Country. Computers 2025, 14, 38. [Google Scholar] [CrossRef]
- Vinay, T.R.; Chikkamannur, A.A. A Machine Learning Technique for Abstraction of Modules in Legacy System and Assigning them on Multicore Machines Using and Controlling p-threads. Int. J. Recent Innov. Trends Comput. Commun. 2022, 10, 21–25. [Google Scholar] [CrossRef]
- Mateus, B.G.; Martinez, M.; Kolski, C. Learning migration models for supporting incremental language migrations of software applications. Inf. Softw. Technol. 2023, 153, 107082. [Google Scholar] [CrossRef]
- Teale, C. Government Runs on a 64-Year-Old Language. Could AI Help Change That? Route Fifty. Available online: https://www.route-fifty.com/emerging-tech/2023/11/government-runs-64-year-old-language-could-ai-help-change/392380/ (accessed on 4 March 2025).
- Informatics. Available online: https://www.mdpi.com/journal/informatics/sections/human-computer_interaction (accessed on 5 May 2025).
- Hall, C. No, COBOL Is Not a Dead Language. Available online: https://www.datacenterknowledge.com/build-design/no-cobol-is-not-a-dead-language (accessed on 4 March 2025).
- Swanson, E.B. How information systems came to rule the world: Reflections on the information systems field. Inf. Soc. 2020, 36, 109–123. [Google Scholar] [CrossRef]
- The White House. Establishing and Implementing the President’s “Department of Government Efficiency”. Available online: https://www.whitehouse.gov/presidential-actions/2025/01/establishing-and-implementing-the-presidents-department-of-government-efficiency/ (accessed on 20 March 2025).
- Hon, D. From COBOL to Chaos: Elon Musk, DOGE, and the Evil Housekeeper Problem. MIT Technology Review. Available online: https://www.technologyreview.com/2025/02/07/1111283/elon-musk-doge-and-the-evil-housekeeper-problem-government-technology/ (accessed on 4 March 2025).
- Elahi, M.; Afolaranmi, S.O.; Lastra, J.L.M.; Garcia, J.A.P. A comprehensive literature review of the applications of AI techniques through the lifecycle of industrial equipment. Discov. Artif. Intell. 2023, 3, 43. [Google Scholar] [CrossRef]
- Diamanti, A.; Vilchez, J.M.S.; Secci, S. An AI-Empowered Framework for Cross-Layer Softwarized Infrastructure State Assessment. IEEE Trans. Netw. Serv. Manag. 2022, 19, 4434–4448. [Google Scholar] [CrossRef]
- Terry, S.; Chandrasekar, V. Developing a model that supports the evolution of legacy systems into an enterprise. Syst. Eng. 2023, 26, 859–873. [Google Scholar] [CrossRef]
- Smith, Q.-J.; Valverde, R. A perceptron based neural network data analytics architecture for the detection of fraud in credit card transactions in financial legacy systems. WSEAS Trans. Syst. Control 2021, 16, 358–374. [Google Scholar] [CrossRef]
- Mazzara, M.; Dragoni, N.; Bucchiarone, A.; Giaretta, A.; Larsen, S.T.; Dustdar, S. Microservices: Migration of a Mission Critical System. IEEE Trans. Serv. Comput. 2021, 14, 1464–1477. [Google Scholar] [CrossRef]
- Aslam, K.; Cleophas, L.; Schiffelers, R.; van den Brand, M. Interface protocol inference to aid understanding legacy software components. Softw. Syst. Model. 2020, 19, 1519–1540. [Google Scholar] [CrossRef]
- Valero, C.I.; Pla, E.I.; Vaño, R.; Garro, E.; Boronat, F.; Palau, C.E. Design and development of an aiot architecture for introducing a vessel eta cognitive service in a legacy port management solution. Sensors 2021, 21, 8133. [Google Scholar] [CrossRef]
- Katuu, S. Enterprise Resource Planning: Past, Present, and Future. New Rev. Inf. Netw. 2020, 25, 37–46. [Google Scholar] [CrossRef]
- Sullivan, C.; Wong, I.; Adams, E.; Fahim, M.; Fraser, J.; Ranatunga, G.; McNeil, K. Moving Faster than the COVID-19 Pandemic: The Rapid, Digital Transformation of a Public Health System. Appl. Clin. Inform. 2021, 12, 229–236. [Google Scholar] [CrossRef] [PubMed]
- Cazzola, W.; Favalli, L. Software modernization powered by dynamic language product lines. J. Syst. Softw. 2024, 218, 112188. [Google Scholar] [CrossRef]
- Bhumichai, D.; Smiliotopoulos, C.; Benton, R.; Kambourakis, G.; Damopoulos, D. The Convergence of Artificial Intelligence and Blockchain: The State of Play and the Road Ahead. Information 2024, 15, 268. [Google Scholar] [CrossRef]
- Ntafalias, A.; Tsakanikas, S.; Skarvelis-Kazakos, S.; Papadopoulos, P.; Skarmeta-Gómez, A.F.; González-Vidal, A.; Vlachou, M.C. Design and Implementation of an Interoperable Architecture for Integrating Building Legacy Systems into Scalable Energy Management Systems. Smart Cities 2022, 5, 1421–1440. [Google Scholar] [CrossRef]
- Asif, R.; Ghanem, K.; Irvine, J. Proof-of-puf enabled blockchain: Concurrent data and device security for internet-of-energy. Sensors 2021, 21, 28. [Google Scholar] [CrossRef]
- Brataas, G.; Martini, A.; Hanssen, G.K.; Ræder, G. Agile elicitation of scalability requirements for open systems: A case study. J. Syst. Softw. 2021, 182, 111064. [Google Scholar] [CrossRef]
- Nerur, S.; Mahapatra, R.; Mangalaraj, G. Challenges of Migrating to Agile Methodologies. Commun. ACM 2005, 48, 72–78. [Google Scholar] [CrossRef]
- Catherine; Trisaktyo, J.D.; Ranas, T.; Rasyiid, M.; Shihab, M.R. Embracing Agile Development Principles in an Organization using the Legacy System: The Case of Bank XYZ in Indonesia. In Proceedings of the 6th International Conference on Computing, Engineering, and Design, ICCED 2020, Sukabumi, Indonesia, 15–16 October 2020. [Google Scholar] [CrossRef]
- Parrish, M.D.; Corns, S. An AI-Based Conceptual Framework to Improve Program Management of Complex Systems. In IEEE Engineering Management Review; IEEE: Piscataway, NJ, USA, 2024; pp. 1–13. [Google Scholar] [CrossRef]
- Peters, A. What Will It Take to Stop Elon Musk and DOGE? Fast Company. Available online: https://www.fastcompany.com/91272862/what-will-it-take-to-stop-elon-musk-and-doge (accessed on 20 March 2025).
- The White House. Implementing the President’s ‘Department of Government Efficiency’ Cost Efficiency Initiative. Available online: https://www.whitehouse.gov/presidential-actions/2025/02/implementing-the-presidents-department-of-government-efficiency-cost-efficiency-initiative/ (accessed on 26 February 2025).
- Hamill, J. Elon Musk Hints at Plan to Sink DOGE’s Teeth into Legacy Tech. The Stack. Available online: https://www.thestack.technology/elon-musk-hints-at-plan-to-sink-doges-teeth-into-legacy-tech/ (accessed on 5 March 2025).
- Sullivan, K.; Duffy, C.; Bradner, E. Trump and Musk Host Friendly Conversation on X After Delay from Technical Difficulties. Available online: https://www.cnn.com/2024/08/12/politics/elon-trump-twitter-interview-x/index.html (accessed on 20 March 2025).
- Musk, E. The Government Runs on Ancient Computers & Software. Needs an Upgrade! Twitter. Available online: https://x.com/elonmusk/status/1858266013197885723 (accessed on 5 March 2025).
- U. S. Government Account. ‘Information Technology: Agencies Need to Continue Addressing Critical Legacy Systems’, U.S. Government Accountability Office. Available online: https://www.gao.gov/products/gao-23-106821 (accessed on 5 March 2025).
- Burman, T. Social Security’s COBOL Software Comes Under Scrutiny. Newsweek. Available online: https://www.newsweek.com/social-security-cobol-software-doge-elon-musk-2032680 (accessed on 5 March 2025).
- U.S. General Services Administration. Use of Artificial Intelligence at GSA. Available online: https://www.gsa.gov/directives-library/use-of-artificial-intelligence-at-gsa (accessed on 6 July 2024).
- Shrivastava, R. The Prompt: Elon Musk’s DOGE Plans to Feed Federal Data into AI Models. Forbes. Available online: https://www.forbes.com/sites/rashishrivastava/2025/02/25/the-prompt-elon-musks-doge-plans-to-feed-federal-data-into-ai-models/ (accessed on 6 March 2025).
- Kube, C.; Tsirkin, J.; Alcindor, Y.; Strickler, L.; Gregorian, D. DOGE Will Use AI to Assess the Responses of Federal Workers Who Were Told to Justify Their Jobs via Email. NBC News. Available online: https://www.nbcnews.com/politics/doge/federal-workers-agencies-push-back-elon-musks-email-ultimatum-rcna193439 (accessed on 6 March 2025).
- Merchant, B. What’s Really Behind Elon Musk and DOGE’s AI Schemes’. Available online: https://www.bloodinthemachine.com/p/whats-really-behind-elon-musk-and (accessed on 6 March 2025).
- Kelly, M. Elon Musk Ally Tells Staff ‘AI-First’ Is the Future of Key Government Agency. Wired, 2025. Available online: https://www.wired.com/story/elon-musk-lieutenant-gsa-ai-agency/ (accessed on 6 March 2025).
- Green, B. DOGE Plan to Push AI Across the US Federal Government is Wildly Dangerous. Tech Policy Press. Available online: https://techpolicy.press/doge-plan-to-push-ai-across-the-us-federal-government-is-wildly-dangerous (accessed on 7 March 2025).
- Castro, D. After DOGE: Trump’s Chance to Modernize. Mar. 2025. Available online: https://itif.org/publications/2025/03/05/after-doge-trumps-chance-to-modernize/ (accessed on 7 March 2025).
- Wong, M. DOGE’s Plans to Replace Humans with AI Are Already Under Way. The Atlantic. Available online: https://www.theatlantic.com/technology/archive/2025/03/gsa-chat-doge-ai/681987/ (accessed on 16 March 2025).
- Page, M.J.; McKenzie, J.E.; Bossuyt, P.M.; Boutron, I.; Hoffmann, T.C.; Mulrow, C.D.; Moher, D. The PRISMA 2020 statement: An updated guideline for reporting systematic reviews. BMJ 2021, 372, n71. [Google Scholar] [CrossRef] [PubMed]
- Reis, J.; Santo, P.E.; Melao, N. Impacts of artificial intelligence on public administration: A systematic literature review. In Proceedings of the Iberian Conference on Information Systems and Technologies, CISTI, Coimbra, Portugal, 19–22 June 2019. [Google Scholar] [CrossRef]
- Moser-Plautz, B.; Hohensinn, L. Digital government transformation as an organizational response to the COVID-19 pandemic. Gov. Inf. Q. 2023, 40, 101815. [Google Scholar] [CrossRef] [PubMed]
- Paez, A. Gray literature: An important resource in systematic reviews. J. Evid.-Based Med. 2017, 10, 233–240. [Google Scholar] [CrossRef]
- Hepplestone, S.; Holden, G.; Irwin, B.; Parkin, H.; Thorpe, L. Using technology to encourage student engagement with feedback: A literature review. Res. Learn. Technol. 2011, 19, 117–127. [Google Scholar] [CrossRef]
- Abdillah, A.; Widianingsih, I.; Buchari, R.A.; Nurasa, H. The knowledge-creating company: How Japanese companies create the dynamics of innovation. In Learning: Research and Practice; Nonaka, I., Takeuchi, H., Eds.; Oxford University Press: New York, NY, USA, 1995; Volume 10, pp. 121–123. [Google Scholar] [CrossRef]
- Wiig, K.M. Knowledge Management Foundations: Thinking About Thinking: How People and Organizations Create, Represent and Use Knowledge; Schema Press: Arlington, TX, USA, 1993. [Google Scholar]
- Choo, C. The Knowing Organization; Oxford Academic: New York, NY, USA, 2005; pp. 1–28. [Google Scholar] [CrossRef]
- Associated Press. Elon Musk Gives Hazy Answers as He Prepares to Wind Down DOGE. Broadband Breakfast. Available online: https://broadbandbreakfast.com/elon-musk-gives-hazy-answers-as-he-prepares-to-wind-down-doge/ (accessed on 2 May 2025).
Agency | System Description | Had Modernization Plan with Key Elements, as of June 2019? | Has Addressed Incomplete Elements of Modernization Plan, as of May 2023? |
---|---|---|---|
Department of Defense | A maintenance system that supports wartime readiness, among other things | Yes. Agency included all elements in its modernization plan | Not applicable |
Department of Education | A system that contains student information | No. Agency did not have a documented modernization plan | Yes. Agency included all elements in its modernization plan |
Department of Health and Human Services | An information system that supports clinical and patient administrative activities | No. Agency did not have a documented modernization plan | Yes. Agency included all elements in its modernization plan |
Department of Homeland Security | A network that consists of routers, switches, and other network appliances | Partial. Agency had a modernization plan but it did not include milestones or the disposition of the legacy system | Yes. Agency included all elements in its modernization plan |
Department of the Interior | A system that supports the operation of certain dams and power plants | Yes. Agency included all elements in its modernization plan | Not applicable |
Department of the Treasury | A system that contains taxpayer information | Partial. Agency had a modernization plan but it did not fully include milestones and it did not include the disposition of the legacy system | Yes. Agency included all elements in its modernization plan |
Department of Transportation | A system that contains information on aircraft | No. Agency did not have a documented modernization plan | No. In April 2022, agency officials informed us that they expected to go live with the modernized system in the fall of 2022; however, as of May 2023, we have not received documented plans for this modernization effort |
Office of Personnel Management | Hardware, software, and service components that support information technology applications and services | Partial. Agency had a modernization plan but it did not fully include milestones or work necessary, and it did not include the disposition of the legacy system | No. As of May 2023, we have not received evidence that the agency has developed a comprehensive modernization plan for this system |
Small Business Administration | A system that controls access to applications | Partial. Agency had a modernization plan but it did not include the work necessary | Yes. Agency included all elements in its modernization plan |
Social Security Administration | A group of systems that contain information on Social Security beneficiaries | Partial. Agency had a modernization plan but it did not fully include milestones or work necessary, and it did not include the disposition of the legacy system | Yes. Agency included all elements in its modernization plan |
Inclusion Criteria | Exclusion Criteria |
---|---|
Published in English or Portuguese | Published in languages other than English or Portuguese |
Published between 2020 and 2025 | Not published between 2020 and 2025 |
Classified as peer-reviewed journal articles, conference papers, or reviews | Not classified as a peer-reviewed article, conference paper, or review |
Focused on legacy system modernization | Lacked relevant insights into legacy system modernization |
Addressed AI and Agile applications in legacy system modernization | Did not focus on AI and Agile applications in legacy system modernization |
Resume of Relevant Categories | Main Authors |
---|---|
Advantages of AI in modernization: AI improves productivity, reduces costs, and automates knowledge extraction, helping mitigate skill shortages in legacy system migration | [15] |
Challenges in AI and Agile integration for legacy systems: Concerns over cybersecurity risks, interoperability issues, and organizational resistance create barriers to seamless AI and Agile adoption | [1,26] |
Scalability and feasibility of AI and Agile frameworks: The large-scale adoption of AI and Agile is limited by unresolved issues in standardization, data sharing, and system interoperability. Many frameworks remain in pilot stages | [27] |
Knowledge retention and transition from Waterfall to Agile: Waterfall ensures structured documentation but limits adaptability. Agile supports collaboration but risks knowledge loss without proper transition strategies. Hybrid models are needed | [4,29] |
Impact Levels | Key Aspects of Modernization | Findings from the Gray Literature (DOGE Case) | Pros of AI and Agile Modernization | Cons of AI and Agile Modernization | Main Authors |
---|---|---|---|---|---|
Technical Level | Security and Compliance | Removal of ATO security mechanisms in government IT increased cybersecurity risks [14]. DOGE’s Agile-first approach accelerated processes but weakened regulatory compliance, exposing systems to vulnerabilities [46]. | AI-driven frameworks enhance fraud detection and automate risk assessments [26]. Machine learning models improve vulnerability detection [43]. Agile enables continuous security updatesm [26]. | Over-reliance on AI for security decisions increases false positives/negatives [46]. | [14,26,43,46] |
System Interoperability | DOGE introduced AI automation in legacy systems, but compatibility issues with COBOL-based architectures led to operational failures [46]. | AI enhances interoperability through intelligent middleware and APIs, allowing modern platforms to interact with legacy systems. Digital Twin technology enables modernization without full replacements [15]. | Lack of transition planning led to system failures. Heavy reliance on third-party AI-driven solutions increased costs and maintenance Complexity [15,46]. | [15,46] | |
Organizational Level | Knowledge Retention and Workforce | AI evaluated workforce productivity and redundancies, improving knowledge transfer but raising ethical concerns over job losses [41]. | AI facilitates knowledge capture and sharing, improving workforce training and reducing institutional knowledge loss. Agile methodologies enable continuous adaptation [28]. | AI bias in workforce evaluations led to unfair layoffs. Over-reliance on AI automation reduced human oversight in personnel decisions [15]. | [15,28,41] |
AI-Driven Decision-Making | DOGE automated hiring, budgeting, and contract oversight to improve efficiency but faced transparency issues [46]. The AI-first strategy reinforced automation in governance [43]. | AI enhances bureaucratic efficiency, streamlining processes and enabling predictive analytics for better decision-making [17]. | AI’s bias and lack of interpretability raise ethical concerns, limiting accountability in automated decisions [15,17]. | [15,17,43,46] | |
Cost Efficiency and Bureaucratic Optimization | The GSA chatbot automated administrative tasks, reducing costs but causing unintended workforce reductions [46]. | AI optimizes resource allocation and improves public service efficiency [15]. | [15,46] |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Melo, I.; Polónia, D.; Teixeira, L. Human–AI Collaboration in the Modernization of COBOL-Based Legacy Systems: The Case of the Department of Government Efficiency (DOGE). Computers 2025, 14, 244. https://doi.org/10.3390/computers14070244
Melo I, Polónia D, Teixeira L. Human–AI Collaboration in the Modernization of COBOL-Based Legacy Systems: The Case of the Department of Government Efficiency (DOGE). Computers. 2025; 14(7):244. https://doi.org/10.3390/computers14070244
Chicago/Turabian StyleMelo, Inês, Daniel Polónia, and Leonor Teixeira. 2025. "Human–AI Collaboration in the Modernization of COBOL-Based Legacy Systems: The Case of the Department of Government Efficiency (DOGE)" Computers 14, no. 7: 244. https://doi.org/10.3390/computers14070244
APA StyleMelo, I., Polónia, D., & Teixeira, L. (2025). Human–AI Collaboration in the Modernization of COBOL-Based Legacy Systems: The Case of the Department of Government Efficiency (DOGE). Computers, 14(7), 244. https://doi.org/10.3390/computers14070244