How a Knowledge Graph Helped Map a 35-Million-Line Mainframe

Stephen Chin and Neeraj Deshmukh explain context, agent orchestration and behavior-parity tests for legacy-system modernization.

SCStephen ChinSpeaker · Neo4jNDNeeraj DeshmukhSpeaker · Blitzy
Channel
AI Engineer
Published
Nov 6, 2026
Video
19:43
Read
3 min
Slides
5
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

Neo4j’s Stephen Chin and Blitzy’s Neeraj Deshmukh show how code dependencies can be represented as an evidence-backed graph and supplied to agents. They describe human approval, continuous tests and vendor-reported banking and insurance cases.

  1. 1The formula is not the whole systemBatch jobs, layouts and outputs determine behavior.
  2. 2Keep evidence with graph edgesTrack source spans and revisions as the code evolves.
  3. 3Compare old and new behaviorTest outputs, state and failure paths against the baseline.
  4. 4Mapping is not migrationThe four-day result describes mapping a 35-million-line estate.

Takeaways

  1. A correct translation must preserve surrounding jobs, data contracts and behavior.
  2. A knowledge graph can connect code to revisioned source evidence.
  3. Human-reviewed plans and layered tests help govern agent-generated changes.
  4. Comparing old and new results can expose rounding and state differences.
  5. The reported four-day result concerns mapping, not rewriting the entire mainframe.
FULL TEXT

Read the edited text by chapter

Transcript only
01

Why system context matters

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Stephen Chin says modern banking apps often sit on old mainframes with nightly batch jobs, business rules and data contracts. Changing a single line can be risky when the surrounding dependencies are poorly understood.

Chin recalls migrating COBOL to Java decades ago: projects took years, and incomplete tests left corner cases undiscovered. He introduces Blitzy’s Neeraj Deshmukh to explain a different approach.

02

Following an interest calculation

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Deshmukh uses the public AWS CardDemo system and an interest calculation as an example. A batch job calls a program, which uses copybooks and layouts and writes VSAM data; the result depends on all of those relationships, not just a formula.

Following the interest calculation
SLIDE 1 / 5Following the interest calculationThe AWS CardDemo diagram connects the batch job, program, copybooks and VSAM files.

An AI asked to translate the COBOL formula to Java might produce plausible code while missing record precision, account updates, transaction output and batch contracts. The problem is missing system context rather than merely syntax conversion.

Chin argues that a larger context window or similarity search does not necessarily recover all the dependencies needed for a change. A graph can retrieve connected information across multiple relationships; the speakers present it as a complement to the model.

He says models may use only part of their advertised context effectively, so the application should supply precise, relevant evidence. His numerical estimates are observations from the talk, not a universal limit for every model or task.

03

Code as an evidence-backed graph

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Deshmukh maps jobs, programs, copybooks, fields and data stores into a knowledge graph. Each relationship retains its repository, revision, symbol and source evidence; the graph is refreshed as code changes.

A graph with source evidence
SLIDE 2 / 5A graph with source evidenceEach graph edge tracks identity, evidence and freshness.

Each agent receives a task-specific context packet containing the relevant source slice, constraints, evidence and unanswered questions. The goal is access to the right information when needed, not putting the entire codebase in one prompt.

04

Agents, plans and human approval

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Blitzy describes its process as an enterprise compiler: reverse engineer the system, extract workflows and business logic, combine those with the user’s requirements, and create an agent action plan. A human reviews the plan before generation.

The proposed modernization workflow
SLIDE 3 / 5The proposed modernization workflowReverse engineering and planning lead to human approval, generation and validation.

The agents generate code with validation throughout, producing a pull request and documentation of the evidence. Deshmukh says access to the repository and build environment also lets the system observe runtime behavior rather than rely only on static analysis.

The proposed architecture combines a shared plan for thousands of agents with continuous testing. Deshmukh says Blitzy spends more compute on tests than code generation, while humans retain decisions at important checkpoints.

The action plan defines the transformation’s scope and the behavior that must be preserved. The speakers identify system context, continuous validation, security and governance guardrails, and human oversight as the controls.

