ODSP2187 · Pre-recorded
Beyond code conversion: Rebuild COBOL applications with Azure AI
Speakers: Thanumoorthy Sundaresan, John Weston
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Publicis Sapient presents Sapient Slingshot, an AI platform running on Azure OpenAI that modernizes COBOL applications through a two-stage code-to-specification and specification-to-code process. A single COBOL program validating a university course inventory is converted into flowcharts, pseudocode-style technical specifications and a technology-agnostic BDD document with Gherkin user stories. Each pipeline step is a FastAPI service backed by agents and prompts on configurable LLMs, running on Azure Kubernetes. The BDD then drives generation of Java microservices (one 7,000-line COBOL file split into several services) and automated tests with visualised reports. No Microsoft product announcements are made; it is a short partner demo.
Best for: Architects and modernization teams evaluating AI-assisted COBOL-to-Java migration on Azure OpenAI and AKS.
New material: no clear start of new material was found in this session.
Where to skip: Jump to 02:27 for the agent architecture on AKS (the most technical part), then 08:51 for Java microservice and test generation; the 04:34 artifact walkthrough is optional and 11:19 is just a closing link. Not relevant to Copilot work.
Chapters (5)
- 00:00 Recap Depth 100 · Novelty 0/3
Intro: Publicis Sapient Slingshot and the code-to-design-to-code approach
John Weston (VP, Microsoft Practice) and Thanu Sundaresan (VP Engineering, solution lead for GenAI-based mainframe modernization) introduce Slingshot, which runs on Azure OpenAI. They cite a U.S. healthcare provider with tens of thousands of COBOL screens on a mainframe. Instead of line-by-line translation, Slingshot converts COBOL into a design document that the business reviews and modifies, then sends it back through Slingshot to generate cloud-native containerized code without legacy data and code structures.
- 02:27 Demo Depth 300 · Novelty 1/3
Demo: running code-to-specification and its agent architecture on AKS
Thanu explains the two-stage process (code to specification, specification to code) and uploads a zip with one COBOL file to run code to specification. The pipeline runs through a series of steps ending in a behaviour-driven development (BDD) document with user stories in Gherkin format. Each step is exposed as a FastAPI backed by agents and prompts on configurable LLMs, running in Azure Kubernetes; each stage progressively strips technical implementation detail so the BDD contains only business logic.
- 04:34 Demo Depth 200 · Novelty 1/3
Demo: generated artifacts – flowcharts, pseudocode technical specs and BDD
The sample COBOL program validates a university's course inventory against business rules and produces an approval report; business logic spans roughly lines 3,000 to 6,000. Slingshot generates a high-level flow diagram plus near line-by-line flowcharts per section, and technical specifications in pseudocode-like form used by non-COBOL developers for troubleshooting and delivered to clients. The final artifact is a technology-agnostic BDD describing what the program does.
- 08:51 Demo Depth 200 · Novelty 1/3
Demo: specification-to-code generating Java microservices and automated tests
The BDD output feeds the specification-to-code stage, which takes a config file and the BDD files (zip) and generates to-be code, here Java; the BDD also drives test cases and is given to clients for review. A single COBOL file of about 7,000 lines was split into multiple services, such as inventory management and validation. The process also creates feature definitions and automates them so tests run against compiled code with visualised reports.
- 11:19 Closing Depth 100 · Novelty 0/3
Closing and pointer to Publicis Sapient AI solutions website
John Weston thanks Thanu for the demo and points viewers to publicissapient.com/sapient-aisolutions for real-world customer examples. The session ends.
Announcements (0)
No specific announcement was made in this session.
Demos (3)
-
Extract business logic from a legacy COBOL program into a BDD specification for modernization teams.
Steps (4)
- Open the Slingshot code-to-specification process with the required input prepared.
- Upload a zip file containing the COBOL asset(s) (here one COBOL file).
- Execute the process and watch it progress from file upload through a series of steps.
- Obtain the resulting BDD document with user stories in Gherkin format.
Prerequisites: Access to the Publicis Sapient Slingshot platform; COBOL source packaged as a zip; the platform runs on Azure Kubernetes with configurable LLMs.
-
Review the artifacts produced from a COBOL course-inventory program so non-COBOL engineers and clients can understand and verify the business logic.
Steps (5)
- Inspect the source COBOL program (initialization, environment and data divisions, copybooks, business logic from around line 3,000).
- Open the high-level flow diagram covering the program's sections.
- Drill into per-section flowcharts, e.g. the finalization section, detailed almost line by line.
- Open the technical specifications with high-level sections broken into pseudocode-like subsections.
- Open the final BDD document as the technology-agnostic description of the program.
Prerequisites: A completed code-to-specification run in Slingshot.
-
Generate cloud-native Java microservices and automated tests from the BDD specification extracted from COBOL.
Steps (6)
- Open the specification-to-code process.
- Upload the configuration file defining how the process should execute.
- Upload the BDD files from the code-to-specification stage as a zip.
- Start the process to generate the code.
- Review the generated Java services (e.g. inventory management, validation).
- Review generated feature definitions and automated tests executed against compiled code, with visualised reports.
Prerequisites: Access to Slingshot; a config file; BDD files from the code-to-specification stage.