AI-Powered Architecture Discovery for a Legacy Monolith

A safe, downtime-free modernization of a mission-critical monolith mobile app through AI-assisted architecture discovery to reveal dependencies and design an incremental, audit-friendly roadmap.

AI-Powered Architecture Discovery for a Legacy Monolith

About the client

A US-based insurance company with a multi-state policy portfolio needed to revamp its legacy mobile app to boost customer loyalty and streamline the settlement process.

About

the Product:

An enterprise-grade policy administration and claims platform serving multiple lines (auto, property, liability, etc.) needed a revamp to improve performance, reduce operating expenses, and boost user experience. Since major modules included quotes, underwriting, endorsements, billing, collections, loss notices, indemnification, and subrogation, we needed to map dependencies within the app and workflow to ensure the smooth, secure transition.

The app core is represented by a tightly coupled monolith with embedded ratings, rules, document generation, and batch jobs for nightly bordereaux, commissions, and compliance reporting. Also, there were connections to payment gateways, credit bureaus, third-party data providers, and regulatory e-filing.

Introduction:

Recommended by industry experts, the client sought to eliminate operational pain points, opaque dependencies, manual handoffs, and fragile CI/CD. Devox Software’s team got to work, making a zero-downtime, evidence-driven modernization kit.

Project

Team:

The team roles were flexibly distributed according to the project phase and involved a Delivery Manager, a Solution Architect, a Senior Backend Engineer, a Data and ML Engineer, a DevOps Engineer, a QA Engineer, and a Business Analyst with experience in InsurTech.

Challenges:

The project showed the most common difficulties when trying to upgrade a legacy app:

  • Sparse documentation,
  • Tight coupling across policy, billing, claims, and reporting services,
  • Brittle CI/CD;
  • Inconsistent data contracts;
  • Mixed tech generations, and more.

However, industry-specific hurdles amplified the risk:

  • The differences in state-by-state insurance rules and reporting made it hard to implement universal procedures and required audit trails.
  • Rating, scoring, and underwriting engines required actuarial sign-off.
  • Reinsurance, bordereaux, and catastrophe modeling were connected to external services (desktop version).

Tech

Stack:

.NET 8, ASP.NET Core, Azure AKS, Azure DevOps, OpenTelemetry, Grafana, Kafka, Redis, PostgreSQL, Azure Key Vault, Terraform

Solution:

Our approach was to implement an AI-assisted “Architecture Discovery” pipeline.

First, we ingested source, configs, SQL, and CI scripts, and then parsed call graphs and DB dependencies. Next, the correlated dependencies were connected with production traces to assess real-world flows.

As a result, we’ve built a navigable knowledge graph showing domains, owners, data lineage, SLIs/SLOs, and services. This measure has opened the way to a strangler-fig roadmap:

  • carving out low-risk domains first,
  • wrapping high-risk modules behind anti-corruption layers,
  • shifting to canary releases with automated rollback.

Additionally, observability and pre-flight checks reduced deployment risk.

Results:

We’ve created a comprehensive app architecture mapping to prepare for further modernization steps. This way, the client has received the following outcomes:

  • shortened time for the modernization process,
  • fewer Sev-1 incidents during releases,
  • faster root-cause analysis thanks to unified tracing,
  • and, of course, a clear migration path, security- and audit-approved.

As a result, the following modernization has been carried out without downtime.

Sum Up:

Combining AI-driven code understanding with human experience, we’ve paved the way for safe modernization and aligned engineering with compliance, streamlining all timelines and saving budget for the transition. Consequently, the client had a chance to execute it with predictable risk and expected effects.

Book a call

Want to Achieve Your Goals? Book Your Call Now!

Contact Us

We Fix, Transform, and Skyrocket Your Software.

Tell us where your system needs help — we’ll show you how to move forward with clarity and speed. From architecture to launch — we’re your engineering partner.

Book your free consultation. We’ll help you move faster, and smarter.

Let's Discuss Your Project!

Share the details of your project – like scope or business challenges. Our team will carefully study them and then we’ll figure out the next move together.






    By sending this form I confirm that I have read and accept the Privacy Policy

    Thank You for Contacting Us!

    We appreciate you reaching out. Your message has been received, and a member of our team will get back to you within 24 hours.

    In the meantime, feel free to follow our social.


      Thank You for Subscribing!

      Welcome to the Devox Software community! We're excited to have you on board. You'll now receive the latest industry insights, company news, and exclusive updates straight to your inbox.