<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samir Sahoo</title>
    <description>The latest articles on DEV Community by Samir Sahoo (@samirsahoo).</description>
    <link>https://dev.to/samirsahoo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1378083%2F91335a2b-d400-4612-aebb-8798048835e4.jpeg</url>
      <title>DEV Community: Samir Sahoo</title>
      <link>https://dev.to/samirsahoo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samirsahoo"/>
    <language>en</language>
    <item>
      <title>Beyond Cloud Migration: Building an Agentic AI Advisor for Enterprise Modernisation</title>
      <dc:creator>Samir Sahoo</dc:creator>
      <pubDate>Thu, 03 Dec 2026 17:54:05 +0000</pubDate>
      <link>https://dev.to/samirsahoo/beyond-cloud-migration-building-an-agentic-ai-advisor-for-enterprise-modernisation-3bo7</link>
      <guid>https://dev.to/samirsahoo/beyond-cloud-migration-building-an-agentic-ai-advisor-for-enterprise-modernisation-3bo7</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Building an Agentic AI-Powered Cloud Migration Advisor with LangGraph
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;How to orchestrate specialised AI agents for enterprise modernisation, migration assessment, risk analysis, and human-in-the-loop governance.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Cloud migration is not simply about moving workloads from on-premises infrastructure to AWS, Azure, or Google Cloud.&lt;/p&gt;

&lt;p&gt;For enterprise applications, migration involves much more:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understanding legacy application architecture.&lt;/li&gt;
&lt;li&gt;Evaluating migration readiness.&lt;/li&gt;
&lt;li&gt;Identifying database and integration dependencies.&lt;/li&gt;
&lt;li&gt;Assessing regulatory and security risks.&lt;/li&gt;
&lt;li&gt;Estimating migration costs and business value.&lt;/li&gt;
&lt;li&gt;Designing a target cloud architecture.&lt;/li&gt;
&lt;li&gt;Creating a realistic migration roadmap.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These decisions require collaboration between enterprise architects, cloud architects, developers, security engineers, operations teams, and business stakeholders.&lt;/p&gt;

&lt;p&gt;Can Agentic AI help simplify this process?&lt;/p&gt;

&lt;p&gt;I started exploring this question by building an open-source project called &lt;strong&gt;Wayfinder Migration Advisor&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/samirsahoo/wayfinder-migration-advisor" rel="noopener noreferrer"&gt;https://github.com/samirsahoo/wayfinder-migration-advisor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this article, I'll explain the problem, architecture, multi-agent orchestration approach, governance model, and some engineering decisions behind the implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The problem: Cloud migration needs architectural intelligence
&lt;/h2&gt;

&lt;p&gt;Imagine a legacy banking application with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Java-based monolithic architecture.&lt;/li&gt;
&lt;li&gt;Oracle database.&lt;/li&gt;
&lt;li&gt;Multiple downstream integrations.&lt;/li&gt;
&lt;li&gt;PCI DSS requirements.&lt;/li&gt;
&lt;li&gt;Regional data residency constraints.&lt;/li&gt;
&lt;li&gt;Complex batch processing.&lt;/li&gt;
&lt;li&gt;Limited technical documentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A conventional cloud assessment might recommend moving the application to AWS or Azure.&lt;/p&gt;

&lt;p&gt;But that recommendation doesn't answer the important questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Should we rehost, replatform, refactor, or rebuild?&lt;/li&gt;
&lt;li&gt;What happens to the existing database?&lt;/li&gt;
&lt;li&gt;Which application dependencies need to be migrated first?&lt;/li&gt;
&lt;li&gt;How do we maintain regulatory compliance?&lt;/li&gt;
&lt;li&gt;What is the expected migration effort?&lt;/li&gt;
&lt;li&gt;How will the new architecture impact operational costs?&lt;/li&gt;
&lt;li&gt;Who validates and approves the proposed migration strategy?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is where a coordinated multi-agent approach becomes interesting.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Introducing Wayfinder Migration Advisor
&lt;/h2&gt;

&lt;p&gt;Wayfinder is an Agentic AI-powered advisory framework designed to assess existing enterprise applications and generate structured cloud migration and modernisation roadmaps.&lt;/p&gt;

&lt;p&gt;Instead of sending the entire problem to a single LLM prompt, the solution uses specialised agents orchestrated through LangGraph.&lt;/p&gt;

