Legacy-Modernization-Agents
AI-powered COBOL to Java Quarkus modernization agents using Microsoft Agent Framework. Automates legacy mainframe code modernization with intelligent agents for
What is Legacy-Modernization-Agents?
AI-powered COBOL to Java Quarkus modernization agents using Microsoft Agent Framework. Automates legacy mainframe code modernization with intelligent agents for analysis, conversion, and dependency mapping.
Overview of Legacy-Modernization-Agents
What it is
Legacy Modernization Agents is an open-source migration framework that uses AI agents to convert legacy COBOL code to Java Quarkus or C# .NET. It is built on the Microsoft Agent Framework and supports multiple AI providers: Azure OpenAI (Responses API + Chat Completions), GitHub Copilot (PAT or CLI-based SDK), and direct OpenAI. The framework analyzes COBOL code and its dependencies, then performs the conversion.
Key features
- Multi-provider AI support: Azure OpenAI, GitHub Copilot, and OpenAI - Automatic parsing of COBOL programs, copybooks, BMS maps, CICS definitions, and JCL jobs - Conversion to either Java Quarkus or C# .NET (user's choice)
- Dependency mapping and carve-out planning via Estate Mission Control - JCL job generation without calling a model - Real-time portal for migration progress, dependency graphs, and AI-powered Q&A - All processing runs locally except model prompts
Use cases
- Modernizing legacy mainframe COBOL applications to cloud-native Java or C# - Incremental migration of specific program slices based on dependency analysis - Reverse engineering COBOL business logic without full conversion - Generating executable JCL jobs from legacy job definitions
Getting started
Before running any model calls, sign in to your chosen AI provider:
- For Azure OpenAI / Azure AI Foundry:
az login(add--tenantif needed) - For GitHub Copilot SDK:
copilot loginor setCOPILOT_GITHUB_TOKENThen run these commands from the repository root:./doctor.sh setup ./doctor.sh rekt-full ./doctor.sh portalOpen http://localhost:5028 in your browser. Use Estate Mission Control to select a slice and convert it with./doctor.sh convert-only --program.
License and pricing
This project is licensed under the MIT License. It is open source and free to use.
Based on the project's public README and repository metadata.