Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
なぜ今 AI Agent なのか _近藤憲児
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kenji KONDO
November 15, 2024
Technology
7.1k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
なぜ今 AI Agent なのか _近藤憲児
Kenji KONDO
November 15, 2024
More Decks by Kenji KONDO
See All by Kenji KONDO
「AI倫理」以前_近藤憲児
kenjikondobai
1
86
AI_Agent_の作り方_近藤憲児
kenjikondobai
19
7.9k
「これが最小になる値はな〜んだ?」問題_最適化問題を考える_近藤憲児
kenjikondobai
0
290
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
4.8k
AI ChatBot 開発 Tips-近藤憲児
kenjikondobai
0
290
最適ワークスとAI-近藤憲児
kenjikondobai
0
120
LLMの評価-近藤憲児
kenjikondobai
1
490
スカイディスクの LLM の取り組み-近藤憲児
kenjikondobai
0
400
Spring Cloud Data Flow で構成される IIJ IoTサービス
kenjikondobai
0
480
Other Decks in Technology
See All in Technology
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.4k
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
210
え、こんなに早く改修できるの?──新人エンジニアとスクラムマスターの2人が語る、AI×アジャイル開発の現場
ysasago
2
530
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
9
1k
SREへの勘違いに気づいた後の話
tomodakengo
0
110
SREは、MCPとAutopilotをこう使え!
kazumax55
3
910
What the customer really needed
kawaguti
PRO
3
210
AIエージェントの権限管理 3: Agentic RAG の Fine grained access control 編
ren8k
0
140
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
3
920
Genieを崇めよ
kameitomohiro
0
170
データ_AIの事業の勝敗をわけるもの
nek0128
1
460
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.4k
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
890
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
It's Worth the Effort
3n
188
29k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Six Lessons from altMBA
skipperchong
29
4.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
A Tale of Four Properties
chriscoyier
163
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Transcript
なぜ今 AI Agent なのか LLMアプリケーションの次なる進化 近藤憲児
AI Agent の定義と特徴 Agentとは 環境と対話し、データを収集し、そのデータを使用して自己決定タ スクを実行して、事前に決められた目標を達成するための ソフトウェアプログラム https://aws.amazon.com/jp/what-is/ai-agents/ 特に注目したい特徴は、 「LLMに一度だけ依頼して良い結果を得る」というアプローチではなく、
「LLMを何度も呼び出して複雑な処理を自動的に実行する」という点
企業の参入 • AWS • Microsoft • 富士通 • CTC •
NTTデータ • … 注目プロダクト • Perplexity • GenSpark • FeloAI • Cursor • Dify • … 急速に広がる AI Agent https://jp.reuters.com/business/technology/6RXM3NLXNZOQDPY3OB7R6A77BY-2024-10-21/ https://aws.amazon.com/jp/what-is/ai-agents/ https://pr.fujitsu.com/jp/news/2024/10/23.html https://www.nttdata.com/global/ja/news/release/2024/102401/
OpenAI も Agent を出すらしい 急速に広がる AI Agent https://xenospectrum.com/openai-to-release-next-generation-ai-agent-operator-for-developer/
対象とする受講生
AI Agentの登場の背景の一つに、LLMに要求されるタスクの複雑化がある 例えば、カスタマーサポートタスクを考える: • 最初は「顧客の質問への回答」という単純なタスク • そこに「過去の類似事例の参照」「製品仕様の確認」「トラブルシュー ティングの提案」「フォローアップの必要性判断」といった要求が追加 • →
これらを一つのプロンプトで処理しようとすると、対応の正確性と 一貫性が保てない この問題に対する自然な解決策が、 タスクを分割し、それぞれを独立してLLMに任せるというアプローチ = Agent なぜ Agent か?: 複雑化するタスク
https://speakerdeck.com/kenjikondobai/puronputoenziniaringudeganbaranai-agentic-workflow-he-jin-teng-xian-er なぜ Agent か?: 複雑化するタスク こちらに複雑化するタスクの例を書いてます
なぜ Agent か?: LLM の制約 LLMの基本的な制約 • 現在時刻を知ることができない • Web
ページにアクセスできない • データベースにアクセスできない • ファイルシステムを操作できない • 外部APIを呼び出すことができない • … 実現したいのは、これら「道具を使えるLLM」= Agent RAG(検索拡張生成)も「検索という道具を使うAgent」と捉えることができる。
どうやって AI Agent をつくる?
Agentをどうやって作る?: ReAct https://react-lm.github.io/
Agentをどうやって作る?: Agentic Workflow https://youtu.be/sal78ACtGTc?si=fVWCLQkgnd64bBFd
Andrew Ng によって提唱されたアプローチ 「一度で出力の生成を完結させるのではなく、LLMが反復的にタスクをこなし、出力を改善さ せる」という考え方を核としている • Reflection(自己改善) ◦ LLMが自身の出力を評価し改善する。推論の質を段階的に向上させる •
Tool Use(ツール活用) ◦ LLMの能力を外部ツールで拡張する。APIやデータベースなど、様々なツールの統合 • Planning(計画立案) ◦ 複雑なタスクを段階的に分解する。目標達成のための戦略を立案する • Multi-agent collaboration(協調) ◦ 専門化された複数のAgentの連携。タスクの分担と統合 Agentをどうやって作る?: Agentic Workflow
Agentをどうやって作る?: Agent Design Pattern Catalogue
Agentをどうやって作る?: Agent Design Pattern Catalogue • Yue Liu らによって提案された、 エージェントの開発を支援するための
18 の設計パターン • 先の Agentic Workflow も包含している • GoF(Gang of Four) の雰囲気
Agentをどうやって作る?: 実装フレームワーク LangGraph • 基本的に LangChain ベース • node と
edge の概念を用いて複数の LLM の協調を管理する • 書籍「LangChainとLangGraphによるRAG・AIエージェント[実践]入門」では LangGraph を用いて Agent Design Pattern Catalogue で示された設計を実装す る方法が提示されている AutoGen • Microsoft 製 • 非同期・分散処理など、スケーラブルなアーキテクチャにこだわりを感じる Swarm • OpenAI 製(※議論あり) • まだ実験的
先進的な例: sakana.ai の AI Scientist
先進的な例: sakana.ai の AI Scientist 特徴的な点: • 科学的営みの自動化という野心的な目標 • 2040年には機械学習分野でAIが自律的に研究を進められるというビジョン
• Agentic Design Patterns の実践的な活用 • LLMを数十〜百回も呼び出す大規模な連携 https://k-kondo-s.github.io/sakana-ai-scientist-code- analysis/ 実装の詳細まとめたので みてね
「AGI への架け橋」 として注目したい AI Agent