&lt;p&gt;The objective is to generate a structured advisory report covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Migration readiness assessment.&lt;/li&gt;
&lt;li&gt;Cloud architecture recommendations.&lt;/li&gt;
&lt;li&gt;Database and data migration considerations.&lt;/li&gt;
&lt;li&gt;Business value and KPI alignment.&lt;/li&gt;
&lt;li&gt;Operating model recommendations.&lt;/li&gt;
&lt;li&gt;Regulatory and operational risk assessment.&lt;/li&gt;
&lt;li&gt;Cost and effort estimation.&lt;/li&gt;
&lt;li&gt;Phased migration roadmap.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key architectural principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agents analyse and recommend. Humans validate and approve.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Architecture: Specialised agents with clearly defined responsibilities
&lt;/h2&gt;

&lt;p&gt;The application uses LangGraph to coordinate specialised agents through a state-driven workflow.&lt;/p&gt;

&lt;p&gt;Each agent has a specific responsibility and produces structured findings that are consumed by subsequent stages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Agent responsibilities
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Discovery Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Evaluates the existing system profile, technical complexity, and migration readiness.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Cloud Architecture Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Evaluates cloud platforms, migration patterns, service decomposition opportunities, and target architecture recommendations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Data Migration Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Assesses database versions, end-of-support information, data volume, and migration mechanisms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Business Value Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Evaluates whether the proposed migration strategy aligns with business objectives and expected KPIs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Operating Model Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Examines team structure, operational topology, skills gaps, and on-call requirements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Risk and Compliance Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Identifies regulatory and operational risks, including critical compliance findings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Cost and ROI Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Provides migration effort sizing, cost considerations, and total cost of ownership narratives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Governance Agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Coordinates the approval process and generates the final migration advisory report.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow orchestration
&lt;/h3&gt;

&lt;p&gt;The overall execution flow looks like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb29kyi68b0pv0uppu9d2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb29kyi68b0pv0uppu9d2.png" alt=" " width="800" height="875"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is not simply a collection of independent AI agents.&lt;/p&gt;

&lt;p&gt;It is a coordinated decision-support workflow where downstream decisions depend on upstream findings.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Why LangGraph?
&lt;/h2&gt;

&lt;p&gt;For this use case, I wanted an orchestration framework that supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stateful workflows.&lt;/li&gt;
&lt;li&gt;Conditional routing.&lt;/li&gt;
&lt;li&gt;Structured state management.&lt;/li&gt;
&lt;li&gt;Human-in-the-loop execution.&lt;/li&gt;
&lt;li&gt;Workflow interruption and resumption.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LangGraph provides these capabilities.&lt;/p&gt;

&lt;p&gt;The workflow can be modelled as a graph where each node represents an agent or processing stage.&lt;/p&gt;

&lt;p&gt;Conceptually:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langgraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;graph&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;StateGraph&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;START&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;END&lt;/span&gt;

&lt;span class="n"&gt;builder&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;StateGraph&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;MigrationState&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_node&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"discovery"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;discovery_agent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_node&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"architecture"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;architecture_agent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_node&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"risk"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;risk_agent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_node&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"cost_roi"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cost_roi_agent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_node&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"governance"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;governance_agent&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;START&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"discovery"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"discovery"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"architecture"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"architecture"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"risk"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"risk"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"cost_roi"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"cost_roi"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"governance"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;builder&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_edge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"governance"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;END&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This illustrates the basic graph structure. The actual project includes additional nodes, routing, and approval handling.&lt;/p&gt;

&lt;p&gt;The benefit is that orchestration logic remains explicit rather than being hidden inside a large prompt.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Human-in-the-loop: Governance must be part of the workflow
&lt;/h2&gt;

&lt;p&gt;One of the biggest concerns with enterprise Agentic AI is excessive autonomy.&lt;/p&gt;

&lt;p&gt;An AI agent may generate a convincing recommendation, but that doesn't automatically make it correct.&lt;/p&gt;

&lt;p&gt;For cloud migration, incorrect decisions can introduce financial, operational, security, and regulatory risks.&lt;/p&gt;

&lt;p&gt;Wayfinder implements a human approval gate using LangGraph's:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;interrupt()&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Command(resume=...)&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The workflow pauses when governance approval is required.&lt;/p&gt;

&lt;p&gt;The reviewer can approve or request changes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langgraph&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;types&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;interrupt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Command&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;governance_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;state&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

    &lt;span class="n"&gt;decision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;interrupt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Migration approval required"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"risk_summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;state&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"risk_summary"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"migration_strategy"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;state&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"migration_strategy"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"approve"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"approval_status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"APPROVED"&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"approval_status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CHANGES_REQUESTED"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"reviewer_notes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"notes"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a simplified illustration of the approval interaction; the repository implements additional validation and safeguards.&lt;/p&gt;

