Skip to main content

Modernize applications using Claude

October 2026AI solutions & agentsFinancial services
Modernize Applications using Claude

Customer overview

Origence is a U.S.-based financial technology company. Its engineering organization operates a portfolio of business-critical applications that support high-volume, mission-critical operations for its clients nationwide.


Problem statement

What the customer was trying to solve

Origence runs a portfolio of business-critical services built on .NET Framework and hosted on virtual machines. The estate worked, which is why it had survived, but it limited the business in four ways: 

  • Cost was fixed, not consumption-based. Capacity had to be planned and paid for up front, along with hardware and maintenance overhead. 
  • Change was slow and risky. Patterns varied from service to service, so engineers couldn’t move between services without relearning each one, and no one could predict the blast radius of a change before making it. 
  • The security baseline couldn’t be raised uniformly. Each service handled secrets, authorization and dependency scanning differently. 
  • Scaling was vertical and manual. There was no circuit breaking or asynchronous workflow handling when a downstream vendor degraded. 

Rewriting 11 services by hand was the obvious path, and the unaffordable one. On each service, an engineer would spend weeks reconstructing intent from legacy source code before writing new code, and the next engineer on the next service would start from zero. Throughput would have been capped by the number of people who could hold a legacy service in their heads. 

What the partner brought 

MAQ Software brought a governed, multi-agent pipeline on Claude Code that turns migration into a repeatable, instrumented process instead of a series of one-off efforts. Four things set it apart from general-purpose AI coding assistance: 

  • Structural code understanding, not just reading. A Roslyn-based analyzer parses each legacy service into compact, structured metadata: interfaces, implementations, the dependency injection map and layer violations. Agents reason over that structure instead of reading whole files. 
  • Enforced governance, not guidance. Hooks block code searches until a structural analysis tool has run. They also block pushes to trunk, block writes that contain secrets, and block commits until every required review agent has filed a report card. These are controls, not conventions. 
  • Autonomous review loops with human gates. Architecture, code and security review agents score every pull request, and any score below the threshold sends the work back to the implementing agent. Four human approval gates freeze state at discovery, design, plan and pre-verification. 
  • Measured, not asserted. A Control Plane records actual token usage and cost per agent and per phase. The figures are taken from real session transcripts and priced server-side, so efficiency claims can be audited instead of estimated. 

Use case

Legacy application modernization at portfolio scale: migrating business-critical .NET Framework services from VM hosting to containerized .NET 10 services on Azure, using a governed, multi-agent engineering pipeline built on Claude. 

Category: AI for software engineering (code understanding, migration and review). Secondary: agentic workflow orchestration with enforced governance. 

The unit of work is a whole service, not a file or a function. The pipeline inventories the legacy service, designs its modern equivalent against a fixed reference architecture, then plans, sequences and implements the pull requests. Each pull request must pass automated architecture, security and test reviews before a human approves the merge. 


Claude Product Used 

Claude Code, extended by a purpose-built modernization plugin that ships 103 subagents, hooks, skills and four MCP servers. 


Strategy

What the partner brought

A governed multi-agent pipeline on Claude Code that turns migration into a repeatable, instrumented process rather than a series of individual efforts. Four things distinguish it from general-purpose AI coding assistance:

Structural code understanding rather than reading. A Roslyn-backed analyzer parses the legacy service into compact structured metadata — interfaces, implementations, dependency injection map, layer violations — so agents reason over structure instead of consuming whole files.

Enforced governance, not guidance. Hooks block a code-targeted search until a structural analysis tool has run, block pushes to trunk, block secret writes, and block a commit until every mandated review agent has filed a report card. These are controls, not conventions.

Autonomous review of loops with human gates. Architecture, code and security reviews score each pull request; a score below threshold re-runs the implementing agent. Four human approval gates freeze state at discovery, design, plan and pre-verification.

Measured, not asserted. A Control Plane records real token and cost telemetry per agent and per phase, harvested from the actual session transcripts and priced server-side. Efficiency claims are more auditable than estimated.

How we used Claude Code

Claude Code, extended by a purpose-built modernization plugin that ships subagents, hooks, skills and four MCP servers. The plugin is dormant in any repository that has not been onboarded, so it can be distributed safely across an engineering organization.

  • Subagents: 100+ agent definitions covering discovery, design, planning, implementation, code review, security review, testing, verification and retrospective.
  • Hooks: PreToolUse, PostToolUse, SessionStart and Stop hooks that enforce policy rather than advise it.
  • MCP servers: a Roslyn-backed C# analysis server, a LangGraph pipeline state machine, a session-state server, and a TypeScript analysis server.
  • Skills and a governed 39-file knowledge base, served to agents by declared topic rather than loaded wholesale.

Modernization architecture

