LLM Agents for Generating Microservice-based Applications: how complex is your specification?
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
In this paper we evaluate the capabilities of LLM Agents in generating code for real-world problems. Specifically, we explore code synthesis for microservice-based applications, a widely used architectural pattern for building applications. We define a standard template for specifying these applications, and we propose a metric for scoring the difficulty of a specification. The higher the score, the more difficult it is to generate code for the specification. Our experimental results show that agents using strong LLMs (like GPT-3o-mini) do fairly well on medium difficulty specifications but do poorly on those of higher difficulty levels. This is due to more intricate business logic, a greater use of external services, database integration and inclusion of non-functional capabilities such as authentication. We analyzed the errors in LLM-synthesized code and report on the key challenges LLM Agents face in generating code for these specifications. Finally, we show that using a fine-grained approach to code generation improves the correctness of the generated code.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 48 references that are in the map. First posted on arXiv 22 Aug 2025.
Builds on
23 of 48 references.
Closest ancestors · 3
Same direction, newest first
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
- 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMscited by 61
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 57
8 more
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2025Type-Constrained Code Generation with Language Modelscited by 32
- 2024Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?cited by 19
- 2024Harnessing LLMs for API Interactions: A Framework for Classification and Synthetic Data Generationcited by 17
- 2024GitChameleon: Unmasking the Version-Switching Capabilities of Code Generation Modelscited by 6
- 2024Control Large Language Models via Divide and Conquercited by 5
- 2024AutoFeedback: An LLM-based Framework for Efficient and Accurate API Request Generationcited by 3
- 2025How Robust are LLM-Generated Library Imports? An Empirical Study using Stack Overflowcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025A Survey on Code Generation with LLM-based Agents
- 2025From Specification to Service: Accelerating API-First Development Using Multi-Agent Systems
- 2026Can AI Agents Generate Microservices? How Far are We?
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future
- 2025Agentic Specification Generator for Move Programs
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review
- 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation
- 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generation