Cloud migration is rarely a simple lift-and-shift operation for enterprise legacy systems. It involves navigating regulatory constraints, technical debt, and operational risks that single-prompt LLMs often miss. Samir Sahoo’s new open-source project, Wayfinder Migration Advisor, addresses this complexity by orchestrating specialized AI agents using LangGraph. The framework moves beyond basic recommendations to provide a structured, multi-agent advisory system for enterprise modernization.

The Problem With Monolithic Prompts

Traditional cloud assessments often fail to answer critical questions like whether to rehost, replatform, or refactor a Java-based monolith with Oracle dependencies. Sahoo argues that sending the entire problem to a single LLM prompt lacks the architectural intelligence required for enterprise decisions. Wayfinder decomposes the workflow into eight distinct agents, each with a specific responsibility. These include Discovery, Cloud Architecture, Data Migration, Business Value, Operating Model, Risk and Compliance, Cost and ROI, and a final Governance Agent.

Deterministic Analysis Meets Generative AI

A key architectural decision in Wayfinder is the separation of deterministic analysis from probabilistic language generation. The system uses Python heuristics for critical calculations, such as migration readiness scoring and regulatory risk classification. This ensures that core analytical outputs are inspectable and testable, rather than relying on an LLM to guess a score. The LLM, via Anthropic’s API, is optional and reserved for generating readable narrative summaries. If no API key is provided, the system defaults to a MockNarrator, allowing it to run entirely offline.

Human-In-The-Loop As Execution Control

Enterprise AI cannot afford excessive autonomy when financial and regulatory stakes are high. Wayfinder implements a strict human approval gate using LangGraph’s interrupt() and Command(resume=...) functions. The workflow pauses when governance approval is required, forcing a human reviewer to approve or request changes. This mechanism ensures that critical risks, such as those involving PCI DSS compliance, cannot be bypassed by an automated agent. The system maintains an audit-oriented record of review decisions, reinforcing that AI should accelerate decision-making without replacing human accountability.

Engineering For Trust And Testability

The project emphasizes robust engineering practices suitable for enterprise scrutiny. It features typed agent communication using Pydantic models, ensuring agents exchange structured findings rather than ambiguous natural language. The repository includes 686 offline tests across 15 test files, covering agents, workflow execution, and governance scenarios. While currently a portfolio-grade reference implementation, Wayfinder demonstrates how to build AI systems that are explainable, governed, and trustworthy by design.

Key Takeaways

  • Wayfinder uses LangGraph to orchestrate eight specialized agents for cloud migration advisory.
  • Core analytical decisions are handled by deterministic Python heuristics, not LLMs, to ensure testability.
  • Human-in-the-loop governance is implemented as an execution control, pausing workflows for mandatory approval.
  • The system supports offline operation via MockNarrator, with optional LLM integration for narrative generation.
  • The project includes 686 automated tests and follows strict typed communication between agents.

The Bottom Line

Wayfinder proves that the future of enterprise AI isn't about maximizing autonomy, but about embedding rigorous governance and deterministic logic into agentic workflows. It is a necessary correction to the 'black box' problem in enterprise automation.