Skip to content

Add Redis Agent Memory Server as memory type#1702

Draft
justin-cechmanek wants to merge 9 commits intoNVIDIA:developfrom
justin-cechmanek:feat/add-agent-memory-server
Draft

Add Redis Agent Memory Server as memory type#1702
justin-cechmanek wants to merge 9 commits intoNVIDIA:developfrom
justin-cechmanek:feat/add-agent-memory-server

Conversation

@justin-cechmanek
Copy link

Description

This PR adds a new package nvidia_nat_agent_memory_server which enables using Redis Agent Memory Server as a memory type.
Closes #1635

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
    • Any contribution which contains commits that are not Signed-Off will not be accepted.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

justin-cechmanek and others added 9 commits February 26, 2026 13:21
- Add package pyproject.toml, LICENSE, and LICENSE-3rd-party
- Package will provide Redis Agent Memory Server as a NAT memory type

Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
Made-with: Cursor
- Register packages/nvidia_nat_agent_memory_server in [tool.uv.workspace] members

Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
- Add nvidia-nat[agent-memory-server] extra and include in 'most' bundle

Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
- Add AgentMemoryServerEditor (add_items, search, remove_items) using agent-memory-client
- Add AgentMemoryServerMemoryConfig with base_url and default_namespace
- Register memory type via @register_memory and nat.components entry point
- Add agent-memory-client dependency and setuptools/entry-point config in pyproject.toml

Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
- Add tests/test_agent_memory_editor.py following nvidia_nat_redis structure
- Test add_items (success, empty list, conversation-derived text, skip no-text)
- Test search (success, missing user_id, empty memories)
- Test remove_items (by memory_id, by user_id, no-op when client lacks methods)
- Fix editor to import ClientMemoryRecord/MemoryTypeEnum from agent_memory_client.models
- Add nvidia-nat-agent-memory-server to tool.uv.sources (workspace = true) for resolution

Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
ClientMemoryRecord has no metadata attribute; remove invalid assignment
to fix type error and runtime.

Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
Made-with: Cursor
Signed-off-by: Justin Cechmanek <justin.cechmanek@redis.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 2, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai
Copy link

coderabbitai bot commented Mar 2, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dnandakumar-nv dnandakumar-nv self-requested a review March 3, 2026 18:32
@dnandakumar-nv dnandakumar-nv added feature request New feature or request non-breaking Non-breaking change labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Redis Agent Memory Server as a memory type

2 participants