Skip to content

[FEATURE] Memory Distinguished by Custom Key​​ #2584

@ChowXu

Description

@ChowXu

Feature Area

Agent capabilities

Is your feature request related to a an existing bug? Please link it here.

No

Describe the solution you'd like

Currently, agents share a ​​global memory space​​ without isolation. This makes it impossible to:

  • Scope memories to specific entities (e.g., users, accounts, sessions).
  • Retrieve memories contextually (e.g., fetch only memories tied to account_id=123).
  • Prevent accidental data leakage across logical boundaries.

Which will have the following Benefits

✅ ​​Multi-tenancy​​: Isolate memories per user/account/context.
✅ ​​Contextual Recall​​: Agents fetch only relevant memories.

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

Yes, I'd be happy to submit a pull request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions