feat: support STM-only memory option for TypeScript Strands agents

オープン
#1,776 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@nborges-aws がすでに取り組んでいます。

2026年7月17日 から。

評価

この issue はまだ評価されていません。

説明

enhancement
Description

TypeScript Strands agents currently only offer two memory options: "no memory" or "LTM + STM". The "STM only" option (available for Python Strands agents) is missing because the Strands TS SDK and Bedrock AgentCore TS SDK do not support the necessary session management primitives.

We should support STM for TS strands agent once necessary support is available in strands & TS SDK.

Acceptance Criteria
  • "STM only" appears as a selectable memory option in the TUI and is accepted via --memory shortTerm for TypeScript Strands agents
  • Selecting "STM only" wires the agent to the deployed AgentCore Memory resource via the TS SDK's session manager (durable — survives cold starts)
  • The LRU cache in the "no memory" template path is replaced with Strands-native SessionManager + InMemoryStorage
  • Multi-turn recall works within a session (turn 2 remembers turn 1)
  • Sessions are isolated (session A's history does not bleed into session B)
  • Behavior matches the Python Strands template for the equivalent memory options
Additional Context

#1636: add support for TS memory
#1666: short-term LRU cache for per-session STM
Strands TS storage interface: https://github.com/strands-agents/harness-sdk/blob/main/strands-ts/src/session/session-manager.ts
TS SDK tracking issue: https://github.com/aws/bedrock-agentcore-sdk-typescript/issues/214

主要言語
TypeScript
スター
339
フォーク
129
平均マージ
19時間 21分
マージ済み PR(30日)
125

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/agentcore-cli のほかの issue

aws/agentcore-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。