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 --tenant if needed)
  • For GitHub Copilot SDK: copilot login or set COPILOT_GITHUB_TOKEN Then run these commands from the repository root: ./doctor.sh setup ./doctor.sh rekt-full ./doctor.sh portal Open 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.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/azure-sampleslegacy-modernization-agents.svg)](https://yunodb.com/tools/azure-sampleslegacy-modernization-agents?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/azure-sampleslegacy-modernization-agents?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/azure-sampleslegacy-modernization-agents.svg" alt="Featured on YunoDB" height="20"></a>