Discover and explore top open-source AI tools and projects—updated daily.
spring-cloud-alibaba-groupAutomated microservice decomposition for Java monoliths
Top 80.3% on SourcePulse
Summary
MicroWeaver automates the decomposition of monolithic Java applications into microservices. It targets engineers and researchers modernizing legacy systems, offering a hybrid AI-driven approach that simplifies the transition and provides structured evaluation and visualization.
How It Works
MicroWeaver employs a hybrid analysis strategy, integrating static code analysis and dynamic dependency tracing with machine learning. It uses Graph Neural Networks (GNNs) for encoding code structure and LLM embeddings for semantic understanding. This is followed by constraint optimization and optional LLM Agent refinement for optimal microservice partitioning, aiming for high cohesion and low coupling.
Quick Start & Requirements
conda env create -f environment.yml, conda activate MicroWeaver), and configure LLM API keys (e.g., export DASHSCOPE_API_KEY=your-dashscope-api-key). For Linux/macOS, bash run.sh executes the full pipeline for sample applications. Alternatively, individual phases can be run using Python modules (e.g., python -m microweaver.input_builder.main) after setting environment variables like APP_NAME and NUM_CLUSTERS../mvnw package) is optional but recommended for input building.Highlighted Details
Maintenance & Community
No specific details regarding maintenance status, notable contributors, sponsorships, or community channels (e.g., Discord, Slack) are provided in the README.
Licensing & Compatibility
The license type and any compatibility notes for commercial use or closed-source linking are not specified in the README.
Limitations & Caveats
The README does not explicitly detail limitations, alpha status, or known bugs. Decomposition effectiveness depends on static/dynamic analysis quality and LLM semantic understanding.
6 months ago
Inactive
WebAssembly
HKUDS