&lt;p&gt;The governance mechanism includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit approval or rejection.&lt;/li&gt;
&lt;li&gt;Mandatory reviewer notes for critical-risk approvals.&lt;/li&gt;
&lt;li&gt;Rejection of invalid or pending decisions.&lt;/li&gt;
&lt;li&gt;An audit-oriented record of review decisions.&lt;/li&gt;
&lt;li&gt;No automatic infrastructure changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, a migration involving PCI DSS critical risks cannot be approved without a reviewer note.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Human-in-the-loop should be an actual execution control, not merely an AI-generated message asking someone to approve a decision.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Explainable AI: Don't let the LLM decide everything
&lt;/h2&gt;

&lt;p&gt;Another important engineering decision was separating deterministic analysis from LLM-generated narratives.&lt;/p&gt;

&lt;p&gt;I deliberately avoided making the LLM responsible for every analytical decision.&lt;/p&gt;

&lt;p&gt;Wayfinder uses deterministic Python heuristics for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Migration readiness scoring.&lt;/li&gt;
&lt;li&gt;Regulatory risk classification.&lt;/li&gt;
&lt;li&gt;Database end-of-support checks.&lt;/li&gt;
&lt;li&gt;Migration effort classification.&lt;/li&gt;
&lt;li&gt;Architecture recommendations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The LLM is optional and is used for generating readable narrative summaries.&lt;/p&gt;

&lt;p&gt;The current implementation supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;MockNarrator&lt;/code&gt;: deterministic output without an external model.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;AnthropicNarrator&lt;/code&gt;: optional LLM-generated summaries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This means the application can run without an API key or external model dependency.&lt;/p&gt;

&lt;p&gt;Why is this important?&lt;/p&gt;

&lt;p&gt;Consider a migration readiness score.&lt;/p&gt;

&lt;p&gt;If an LLM simply returns a score of 35/100, how do we validate that number?&lt;/p&gt;

&lt;p&gt;A deterministic scoring mechanism makes the calculation inspectable and easier to test.&lt;/p&gt;

&lt;p&gt;Similarly, regulatory risk classifications should have identifiable reasons behind them.&lt;/p&gt;

&lt;p&gt;I believe this separation between deterministic decision-making and probabilistic language generation is an important architectural pattern for enterprise AI systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Example: Assessing a legacy banking platform
&lt;/h2&gt;

&lt;p&gt;The repository includes three example system profiles representing different migration scenarios.&lt;/p&gt;

&lt;p&gt;One example is a legacy trading platform called &lt;code&gt;Core Trading Ledger&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Its illustrative assessment produces:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Assessment&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Migration readiness&lt;/td&gt;
&lt;td&gt;5/100&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recommended approach&lt;/td&gt;
&lt;td&gt;Refactor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Programme size&lt;/td&gt;
&lt;td&gt;XL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Indicative duration&lt;/td&gt;
&lt;td&gt;14 months&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Identified risks&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Critical risks&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The proposed architecture includes AWS and IBM Cloud for data-residency-constrained regions.&lt;/p&gt;

&lt;p&gt;These are illustrative outputs from the current heuristic model, not validated migration estimates or a production business case.&lt;/p&gt;

&lt;p&gt;The important point is that the system attempts to connect technical architecture decisions with business value, regulatory requirements, data migration, operational readiness, and governance.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Technology stack
&lt;/h2&gt;

&lt;p&gt;The project uses a relatively lightweight Python-based architecture.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;th&gt;Responsibility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Python&lt;/td&gt;
&lt;td&gt;Core implementation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LangGraph&lt;/td&gt;
&lt;td&gt;Agent orchestration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pydantic&lt;/td&gt;
&lt;td&gt;Typed models and structured outputs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;YAML&lt;/td&gt;
&lt;td&gt;Enterprise system profiles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Anthropic API&lt;/td&gt;
&lt;td&gt;Optional narrative generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pytest&lt;/td&gt;
&lt;td&gt;Automated testing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Some notable engineering choices:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Typed agent communication&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Agents exchange structured findings rather than unrestricted natural-language responses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conditional workflow routing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Critical risk findings can change the execution path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fail-closed governance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Invalid or incomplete approval decisions are rejected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pluggable LLM integration&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The analytical workflow is independent of the selected language model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Automated testing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The repository includes 686 offline tests across 15 test files covering agents, workflow execution, governance, reporting, and example scenarios.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Run the project locally
&lt;/h2&gt;

