DDD 指向ワークフロー駆動型エージェントアーキテクチャ
レガシーシステムモダナイゼーションへの適用
DOI:
https://doi.org/10.51094/jxiv.3386キーワード:
エージェント、 ドメイン駆動設計、 ワークフロー、 クリーンアーキテクチャ、 言語モデル、 LangGraph抄録
レガシーシステムのモダナイゼーションは、単なるコード変換ではなく、解析・依存統合・仕様抽象化・設計・生成・実行検証といった複数工程からなる段階的プロセスである。LLM を単発で利用する方式では、工程間依存・中間成果物・再実行性・責務分離が不明確になりやすい。
本研究はレガシーモダナイゼーション過程を「メタ業務」として再定義し、ドメイン駆動設計(Domain Driven Design, DDD)[1]/クリーンアーキテクチャ[2] の考え方により、LLM 呼び出し・ストレージ・実行環境をポート抽象化したワークフロー型基盤を提案する。さらにLangGraphによる状態遷移モデルと自己修復ループ(テスト失敗時の差分パッチ適用)を実装し、VB6 およびCOBOL のケーススタディにより、手動修正なしで実行可能状態へ到達できることを示す。
利益相反に関する開示
著者は本研究に関して開示すべき利益相反はない。ダウンロード *前日までの集計結果を表示します
引用文献
E. Evans, Domain-Driven Design: Tackling Complexity in the Heart of Software. Boston, MA: Addison-Wesley, 2003.
R. C. Martin, Clean Architecture: A Craftsman’s Guide to Software Structure and Design. Prentice Hall, 2017.
A. Cockburn, “Hexagonal architecture,” 2005, available online.
M. Fowler, Patterns of Enterprise Application Architecture. Addison-Wesley, 2002.
“E2b sandbox,” https://e2b.dev/.
R. Kazman, S. G. Woods, and S. J. Carriere, “Requirements for integrating software architecture and reengineering models: Corumii,” 1998.
C. Jimenez, J. Yang et al., “Swe-bench: Can language models resolve real-world github issues?” in International Conference on Learning Representations, 2024.
W. Zhang et al., “Leveraging large language models for legacy code understanding and modernization,” arXiv preprint arXiv:2411.14971, 2024.
A. Rahman et al., “Automated translation of legacy code using large language models,” arXiv preprint arXiv:2405.04219, 2024.
R. Kumar et al., “Autonomous legacy application modernization using multi-agent systems,” arXiv preprint arXiv:2501.19204, 2025.
ダウンロード
公開済
投稿日時: 2026-03-12 02:20:11 UTC
公開日時: 2026-04-10 02:06:34 UTC
ライセンス
Copyright(c)2026
Sakaguchi, Yuji
この作品は、Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Licenseの下でライセンスされています。
