Skip to Content
Transformer実践ガイド ―画像・音声・時系列からエージェントまで
book

Transformer実践ガイド ―画像・音声・時系列からエージェントまで

by Nicole Koenigstein, 中山 光樹
October 2026
384 pages
6h 14m
Japanese
O'Reilly Japan, Inc.
Content preview from Transformer実践ガイド ―画像・音声・時系列からエージェントまで

9章スクリプトから思考へ:複雑なタスクのためのAIエージェント

従来のワークフローは、十分にリハーサルされた演劇のようなものです。実行する手順は固定され、役者は決められた台詞を話し、結末もあらかじめ決まっています。これに対して、エージェント型システム(agentic system)は、固定された台本に従うだけではありません。状況に応じて次に取るべき行動を選び、必要に応じて方針を変え、別のツールやエージェントを処理に組み込むことができます。

この違いは、即興劇の考え方に近いものです。即興には「Yes, and...」というルールがあります。これは、相手から与えられた状況をまず受け入れ、そのうえで何かを加えて物語を前に進めるという考え方です。AIの文脈で言えば、「Yes」は現在の状態、コンテキスト、他のエージェントやツールから得られた結果を破棄せずに受け入れることを意味します。そして「and」は、そこに推論、行動、新しい情報を加え、タスクをさらに前進させることを意味します。

より自律性の高いエージェント型システムでは、計画、行動、観察、必要に応じた修正を反復する構成を取ることがあります。事前に定義されたスクリプトから、状況に応じて判断し、協調しながら進める意思決定へ移行すること。これこそが、AIエージェントにおける自律性の核心です。表9-1は、従来のワークフローとエージェント型システムの違いを比較したものです。

表9-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

Python Crash Course, 3rd Edition

Python Crash Course, 3rd Edition

Eric Matthes
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
Fundamentals of Data Engineering

Fundamentals of Data Engineering

Joe Reis, Matt Housley

Publisher Resources

ISBN: 9784814401833Publisher Website