Skip to Content
生成AIデザインパターン ―AIエージェント構築、アプリケーション開発のベストプラクティス
book

生成AIデザインパターン ―AIエージェント構築、アプリケーション開発のベストプラクティス

by Valliappa Lakshmanan, Hannes Hapke, 中田 秀基
May 2026
Intermediate
520 pages
8h 21m
Japanese
O'Reilly Japan, Inc.
Content preview from 生成AIデザインパターン ―AIエージェント構築、アプリケーション開発のベストプラクティス

10章組み合わせ可能なエージェント型ワークフロー

本章では、9章までに示したパターンを1つのアプリケーションにまとめ、複数のパターンが相互作用することで、時間とともに改善されていく実運用環境に対応したエージェント型アプリケーションの構築が可能になることを示す。

この章の完全なコードは、本書のGitHub リポジトリ(https://oreil.ly/-hhhv)にある。好みのPython IDEでコードを開いて、一緒に読み進めて欲しい。

10.1 エージェント型ワークフロー

この章では、完全なアプリケーションを構築するのではなく、顧客のユースケースに対応するアプリケーションの垂直スライスを示す。生成AIでは、このような垂直スライスは、AIアシストや完全自動化への途上にあるユーザ主導(手動)のワークフローに対応することが多い。AIアシスタントはコパイロットと呼ばれ、自律型AIはエージェントと呼ばれる。このスペクトラム上のアプリケーションはすべてエージェント型と呼ばれる。したがって、ここでGitHubリポジトリに用意したものは、「エージェント型ワークフロー」と言えるだろう。

このワークフローは教育コンテンツの作成を意図している。マルチエージェントコラボレーション[パターン23]の説明で見たのと同じユースケースだ。概要を図10-1に示す。図7-5に示したものとは異なり、レビューのステージが1つではなく2つあり、転送されるデータも描かれていることに注意してほしい。また、コンテンツ執筆チームには、本書の内容に基づいて生成AIについて執筆する執筆エージェントを含め、さらに数名の執筆エージェントがいる。

図10-1 教育コンテンツ作成のエンドツーエンド事例におけるエージェント間の協調 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

大規模データ管理 ―エンタープライズアーキテクチャのベストプラクティス

大規模データ管理 ―エンタープライズアーキテクチャのベストプラクティス

Piethein Strengholt, 村上 列

Publisher Resources

ISBN: 9784814401635Publisher Website