Using a Feedback Loop for LLM-based Infrastructure as Code Generation

Code generation with Large Language Models (LLMs) has helpedto increase software developer productivity in coding tasks, but hasyet to have significant impact on the tasks of software developersthat surround this code. In particular, the challenge of infrastructuremanagement remains an open question. We investigate the abilityof an LLM agent to construct infrastructure using the Infrastructureas Code (IaC) paradigm. We particularly investigate the use of afeedback loop that returns errors and warnings on the generatedIaC to allow the LLM agent to improve the code. We find that, foreach iteration of the loop, its effectiveness decreases exponentiallyuntil it plateaus at a certain point and becomes ineffective.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2024-12-01
DOI
https://doi.org/10.5281/zenodo.14279491
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using a Feedback Loop for LLM-based Infrastructure as Code Generation

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

Using a Feedback Loop for LLM-based Infrastructure as Code Generation

article en

Abstract

Code generation with Large Language Models (LLMs) has helpedto increase software developer productivity in coding tasks, but hasyet to have significant impact on the tasks of software developersthat surround this code. In particular, the challenge of infrastructuremanagement remains an open question. We investigate the abilityof an LLM agent to construct infrastructure using the Infrastructureas Code (IaC) paradigm. We particularly investigate the use of afeedback loop that returns errors and warnings on the generatedIaC to allow the LLM agent to improve the code. We find that, foreach iteration of the loop, its effectiveness decreases exponentiallyuntil it plateaus at a certain point and becomes ineffective.

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Openalex Percentile: Top 45%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Using a Feedback Loop for LLM-based Infrastructure as Code Generation · Zenodo (CERN European Organization for Nuclear Research) (2024) | TGRS Research Map | TGRS