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 やくも
AppSync を使ったアプリを作ったよ。 FESTA in 秋田でみんなで交流しよう。
yakumo
0
67
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
230
【日本語版】Filter What the LLM Reads: RAG Governance with AgentCore Gateway
yakumo
2
76
Filter What the LLM Reads: RAG Governance with AgentCore Gateway
yakumo
1
140
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
440
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
1
300
Text-to-SQLをAgentCoreで実現し、生成されるSQLの精度を定量的に評価する
yakumo
2
1.5k
社内RAGの導入で気を付けたポイント
yakumo
3
230
おいらのAWSアップデートの追い方〜Slack×AgentCore〜
yakumo
2
230
Other Decks in Technology
See All in Technology
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
140
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
`go get`したらELFが降ってきた件
taiyow
0
190
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
120
GCASアップデート(202607-202610)
techniczna
1
230
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
200
Metadata - Section 3 : Dublin Core Standard · DC
mohab1
0
110
BALLAS Technology Deck
ballas_inc
0
220
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
250
公共システムAdventCalendar2026
toru_kubota
0
280
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.4k
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
410
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
410
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
560
Designing for Timeless Needs
cassininazir
1
550
Chasing Engaging Ingredients in Design
codingconduct
0
390
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
450
Odyssey Design
rkendrick25
PRO
2
930
Six Lessons from altMBA
skipperchong
29
4.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Google's AI Overviews - The New Search
badams
0
1.7k
Test your architecture with Archunit
thirion
2
2.5k
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は、短期→長期の抽出条件を簡単に選べる →重要なのは「何を覚えるのか」をどう決めるか
お昼のセッションで話します
このへん