Following a major application migration, a leading Canadian bank faced a challenge familiar to many large organizations: critical application knowledge was difficult to access, while quality engineering continued to require significant manual effort.
The challenge: Building a stronger foundation for modernization
The bank needed to strengthen its understanding of a complex application environment comprising more than 500,000 lines of code.
Documentation was incomplete, making business logic, dependencies and API behaviour more difficult to trace. Important application knowledge was also concentrated among a limited number of subject-matter experts. As a result, assessing changes and transferring knowledge could require significant time from experienced technical resources.
Quality engineering presented a related challenge. While artificial intelligence (AI) was beginning to support some aspects of test design, execution, debugging, defect analysis and reporting continued to involve substantial manual effort.
The opportunity was therefore broader than accelerating individual tasks. The bank wanted to create trusted, reusable knowledge and quality engineering capabilities that could support modernization across its application environment while maintaining human accountability, traceability and quality.
CGI’s approach: Creating reusable application knowledge with agentic AI
We deployed an agentic AI-based documentation approach to analyze the application codebase and reconstruct the knowledge embedded within it.
Using intelligent multi-agent orchestration, prompting and validation, the solution analyzed the code and generated structured technical documentation, API documentation and visual process maps for both technical and business audiences. The resulting documentation was published directly to the bank’s Confluence environment, making application knowledge easier to search, maintain and reuse.
This enabled the bank to transform fragmented application knowledge into a reusable asset that could support knowledge transfer, onboarding, impact assessments and future modernization planning, without requiring manual code walkthroughs.
Human validation remained an important part of the process. Subject-matter experts reviewed AI-generated outputs against defined quality expectations, helping ensure that greater speed did not come at the expense of accuracy or trust.
Strengthening quality engineering with AI-powered test intelligence
In parallel, we implemented an AI-powered testing approach spanning test design, execution, intelligent debugging and reporting.
Predictive failure analysis and self-correcting capabilities helped teams identify issues more quickly, reduce repetitive QA activities and gain greater visibility into testing progress, results and quality trends.
Together, these capabilities addressed two interconnected modernization needs: understanding how an application works and validating changes to it efficiently and confidently.
Delivering measurable results: Eight months of documentation work completed in six weeks
The engagement generated measurable improvements across application documentation and quality engineering:
- 95%+ first-pass acceptance: AI-generated documentation achieved more than 95% first-pass acceptance from the bank’s subject-matter experts, with minimal revision.
- Eight months to six weeks: Documentation work the bank estimated would require approximately eight months using a traditional approach was completed in six weeks.
- 80%+ reduction in documentation effort: Compared with the manual baseline, the approach reduced the person-hours required for documentation by more than 80%, freeing specialized technical resources for higher-value engineering activities.
- 500,000+ lines of code analyzed: More than half a million lines of application code were analyzed and converted into structured knowledge assets.
- Zero manual code walkthroughs: Documentation was generated without manual code walkthroughs, reducing dependency on scarce subject-matter
expertise.