05

Testing behavior parity

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Parity includes monetary precision and rounding, balances, transaction records, failures and operational behavior. Existing defects also need explicit decisions: silently changing them can change a business outcome.

Comparing behavior
SLIDE 4 / 5Comparing behaviorThe slide compares values, state, transactions and errors against the COBOL baseline.

The team compares the old and new systems on the same inputs, returned values, persisted state, transaction outputs and errors. Deshmukh says validation is layered through unit, integration, data and end-to-end tests rather than left until the end.

A rounding example shows why: a Java translation can compile and look correct but differ by one cent from COBOL behavior. The speaker says a parity test caught the difference; at scale, small discrepancies can accumulate.

06

Reported customer cases

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

Deshmukh presents a bank trade-posting case in which a monolith was converted into six modules using PostgreSQL and several languages. He reports 18 days and over 4,000 tests, compared with the customer’s original estimate of 18 engineer-weeks.

Mapping the mainframe
SLIDE 5 / 5Mapping the mainframeThe vendor compares its reported four-day mapping with an earlier integration effort.

He says Blitzy mapped a roughly 35-million-line mainframe in four days after an earlier systems-integration effort had taken months. This is the vendor’s case-study claim; mapping the estate is distinct from migrating every line.

For another 25-million-line insurance platform, Deshmukh reports a ninefold speed improvement and gives figures for autonomous completion and production acceptance. The presentation does not independently establish whether those results generalize.

07

Beyond modernization

The speakers explain this stage of the modernization workflow. They use examples to show its role in preserving system behavior.

The speakers say the same knowledge layer can support new features, security work and compliance evidence after modernization. A promotional interest rate, for example, can reuse the updated graph, governance rules and expanded tests.

Chin closes by describing a knowledge layer connecting business rules and processes to the system. He sees potential uses in regulatory compliance and fraud analysis, in addition to the original modernization task.

The speakers point listeners to knowledge-graph sessions and a sandbox containing the public CardDemo example, inviting teams to investigate the approach with their own code.

More from this channel

3 slides31:22EN
AI Engineer· Nov 7, 2026Nouha Dziri on Making Coding-Agent Teams More Cost-EfficientNouha Dziri · CohereExperiments on ProgramBench and Commit0 show why the task bottleneck, lead model and coordination design matter more than simply adding agents.Multi-agent systemsCoding agentsAgent orchestration+2
3 slides19:34EN
AI Engineer· Nov 7, 2026How Cloud Agents Help Review Changes to a Security MasterAmol Kapoor, Clifford Ressel · Nori AgenticAmol Kapoor and Clifford Ressel explain why private-asset data is difficult to reconcile and how an agent assists human reviewers.AI in financeData quality & curationAgent engineering+2
4 slides18:28EN
AI Engineer· Nov 7, 2026Vinoo Ganesh on Building AI Answers from Verifiable FactsVinoo Ganesh · KeplerKepler’s co-founder describes pointer-based retrieval, deterministic calculations and access controls for financial AI.AI in financeRetrieval-augmented generationData quality & curation+2
6 slides1:04:02EN
AI Engineer· Nov 6, 2026Lance Martin: Audit Prompts, Build Better Evals and Optimize Agent CostLance Martin · AnthropicAn Anthropic engineer explains prompt caching, evaluation design, hill climbing and the architecture of reliable long-running agents.EvalsCoding agentsAI cost & performance
2 slides23:05ZH → English
AI Engineer· Nov 6, 2026Ryo Lu: When We Can Make Anything, Do We Know What We Want?Ryo LuFrom an AI-generated journal to a jazz ensemble, Ryo Lu explores judgment, life and collaboration alongside powerful tools.AI interface designHuman-AI CollaborationCreativity+2
4 slides19:19EN
AI Engineer· Nov 6, 2026Ben Holmes: Use Agent Traces to Improve Agent SkillsBen Holmes · WarpThe Warp engineer explains how scoring conversations can uncover hidden friction and produce reviewable configuration improvements.Coding agentsEvalsSoftware engineering