The diagram below shows the modernization path for each service. Legacy .NET Framework services hosted on IIS on Windows Server virtual machines are onboarded to the AI-assisted modernization pipeline, which takes them through six phases (discover, design, plan, breakdown, implement and verify) with human approval gates that freeze state after discovery, design and planning and before verification. Approved pull requests are deployed through Azure DevOps and Terraform as .NET 10 services running in Linux containers on Azure Container Apps.

Origence modernization architecture: legacy VM/IIS .NET Framework services, AI-assisted modernization pipeline on Claude, and .NET 10 services on Azure Container Apps (Linux)

Figure 1. Legacy-to-modern architecture and the modernization pipeline phases

Models — deliberately mixed by task type

Every agent declares the tier it runs on. The distribution below is the measured state of the agent roster, not an intention:

Claude model

Agents

What runs there

Claude Opus

2

Architectural design and architect review — the two steps that exercise genuine judgement

Claude Sonnet

92

The bulk of delivery: implementation, code review, security review, test engineering, verification

Claude Haiku

6

Mechanical work: status, PR creation, changelog writing, token tracking, context budget, past-failure checks

Routing is adaptive as well as declared: a review score below the quality threshold escalates the retry to a more capable tier, so reasoning is paid only where quality requires it.


Joint outcome

Origence and MAQ Software rebuilt a portfolio of 11 VM-hosted .NET Framework services as containerized .NET 10 services on Azure Container Apps, using a governed, Claude-powered migration pipeline. All 11 services went into production across two phases in seven months. Engineering effort per service fell by about 60%, and median production latency fell by 46%. Architecture, security and test-coverage gates were enforced automatically on every pull request.


Results

Measurable Business Outcomes: 

The program delivered measurable gains in engineering efficiency, production performance and operational scalability: 

  • About 60% less engineering effort per service: story points needed to bring a service to production fell from 80–100 to 30–40. 
  • 46% lower median latency: p50 dropped from 21.6 ms to 11.6 ms. 
  • 38% lower tail latency: p95 dropped from 43.6 ms to 27.0 ms. 
  • Fully automated capacity management: manual VM resizing was replaced by automatic scaling, which allocates resources faster and cuts operational overhead. 

Delivery timeline and phasing 

  • All 11 services in the portfolio were migrated in a seven-month program (January–July 2026), an average of more than 1.5 services per month. 
  • Phase 1: 6 services delivered and deployed to production between January and April 2026. 
  • Phase 2: 5 services delivered and deployed to production between May and July 2026. 
  • Every service followed the same delivery path: feature-complete → load test → UAT → production deployment. 
  • No service was left mid-migration or rolled back, and both phases were completed on schedule. 

Architecture and code — before vs. after 

  • Hosting: moved from VM-hosted .NET Framework to containerized .NET 10 on Azure Container Apps. 
  • Architecture: moved from inconsistent, per-service patterns to enforced Clean Architecture (Endpoints → Services → Domain), validated by a code analyzer on every build. 
  • Data access: standardized mixed data-access patterns on Dapper with parameterized SQL across all 11 services, closing earlier SQL injection risks. 
  • Resilience: added Refit and Polly for retries and circuit breaking, replacing direct calls with no fault tolerance, plus NServiceBus for asynchronous workflows. 
  • Secrets and configuration: removed every hardcoded secret from source code and appsettings files. All secrets are now provisioned through Azure Key Vault using Terraform, and manual portal edits are not allowed. 

Delivery pipeline and quality — before vs. after 

  • Deployment: moved from manual, VM-based releases to chiseled Docker images deployed through Terraform and Azure DevOps CI/CD. 
  • Security: moved from inconsistent, per-service practices to standard OWASP Top 10 gates and CVE scanning built into CI, with policy-based authorization. 
  • Test coverage: moved from variable, unenforced coverage to a mandatory 80%+ threshold that must be met before merge. 
  • Review: moved from human-only reviews of uneven depth to a hybrid model. Automated architecture, code and security reviews must score 8/10 or higher, and four dedicated human review gates follow. 

Adoption and scale 

  • One governed pipeline now serves the whole portfolio, with the same quality gates applied to all 11 production services. 
  • The solution is built on 103 specialized agents, 4 MCP servers and 39 file-governed knowledge bases. 
  • The whole toolchain is packaged and distributed as a single installable Claude Code plugin, with no per-service setup. 
  • Real-time telemetry (cost, quality and agent activity) streams per agent, phase and session to a Control Plane dashboard, replacing after-the-fact reporting. 
  • The framework now supports five delivery modes beyond migration: migration, greenfield builds, feature additions, bug fixes and brownfield improvements. This extends its governance value well past the original scope.

Talk to our team

Facing something similar? MAQ Software's engineers have solved it before.