Using a Feedback Loop for LLM-based Infrastructure as Code Generation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 8 of its 21 references that are in the map. First posted on arXiv 28 Nov 2024.
Builds on
8 of 21 references.
References · 8
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 197
- 2023RTLFixer: Automatically Fixing RTL Syntax Errors with Large Language Modelscited by 100
- 2024SynCode: LLM Generation with Grammar Augmentationcited by 69
- 2024Grammar-Aligned Decodingcited by 54
- 2024A Survey of using Large Language Models for Generating Infrastructure as Codecited by 10
- 2024Statically Inferring Usage Bounds for Infrastructure as Codecited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometrycited by 7
- 2026TerraFormer: Automated Infrastructure-as-Code with LLMs Fine-Tuned via Policy-Guided Verifier Feedbackcited by 5
- 2025ARPaCCino: An Agentic-RAG for Policy as Code Compliancecited by 4
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulationcited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026TerraFormer: Automated Infrastructure-as-Code with LLMs Fine-Tuned via Policy-Guided Verifier Feedback13 Jan 2026
- 2025ARPaCCino: An Agentic-RAG for Policy as Code Compliance11 Jul 2025
- 2025Deployability-Centric Infrastructure-as-Code Generation: Fail, Learn, Refine, and Succeed through LLM-Empowered DevOps Simulation5 Jun 2025
- 2025Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometry20 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025A Survey on Code Generation with LLM-based Agents
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2025Beyond Code Generation: LLM-supported Exploration of the Program Design Space
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML