Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Development of an AI-driven DevOps Engineer: Automating Workflows with an LLM based Multi-Agent System
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Utveckling av en AI-driven DevOps-ingenjör : Automatisering av arbetsflöden med ett LLM-baserat multiagentsystem (Swedish)
Abstract [en]

In today’s fast-paced software engineering landscape, achieving reliable development and maintaining DevOps workflows has become increasingly challenging. These workflows often require manual configuration of pipelines, containerisation, and cloud deployment, which include repetitive, error-prone, and time-consuming tasks. This thesis investigates how Large Language Models (LLMs) and AI agents can be used to automate these workflows and addresses the challenge of creating an adaptive system that can interpret natural language input and automate complex DevOps tasks. The study explores three system versions: a script-based system, a single-agent architecture with reasoning capabilities, and a modular multi-agent system including specialised agent roles for reasoning, prompt engineering, and error reflection. The systems were evaluated through a series of 12 representative DevOps tasks, where functionality, accuracy, efficiency, and reliability have been measured under controlled conditions. The results show that the multi-agent system achieved the highest task success rate (86.11%), significantly reduced execution times, and achieved a lower error rate. This work demonstrates that incorporating ReAct-style reasoning, agent-based reasoning and modular design into DevOps automation not only enhances performance and adaptability but also maintains transparency and user oversight. The findings showcase the importance of human-in-the-loop control, where the user becomes a part of the automation process, for safety and trust in AI-driven automation. Overall, this thesis provides a foundation for developing an AI DevOps Engineer, including insights into system design, evaluation methodology, and the impact of prompt engineering.

Abstract [sv]

I dagens snabbrörliga landskap inom programvaruutveckling har det blivit alltmer utmanande att uppnå tillförlitlig utveckling och att upprätthålla DevOps-arbetsflöden. Dessa arbetsflöden kräver ofta manuell konfiguration av pipelines, containerisering och molndistribution, vilket innefattar repetitiva, felbenägna och tidskrävande uppgifter. Denna avhandling undersöker hur stora språkmodeller (LLMs) och AI-agenter kan användas för att automatisera dessa arbetsflöden och adresserar utmaningen att skapa ett adaptivt system som kan tolka naturligt språk och automatisera komplexa DevOps-uppgifter. Studien utforskar tre systemversioner: ett skriptbaserat system, en enagentarkitektur med resonemangsförmåga samt ett modulärt multiagentsystem med specialiserade roller för resonemang, promptteknik och felreflektion. Systemen utvärderades genom en serie av 12 representativa DevOps-uppgifter, där funktionalitet, noggrannhet, effektivitet och tillförlitlighet mättes under kontrollerade förhållanden. Resultaten visar att multiagentsystemet uppnådde den högsta framgångsgraden för uppgifterna (86,11 %), signifikant minskade exekveringstiderna och uppnådde en lägre felfrekvens. Detta arbete visar att införandet av ReAct-liknande resonemang, agent-baserat resonemang och modulär design i DevOps-automation inte bara förbättrar prestanda och anpassningsförmåga utan också bibehåller transparens och användarens kontroll. Resultaten belyser vikten av människa-i-loopen-styrning, där användaren blir en del av automatiseringsprocessen, för att säkerställa säkerhet och förtroende för AI-drivna automationer. Sammantaget utgör denna avhandling en grund för utvecklingen av en AI DevOps-ingenjör och erbjuder insikter i systemdesign, utvärderingsmetodik och promptteknikens inverkan.

Place, publisher, year, edition, pages
2025. , p. 69
Series
TRITA-EECS-EX ; 2025:521
Keywords [en]
Large Language Models, AI Agents, Multi-Agent Systems, DevOps Automation, ReAct-style reasoning, Human-in-the-loop control, Prompt Engineering, Software Development, Cloud Deployment
Keywords [sv]
Stora språkmodeller, AI-agenter, Multiagentsystem, DevOps-automation, ReAct-liknande resonemang, Människa-i-loopen-styrning, Promptteknik, Programvaruutveckling, Molndistribution
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-368188OAI: oai:DiVA.org:kth-368188DiVA, id: diva2:1987584
External cooperation
Knowit Connectivity
Supervisors
Examiners
Available from: 2025-08-11 Created: 2025-08-06 Last updated: 2025-09-05Bibliographically approved

Open Access in DiVA

fulltext(3534 kB)2002 downloads
File information
File name FULLTEXT01.pdfFile size 3534 kBChecksum SHA-512
4c0afc931229e4ea33bdc7bd20d9b8544e0a353056e1337f7161771b5ae6734ccfe26d5e34293201a3ad90387ca45b4da735044d37049c66561910cffaacc4dd
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 2005 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 3371 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf