Skip to content
Book Open access

Towards Reliable Agentic Infrastructure Provisioning with LLMs

Oct 2026 · Proceedings of the 2nd International Workshop on Multi-Agent Systems using Generative Artificial INtelligence for Automated Software Engineering · pp. 42-49 · 0 citations · 19 references

TL;DR

An LLM-based Infrastructure-as-Code workflow for Amazon Elastic Kubernetes Service (EKS) that combines retrieval-augmented generation (RAG) with a bounded validation-and-repair loop and shows that retrieval and repair have model-dependent effects.

Abstract

Kubernetes (K8s) is widely used to orchestrate containerized workloads, yet provisioning reliable and maintainable clusters requires substantial DevOps and cloud-infrastructure expertise. This paper presents an LLM-based Infrastructure-as-Code workflow for Amazon Elastic Kubernetes Service (EKS) that combines retrieval-augmented generation (RAG) with a bounded validation-and-repair loop. The workflow retrieves contextual examples from a curated Terraform knowledge base, generates infrastructure configurations, validates them, and returns recoverable errors to the model for correction. We evaluate the approach through two complementary studies. First, an exploratory infrastructure-provisioning benchmark assesses six commercial LLMs across five prompt variants using the complete retrieval-and-repair workflow to provision AWS EKS infrastructure. Second, a controlled 2 × 2 ablation independently enables and disables retrieval and iterative repair for three representative models. This ablation includes five prompt variants and three repetitions per model-condition combination, totaling 180 plan-only executions. Under the complete workflow, Terraform plan success reached 100% for Claude Opus 4.5, 93.3% for GPT-4.1, and 100% for Gemini 3.1 Pro, compared with one-shot baseline rates of 86.7%, 0%, and 46.7%, respectively. The results show that retrieval and repair have model-dependent effects, while their combination achieved the highest or joint-highest plan success for all reevaluated models.

Read PDF

Similar papers

Book Open access Oct 2026

Poliac: Production Observability for LLM-Based Infrastructure as Code

Infrastructure as Code (IaC) enables the automated provisioning of cloud infrastructures, yet syntactically valid configurations may remain unsuitable for the applications they support. Addressing such issues requires knowledge of both the infrastructure and its runtime behavior. We introduce POLIAC, an LLM-based frame...

Haitam El Hayani, Jolan Philippe, Stéphanie Challita · 0 citations
Preprint Sep 2026

Avatar: Toward Autonomous End-to-End Orchestration of Scientific Workflows using LLMs

This work presents Avatar, an actor-based architecture comprising an orchestrator, an executor, and a provenance monitor, and observes that Avatar's rule mode reproduces native execution, with a single unchanged core running all three.

Suman Raj, H. Nguyen, Haochen Pan et al. · 0 citations
Preprint Oct 2026

Engineering Sustainable Agents: A Systematic Comparison of Agentic LLMs for Developer Workflows

Large language models (LLMs) are increasingly used in software engineering, including agentic systems that coordinate multiple agents, but impose higher computational and environmental costs. In this paper, we present a comprehensive empirical study of agentic LLM systems across five software engineering tasks: code ge...

Merve Astekin, Yan Naing Tun, Arda Goknil et al. · 0 citations
Preprint Sep 2026

DeepSeek Elastic Compute (DSec): A Sandbox Infrastructure for Effective Agentic Training at Scale

Large-scale agentic training and evaluation with large language models (LLMs) rely on isolated, stateful execution environments in which models inspect repositories, invoke tools, execute commands, and interact with task-specific services. These workloads create sandboxes in large bursts, span heterogeneous functionali...

Jia-Liang Huang, Hong-Xuan Tang, Jing-Chang Chen et al. · 3 citations
#machine learning Preprint Oct 2026

CB-Orchestrator: Adaptive Workflow Optimization for LLM Agents via Contextual Bandits

Large Language Model (LLM) agents have demonstrated remarkable capabilities in tackling complex tasks through agentic workflows. However, manually designing these workflows is labor-intensive and lacks flexibility to adapt to diverse queries. While automated workflow optimization is a promising direction, existing meth...

Jia-Hang Sun, Zhi-Wei Shang, Zhi-Piao Liu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.