How an insurer used AWS Transform and LTM AppIQ together to extract, structure, and validate decades of business logic before moving to a modern policy administration platform.
Mainframe systems continue to support business-critical operations across the insurance industry. Their reliability is well established, but the business and technology environments around them are changing. Insurers need greater agility, more flexible integration, and the ability to support evolving products and customer expectations.
Modernization, however, is not simply a matter of replacing legacy infrastructure or converting code. Decades of business knowledge are often embedded in complex programs, data structures, and rules that have evolved over time. Documentation may be incomplete, dependencies difficult to trace, and critical knowledge concentrated among a small group of experienced subject matter experts (SMEs). This creates a fundamental challenge: how can insurers modernize their core platforms without losing the business logic that keeps their operations running?
A recent engagement with a leading US life insurer illustrates how AI-led reverse engineering and human validation can help address this challenge. Using AWS Transform and LTM AppIQ, the team worked to extract business rules from a legacy COBOL application and structure them for a new policy administration platform.
Why preserving business knowledge matters
Legacy modernization programs must account for more than application functionality. They also need to understand how existing systems support business processes, apply rules, and manage exceptions.
In insurance, this understanding is particularly important. Product configurations can reflect years of business decisions and rule changes. These may be distributed across programs, copybooks, and data files rather than maintained in a single, accessible document.
Manual analysis requires SMEs to trace logic across the application and interpret how individual or set of rules work together. This can be time-consuming, especially when knowledge is concentrated among a limited number of specialists. Directly using a large language model (LLM) to interpret source code is not sufficient either. Without the right context and traceability, generated responses can be difficult to validate.
The modernization process therefore needs a structured way to analyze legacy applications, make their business logic accessible, and keep experienced people involved in validating the results.
The engagement: Moving from COBOL to SAPIENS
The challenge of preserving business knowledge became tangible when a leading US fraternal life insurer prepared to transition to a modern policy administration platform.
Client
Following a merger with another insurer, the organization operated under its new brand and needed to modernize its policy administration environment. Its policy administration and financial management operations ran on a monolithic COBOL application hosted on a Unisys mainframe.
The application comprised approximately 603 programs and 487,000 lines of code and supported insurance operations across five Midwestern US states. The organization selected SAPIENS as its target platform. To support the transition, it needed to identify and carry forward the product and business rules embedded in the existing application.
Challenges
The legacy application held critical product logic across COBOL programs, copybooks, and data files. Understanding this logic required more than reviewing individual code segments. The team needed to establish how rules and calculations were applied across the application and translate them into a format that the target platform could use.
A manual approach would have required SMEs to trace and interpret the relevant logic across a substantial codebase. This would place considerable demands of their time and make the exercise difficult to scale.
Using an LLM directly against the source code presented another limitation. Although it could generate responses, those responses did not provide sufficient accuracy and traceability to support reliable review and validation.
The team needed an approach that combined automated code analysis with structured knowledge retrieval and SME oversight.
Scope
The initial exercise focused on the insurer’s Whole Life Insurance product line, covering two plans:
- LF95: Life Paid-Up at Age 95, Male
- LF96: Life Paid-Up at Age 96, Female
The new brand provided a SAPIENS Product Configuration template in a Word document. It contained six sections, multiple subsections, and detailed business questions. The objective was to complete the template for both plans using business rules derived directly from the existing COBOL source code.
The scope also included creating a data dictionary for the mainframe source system. Together, these deliverables were intended to make the legacy application’s product logic and data structures more relevant for the target-platform configuration exercise.
Solution: Combining AWS Transform and LTM AppIQ
LTM brought together AWS Transform and LTM AppIQ in a composable solution to analyze the legacy code, organize the extracted knowledge, and support the generation of SAPIENS configuration data.
The approach combined the code analysis and business-rule extraction capabilities of AWS Transform with AppIQ’s structural analysis, dependency mapping, and technical documentation capabilities. An agentic AI workflow, built using Amazon Bedrock, helped retrieve relevant information and populate the configuration template. SMEs remained involved at key validation points.
The solution followed three connected stages.
1. Reverse engineering the legacy application
AWS Transform analyzed the codebase, including its data structures, and extracted business rules. AppIQ added another layer of analysis through structural insights, dependency bundling, and technical documentation.
Together, these capabilities provided complementary views of the application. This helped the team build a more comprehensive understanding of the source system than relying on either analysis approach alone.
2. Creating a structured knowledge layer
The outputs from both tools were stored in Amazon S3. AWS Transform generated JSON and HTML artifacts, while AppIQ produced Markdown documentation. These materials were indexed in an Amazon Bedrock Knowledge Base to make the extracted information accessible for subsequent processing.
A Model Context Protocol (MCP) server exposed the knowledge base to the agentic workflow, while AWS Transform and AppIQ remained available as separate information sources. Semantic search with re-ranking helped retrieve relevant context for the questions in the SAPIENS template.
This knowledge layer provided a structured way to connect the original source code, analyze and generate outputs with the information required for product configuration.
3. Using agentic AI to generate configuration outputs
A coding agent, deployed in the customer or LTM environment, used the retrieved information to work through the SAPIENS template. The workflow was organized into stages: extracting keywords, generating questions, creating the workbook, retrieving relevant information, and producing templated outputs.
SMEs reviewed the outputs at key checkpoints. Their involvement helped validate the extracted rules, address ambiguity, and establish a baseline for the configuration exercise.
Amazon CloudWatch was used to log agent activity and token consumption, providing visibility into the workflow as it progressed.
From legacy code to usable business knowledge
The engagement demonstrates how AI-led reverse engineering can help make business logic embedded in legacy applications more accessible during modernization. Rather than treating source code as the only record of how an application works, the approach turns its underlying rules and structures into organized information that can be reviewed and used for a defined business purpose.
The combination of AWS Transform and AppIQ also illustrates the power of a composable modernization approach. Different capabilities can work together across analysis, knowledge creation, and execution, while human validation remains central to the process.
This is particularly relevant for insurers, where modernization decisions must account for the business logic behind established products and processes. As organizations move toward platforms such as SAPIENS, Guidewire, and other modern insurance solutions, structured and validated knowledge can provide an important foundation for subsequent configuration and transformation work.
The broader lesson is clear: successful modernization is not only about changing the technology that runs the business. It is also about preserving the knowledge that makes the business work. By combining AI-enabled analysis, a structured knowledge layer, and SME oversight, insurers can create a more traceable starting point for modernization while keeping critical business expertise in the process.