&lt;p&gt;You can explore the implementation and run the example assessments locally.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.12+&lt;/li&gt;
&lt;li&gt;pip&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Clone the repository
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/samirsahoo/wayfinder-migration-advisor.git

&lt;span class="nb"&gt;cd&lt;/span&gt; wayfinder-migration-advisor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Create a virtual environment
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python -m venv .venv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Activate it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Windows&lt;/span&gt;
.venv\Scripts\activate

&lt;span class="c"&gt;# Linux / macOS&lt;/span&gt;
&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Install dependencies
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install -e .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Run an assessment
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wayfinder run examples/legacy_trading_platform.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explore the other scenarios:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wayfinder run examples/retail_order_platform.yaml

wayfinder run examples/internal_reporting_tool.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generate a report with an explicit approval note:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wayfinder run examples/legacy_trading_platform.yaml \
  --approve-note &lt;span class="s2"&gt;"Architecture review completed"&lt;/span&gt; \
  --out report.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The repository also includes four Claude Code Agent Skills to help author system profiles, run assessments, review roadmaps, and extend regulatory coverage.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. What's next?
&lt;/h2&gt;

&lt;p&gt;Wayfinder is currently a portfolio-grade reference implementation rather than a production migration-planning platform.&lt;/p&gt;

&lt;p&gt;Some areas I would like to explore further:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enterprise application discovery&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Integrate with source repositories, CMDBs, application inventories, and dependency analysis tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Knowledge-driven recommendations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Introduce curated architecture patterns, cloud service catalogues, vendor lifecycle information, and regulatory knowledge sources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Persistent workflow state&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Introduce persistent checkpoint storage to support long-running approval workflows and process restarts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Improved cost modelling&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Integrate cloud pricing, licensing, infrastructure utilisation, and operational expenditure data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enterprise governance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Extend the approval process with role-based access, reviewer delegation, evidence management, and audit integrations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Architecture validation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Connect target architecture recommendations with architecture rules, security controls, and infrastructure-as-code validation.&lt;/p&gt;

&lt;p&gt;These are potential evolution paths, not capabilities currently implemented.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. Key engineering lessons
&lt;/h2&gt;

&lt;p&gt;Building a multi-agent application is relatively straightforward compared with building one that enterprises can trust.&lt;/p&gt;

&lt;p&gt;The real engineering challenges are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Defining clear agent responsibilities.&lt;/li&gt;
&lt;li&gt;Controlling how agents exchange information.&lt;/li&gt;
&lt;li&gt;Separating deterministic analysis from LLM-generated content.&lt;/li&gt;
&lt;li&gt;Managing dependencies between decisions.&lt;/li&gt;
&lt;li&gt;Handling critical risks and exceptions.&lt;/li&gt;
&lt;li&gt;Maintaining human accountability.&lt;/li&gt;
&lt;li&gt;Producing explainable and reviewable outputs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For me, Wayfinder is an exploration of how Agentic AI can support enterprise architecture and technology modernisation.&lt;/p&gt;

&lt;p&gt;I believe the next generation of enterprise AI systems will not be defined by how many agents they contain or how autonomously they operate.&lt;/p&gt;

&lt;p&gt;They will be defined by how reliably they support business decisions, how transparently they explain their recommendations, and how effectively they operate within human governance boundaries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI should accelerate enterprise decision-making, not replace enterprise accountability.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Explore the project and contribute
&lt;/h2&gt;

&lt;p&gt;GitHub Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/samirsahoo/wayfinder-migration-advisor" rel="noopener noreferrer"&gt;https://github.com/samirsahoo/wayfinder-migration-advisor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project is open source under the MIT License.&lt;/p&gt;

&lt;p&gt;I welcome feedback, architectural discussions, suggestions, and contributions from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solution Architects.&lt;/li&gt;
&lt;li&gt;Cloud Architects.&lt;/li&gt;
&lt;li&gt;Enterprise Architects.&lt;/li&gt;
&lt;li&gt;AI Engineers.&lt;/li&gt;
&lt;li&gt;Python Developers.&lt;/li&gt;
&lt;li&gt;Technology Modernisation Practitioners.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are exploring Agentic AI for enterprise architecture, cloud transformation, or technology modernisation, I'd be interested in hearing about your experiences.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What would you add to an Agentic AI-powered enterprise migration advisor?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let's build enterprise AI systems that are intelligent, explainable, governed, and trustworthy.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fik1avmw6rvcrkbhim16c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fik1avmw6rvcrkbhim16c.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agentskills</category>
      <category>cloud</category>
      <category>genai</category>
    </item>
  </channel>
</rss>
