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

未關閉
#1,776 0 則留言 0 個 reaction 已指派 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 分鐘
30 天內合併 PR
125

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aws/agentcore-cli 的其他 Issue

查看 aws/agentcore-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。