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の長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
Search
やくも
December 16, 2025
Technology
700
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
JAWS-UG東京 ランチタイムLT会 #30
https://jawsug.connpass.com/event/375555/
やくも
December 16, 2025
More Decks by やくも
See All by やくも
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
190
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
1
290
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
1.4k
社内RAGの導入で気を付けたポイント
yakumo
3
210
おいらのAWSアップデートの追い方〜Slack×AgentCore〜
yakumo
2
210
AgentCore Managed Harness を使ってみよう
yakumo
2
650
AgentCoreがWindowsで動かなかった原因を調べてみた
yakumo
1
150
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
470
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
2
780
Other Decks in Technology
See All in Technology
AWS FinOps Agent 結局何が得意なの?
siromi
0
230
AI感のないAWS構成図をAIエージェントに描かせたい!
sagochiko
2
500
[2026 Oracle Technical Deep Dive] AI時代のデータベース基盤をどう選ぶ? Exadata Database Serviceの選択肢と使い分け (2026年9月17日開催)
oracle4engineer
PRO
0
190
AI Native Platform Engineering 〜PlatformとAgileで“作る速さ”を“価値”へ〜
uya116
0
600
【Findyテック文化祭ワークショップ】新卒エンジニア&採用担当と作る、 なりたい姿と今やるべき一歩
dip_tech
PRO
0
150
覗いてみよう 関数型ビジュアル言語×2Dグラフィックスの世界
yohyamasaki
0
160
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
140
OpenClawでAzure DevOpsのWiki更新を自動化する - クラウドAIだけでは届かない場所へ
yutakaosada
0
140
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
320
Meet AgentCore Identity Consent Portal
hironobuiga
3
160
Lambda MicroVMsが分からなすぎたので使い所を1から考えてみた
tsukuboshi
2
300
Snowflake Horizon Catalog と Apache Iceberg で作る オープンなデータ基盤
kitagawaz
0
390
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Designing for Performance
lara
611
70k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
910
Producing Creativity
orderedlist
PRO
348
41k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The SEO identity crisis: Don't let AI make you average
varn
0
570
Building AI with AI
inesmontani
PRO
1
1.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
340
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
240
Abbi's Birthday
coloredviolet
4
10k
Transcript
AIの短期記憶と長期記憶について ~AgentCoreを例に考えてみた~ 八雲 慎之助/Shinnosuke Yakumo 2025/12/17 ランチタイムLT #30
八雲 慎之助 出身:新潟県新潟市 年次:2年目 受賞:2025 Japan AWS Jr.Champions 好きなサービス:Amazon Neptune,
AgentCore 自己紹介 @yakumo_09 @yakumo_0905
本日お話しすること 1. AIで記憶処理が重要なワケ 2. 短期記憶と長期記憶の違い 3. AWS(AgentCore)だとこんな感じ モデルだけでなく、AIの記憶処理はうまく設計することが重要
AIで記憶処理が重要なワケ モデルは永続的な記憶を持たない 先週の件について 覚えてないンゴw
外部に別途保存場所を作る必要があった Lambda+DynamoDBなど
めんどくさくない…?
AgentCoreではマネージドに管理可能
一連の流れをサポートしてくれます イベント 短期記憶 長期記憶 抽出
短期記憶と長期記憶の違い •短期記憶 • セッション内でプロンプトとして渡されている会話コンテキスト •長期記憶 • 短期記憶から重要そうな情報をLLMがよしなに抽出して形成 Ex)ユーザーの趣味嗜好や傾向など
イメージはこんな感じ Amazon Bedrock AgentCore ランタイムエージェント 長期記憶 短期記憶 自動抽出 会話履歴など あなたの趣味嗜好
一つのイベント(やりとり)のイメージ sessionId:A ListSessions, GetEvent CreateEvent 短期記憶 sessionId:A やりとり内容 actorId:A エージェント
一つのイベント(やりとり)のイメージ sessionId:A ListSessions, GetEvent CreateEvent 短期記憶 sessionId:A やりとり内容 actorId:A エージェント
エージェント CreateEvent 一つのイベント(やりとり)のイメージ sessionId:A 短期記憶 sessionId:A やりとり内容 actorId:A ListSessions, GetEvent
短期記憶→長期記憶の抽出はどうやっている?
長期記憶形成のイメージ 趣味嗜好、 過去の傾向など 長期記憶 抽出 統合 sessionId:A やりとり内容 actorId:A sessionId:A
エージェント 短期記憶 CreateEvent ListSessions, GetEvent 短期記憶はここでやってた
長期記憶形成のイメージ 趣味嗜好、 過去の傾向など 長期記憶 抽出 統合 sessionId:A やりとり内容 actorId:A sessionId:A
エージェント 短期記憶 CreateEvent ListSessions, GetEvent 短期記憶はここでやってた
短期記憶はここでやってた actorId:A sessionId:A エージェント CreateEvent ListSessions, GetEvent 長期記憶形成のイメージ sessionId:A やりとり内容
短期記憶 趣味嗜好、 過去の傾向など 長期記憶 抽出 統合
NeptuneなどのグラフDBを使って 関連付けを抽出するケースもありました。 めんどくさい 実装に工数がかかる
記憶戦略というものがあります!
記憶戦略について 1. 完全マネージドな記憶戦略 2. マネージドな戦略をカスタマイズしてオーバーライド 3. 完全セルフマネージドな戦略を用意する
None
記憶戦略について 短期記憶 長期記憶 抽出・統合 要約 / 知識 / 嗜好 /
経験 ここの「抽出・統合」の部分 をどう設計するか
まとめ • 短期記憶:会話などのイベントごとの一時的な記憶 • 長期記憶:短期記憶に基づく意味のある情報 • AgentCoreは、短期→長期の抽出条件を簡単に選べる →重要なのは「何を覚えるのか」をどう決めるか
お昼のセッションで話します
このへん