MicroAgent: Context-Augmented Multi-Agent Framework for Automatic Microservice Decomposition
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
The adoption of Microservice Architecture (MSA) has revolutionized software engineering by enhancing scalability, agility, and maintainability over traditional monolithic applications. As more developers transition their legacy systems to microservice-based architectures, effective microservice decomposition-partitioning monolithic applications into highly cohesive services-becomes vital. However, this decomposition task presents significant challenges. Manual approaches are time-consuming and labor-intensive. Existing automated methods often fail to capture the necessary semantic insights from complex applications, while naive applications of Large Language Models tend to overlook crucial contextual information and design principles, leading to suboptimal results. To address these challenges, we propose MicroAgent, a Context-Augmented Multi-Agent Framework for Microservice Decomposition. Our framework divides the decomposition process into five distinct subtasks and assigns each to a specialized agent. To enhance the effectiveness of each agent, we provide tailored, multi-granularity context that keeps its analysis focused and mitigates information overload. Furthermore, to ensure the decomposition adheres to established design principles, we integrate analytical tools that guide the agents' decision-making. Experimental evaluations on 10 Java Web applications demonstrate that MicroAgent achieves an average decomposition accuracy of 89.2%, outperforming the state-of-the-art method by 24.6%. We also conduct a case study to highlight the practical benefits of our design.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 11 of its 49 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
11 of 49 references.
References · 11
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 181
- 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigationcited by 93
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
- 2022Alleviating the Sample Selection Bias in Few-shot Learning by Removing Projection to the Centroidcited by 20
- 2021Graph Neural Network to Dilute Outliers for Refactoring Monolith Applicationcited by 9
- 2022CARGO: AI-Guided Dependency Analysis for Migrating Monolithic Applications to Microservices Architecturecited by 5
- 2025Contrastive Learning-Enhanced Large Language Models for Monolith-to-Microservice Decompositioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Moving From Monolithic To Microservices Architecture for Multi-Agent Systems
- 2026Beyond Local Code Optimization: Multi-Agent Reasoning for Software System Optimization
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediation
- 2026Designing Intelligent Enterprise Agents: A Capability-Aligned Multi-Agent Architecture
- 2026Can AI Agents Generate Microservices? How Far are We?
- 2025Enabling Autonomic Microservice Management through Self-Learning Agents
- 2025Agentic Services Computing
- 2026Making OpenAPI Documentation Agent-Ready: Detecting Documentation and REST Smells with a Multi-Agent LLM System