Mainframe modernization is the part of the industry that AI hype tends to bounce off, and rightly so. The systems are old, the languages are unfashionable, the stakes are high, the audit posture is unforgiving, and the people who genuinely understand the code are scarce and getting scarcer every year as the original developers retire. So when IBM positioned the latest watsonx Code Assistant for Z as agentic — not just a generative-AI helper, but a system that can reason about COBOL, Java, and the dependency graph between them — that's a category of claim worth examining carefully rather than waving away.

Why "agentic" is the right word here

The agentic angle matters because mainframe modernization isn't a single task. It's a sequence of dependent tasks: understand the existing program, map the data flows across copybooks and JCL, identify what's safe to refactor versus what's load-bearing in ways that aren't obvious, propose a target Java or modernized COBOL implementation, generate tests against the original behavior, validate that the new code produces the same results across the same inputs. A pure code-completion tool helps with one step. An agent that can plan and execute across the sequence, with checkpoints a human reviewer can confirm, is materially different work.

Where the productivity multiplier actually shows up

What we've seen in early engagements: the productivity multiplier shows up not on the keystrokes but on the comprehension phase. The bottleneck in mainframe modernization is usually the analyst — the person who has to know enough about the original program to know what can safely change without breaking a downstream batch nobody documented. Code Assistant for Z's agentic loop offloads a meaningful chunk of that comprehension work onto the agent, leaving the analyst to verify and decide rather than discover from scratch every time they open an unfamiliar program. That shift is where the modernization budget actually goes.

The agent is a force multiplier for a modernization team that knows what it's doing — it accelerates the experts, it doesn't replace them.

The piece worth being honest about: this isn't a "point the agent at your mainframe and walk away" story, and IBM isn't claiming it is. The agent is a force multiplier for a modernization team that knows what it's doing — it accelerates the experts, it doesn't replace them. For organizations that have under-invested in mainframe skills for a decade and now want to catch up on a deadline, the agent doesn't replace the missing expertise. It makes a smaller expert team go further, which is often what's actually needed, but it's not a magic substitute for the people.

How to scope the pilot

If you're scoping a modernization program, the practical move is to pilot the agentic workflow on a contained subsystem first — something with bounded blast radius and a known target state — measure throughput against the same team's previous pace on a comparable subsystem, and use that as the basis for sizing the broader program. The numbers tend to be defensible because the comparison is internal, the procurement story is straightforward because the entire stack is IBM, and the migration risk is contained because the pilot scope is. That's the sequencing I'd recommend for any large COBOL-heavy estate looking at this in 2026.

Get Started with Agentic AI →