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
710
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 やくも
【日本語版】Filter What the LLM Reads: RAG Governance with AgentCore Gateway
yakumo
1
44
Filter What the LLM Reads: RAG Governance with AgentCore Gateway
yakumo
0
100
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
370
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
1
300
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
1.5k
社内RAGの導入で気を付けたポイント
yakumo
3
220
おいらのAWSアップデートの追い方〜Slack×AgentCore〜
yakumo
2
220
AgentCore Managed Harness を使ってみよう
yakumo
2
690
AgentCoreがWindowsで動かなかった原因を調べてみた
yakumo
1
150
Other Decks in Technology
See All in Technology
QAエンジニアがSoutherを使ってみたの〜10分でわかるSouther〜
mhlyc
0
120
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
690
スクラム祭り2026福井トラック_閉じたループから価値のスパイラルへ
kc_nakanishi
0
170
freeeにおける AI を用いた ブラウザ動作確認の自動化の取り組み
freee
PRO
0
210
Metadata - Section 2: Simple Metadata & Meta Tags
mohab1
0
140
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
260
フィンテック養成勉強会#68
finengine
0
240
演劇と私とスクラム
chinmo
0
160
国際カードブランドルール変更に伴うクレジットカード決済取引仕様変更について
k1style
0
230
野良MCPサーバーを排除せよ!MCPサーバーのガバナンス
yukiogawa
1
240
LLM Content Moderationを支える評価・改善ループの実践
suikabar
2
350
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
3
290
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
360
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Unsuck your backbone
ammeep
672
58k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The browser strikes back
jonoalderson
0
1.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
Bash Introduction
62gerente
615
220k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
340
Between Models and Reality
mayunak
4
500
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は、短期→長期の抽出条件を簡単に選べる →重要なのは「何を覚えるのか」をどう決めるか
お昼のセッションで話します
このへん