Skip to main content
Back

AI-Assisted Modernization of Legacy Mainframe Code

Accountable
Canada Revenue Agency (CRA)
Functional Modes
Deciding (Analytical AI)
Human decides
Purpose
Research & Development
Input Dataset
Operational data Anonymized data
Algorithm or Model
Classification & Prediction
Output Dataset
Operational data Anonymized data

This system uses AI to analyze the Canada Revenue Agency's legacy COBOL mainframe code, automatically identifying key components, generating documentation, and extracting business logic. It is used internally by CRA employees to help plan and carry out the modernization of aging government software. The system is currently a proof of concept and does not affect citizen-facing services or decisions.

Sources for this disclosure

This disclosure was drafted with AI assistance.

Schema: ai@2026-05-06-beta

Government of Canada – DTPR AI Register