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

Offen
#1,776 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@nborges-aws arbeitet bereits daran.

Seit 17.7.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
339
Forks
129
Ø Merge
19 Std. 21 Min.
Gemergte PRs (30 T.)
125

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus aws/agentcore-cli

Alle Issues in aws/agentcore-cli

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.