← Latest papers
💻 computer science

A Grounded Multi Agent Framework for Human in the Loop Autonomous Cloud Deployment on AWS

This paper introduces Deplexify, a grounded multi-agent framework that combines deterministic static analysis with LLM-driven judgment to enable safe, human-in-the-loop autonomous cloud deployment on AWS, achieving high security and efficiency through a six-stage pipeline that generates optimized infrastructure code and enforces strict approval gates.

Original authors: Choudhry Shehryar¹, Jazib Umer¹, Ihtisham Ali²

Published 2026-11-25
📖 7 min read🧠 Deep dive

Original authors: Choudhry Shehryar¹, Jazib Umer¹, Ihtisham Ali²

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Modern software development has reached a point where writing the code for a website or application is often the easiest part of the job. The real challenge begins when a developer tries to move that code from a personal computer to a live, functioning system on the internet. This process, known as cloud deployment, requires making dozens of complex decisions about how to package the software, how to connect it to a network, how to secure it, and how much it will cost to run. For years, the industry has offered a shortcut: managed services that hide these details behind a simple interface. While convenient, these services often act as a black box, making it impossible for the user to see exactly what is being built or to control the costs before the bill arrives.

Researchers are now exploring a different path, one that uses artificial intelligence to handle the heavy lifting of deployment while keeping a human firmly in charge. This approach relies on a concept called "grounding," where an artificial intelligence is not allowed to guess facts but must instead rely on hard data gathered by specialized scanning tools. The goal is to create a system that can read a code repository, figure out the best way to run it, and prepare the necessary infrastructure, all while ensuring that a human reviews every major decision before it happens. This balance between automation and human oversight is critical because, while artificial intelligence is powerful, it can sometimes invent details that do not exist, a problem known as hallucination. In the high-stakes world of cloud computing, where a single mistake can lead to massive security breaches or unexpected costs, relying solely on an AI's guesswork is too risky.

A team of researchers from the Pak-Austria Fachhochschule has built a system called Deplexify to test this idea. Their work presents a framework that acts as an autonomous cloud engineer, but with strict rules. The system takes a link to a software project and begins a six-stage process to prepare it for deployment on Amazon Web Services. The first stage involves a deep scan of the code. Instead of letting an artificial intelligence guess what libraries the software uses or if there are any hidden passwords, the system uses deterministic scanners. These are specialized tools that read the code line by line to create a factual list of ingredients and a report on any security secrets that were accidentally left in the text. This factual report is then handed to a large language model, an advanced type of artificial intelligence, which uses the data to make judgment calls, such as deciding which type of computer server would be best for the job.

The system then moves to a cost estimation phase. It calculates how much it would cost to run the application using four different types of computing resources, ranging from small, event-driven functions to large, containerized servers. Crucially, the system does not just pick one option for the user. It presents all four options with their estimated monthly costs and waits for the human user to make a selection. This is the first of three mandatory checkpoints where a human must approve the plan. Once a choice is made, the system enters a refactoring stage. Here, the artificial intelligence suggests improvements to the code, such as adding a health check to ensure the application is running smoothly, and generates the necessary configuration files. These changes are not applied automatically; instead, the system creates a pull request, which is a formal proposal to change the code, and waits for the developer to review and approve it. This ensures that the human remains the final authority on what changes are made to their software.

After the code changes are approved, the system prepares a preview of the infrastructure that will be built. It simulates the creation of the network, the servers, and the security rules, showing the user exactly what resources will be created and how they will be connected. This is the second approval gate. Only after the human confirms this plan does the system proceed to the final stage: actual deployment. The system builds the application, pushes it to a secure container registry, and activates the infrastructure. Throughout this entire process, the system is designed to fail safely. If the artificial intelligence encounters a problem or cannot make a decision, the system has a fallback plan that relies on the deterministic data gathered earlier, ensuring that the process does not simply stop or produce garbage results.

The researchers tested this system rigorously to see how it performed against existing solutions. They found that the system could analyze a typical web application in about 47 seconds and that the time it took to read data from the system was extremely fast, at 38 milliseconds. When they tested the system's ability to handle security threats, they found that it successfully blocked 12 out of 13 different types of adversarial probes designed to trick the system or steal credentials. The one probe that got through was an authorization gap that the researchers identified and fixed during the testing phase. The system also demonstrated a high level of accuracy in generating the infrastructure code, with approximately 98 percent syntactic validity by construction, as its Terraform skeleton is a fixed template rather than a language-model generation.

When compared to seven popular commercial platforms that offer similar deployment services, Deplexify stood out for its transparency and control. While other platforms might deploy an application faster by hiding the underlying details, Deplexify provided a clear view of the costs and the infrastructure being built. The researchers noted that while the total time to deployment was longer than some automated services—taking about 11 minutes when including the time for human review—this was because the system was performing a much deeper analysis and generating a complete, inspectable infrastructure plan rather than just a quick container launch. The system was able to offer a choice between four different computing patterns, something that most other platforms do not provide, allowing the user to choose the most cost-effective option for their specific needs.

The study also explored the mathematical relationship between how much the artificial intelligence relies on real data versus how much it relies on its own internal knowledge. The researchers found that when the system is grounded in real scanner data, the probability of the artificial intelligence making up false information drops significantly. Even if the artificial intelligence model itself is not perfect, the system's reliance on hard facts keeps the overall error rate very low. This suggests that the key to safe autonomous deployment is not necessarily having a smarter artificial intelligence, but rather having a system that forces the intelligence to stick to the facts provided by reliable tools.

In the end, the researchers concluded that their approach offers a viable middle ground between the convenience of fully automated platforms and the total control of manual engineering. By grounding the artificial intelligence in deterministic data and placing human approval gates at the most critical decision points, the system can automate the complex and tedious parts of cloud deployment without sacrificing safety or transparency. The work does not claim to have solved every problem in cloud computing, and the researchers acknowledge that their system currently relies on a single server for processing and has not yet been tested in a large-scale user study. However, the results suggest that this method of combining artificial intelligence with strict human oversight and factual grounding is a promising direction for the future of software deployment, offering a way to make the cloud more accessible without making it a black box.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →