Skip to content

Memory SUMMARIZATION strategy not incorporating summaries in subsequent sessions #665

Description

@notgitika

Description

When adding memory with --strategies SUMMARIZATION, summaries appear to be written but are not incorporated (retrieved/used) in subsequent sessions. It's unclear whether this is a write-only operation or if retrieval is broken. Additionally, the docs do not clearly explain that Summarization must be wired to the memory session manager for it to work end-to-end.

Steps to Reproduce

  1. Run agentcore add memory --strategies SUMMARIZATION
  2. Start a session and interact with the agent
  3. End the session
  4. Start a new session and check whether summaries from the previous session are leveraged

Expected Behavior

Summaries from prior sessions should be incorporated and used to inform subsequent sessions, as implied by the "Get started" documentation.

Actual Behavior

Summaries do not appear to be leveraged in subsequent sessions. Users must additionally wire Summarization to the memory session manager, but this is not documented clearly. The docs at https://github.com/aws/agentcore-cli/blob/main/docs/memory.md#adding-memory-to-an-agent-without-memory need to be updated to clarify the required wiring.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions