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

Mayur Amarnath Palavalli, Mark Santolucito
11/28/2024
cs.SEcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Code generation with Large Language Models (LLMs) has helped to increase software developer productivity in coding tasks, but has yet to have significant impact on the tasks of software developers that surround this code. In particular, the challenge of infrastructure management remains an open question. We investigate the ability of an LLM agent to construct infrastructure using the Infrastructure as Code (IaC) paradigm. We particularly investigate the use of a feedback loop that returns errors and warnings on the generated IaC to allow the LLM agent to improve the code. We find that, for each iteration of the loop, its effectiveness decreases exponentially until it plateaus at a certain point and becomes ineffective.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{palavalli2024using,
  title  = {Using a Feedback Loop for LLM-based Infrastructure as Code Generation},
  author = {Mayur Amarnath Palavalli and Mark Santolucito},
  year   = {2024},
  eprint = {2411.19043},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.19043v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.19043.svg)](https://codeofpaper.com/paper/2411.19043)

Discussion