Skip to content

chore(memory): upgrade redis agent memory sdk - #28

Merged
nkanu17 merged 2 commits into
mainfrom
chore/upgrade-redis-agent-memory
Jul 31, 2026
Merged

chore(memory): upgrade redis agent memory sdk#28
nkanu17 merged 2 commits into
mainfrom
chore/upgrade-redis-agent-memory

Conversation

@nkanu17

@nkanu17 nkanu17 commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Prepare the adk-redis 0.0.9 release.
  • Raise the redis-agent-memory requirement from >=0.0.4 to >=0.2.0, the latest PyPI release.
  • Update the README, managed setup guide, backend specification, and changelog.

0.0.9 release notes

This release consolidates the three previously merged feature PRs:

  • Stable cache entry IDs and targeted invalidation through delete_by_id().
  • Per-invocation memory-tool user resolution through ADK tool_context, including ownership validation for mutations.
  • Tenant-scoped client IDs for idempotent CreateMemoryTool writes.

It also upgrades the managed Redis Agent Memory SDK requirement to redis-agent-memory>=0.2.0 and prevents self-hosted warnings from logging supplied application IDs.

Compatibility verification

Verified redis-agent-memory 0.2.0 against every SDK surface used by adk-redis:

  • AgentMemory client construction
  • Session event creation, retrieval, listing, and deletion
  • Long-term memory search, create, retrieve, update, and bulk delete
  • Memory tools using the corresponding async SDK methods

No application code changes were required because the used method signatures remain compatible.

Validation

  • Package version reports 0.0.9
  • Source distribution and wheel build successfully
  • make format
  • Ruff
  • mypy
  • Full pytest suite: 143 passed, 10 live-service tests skipped because external Redis services and credentials were not configured
  • uv lock --check
  • mkdocs build

Copilot AI review requested due to automatic review settings July 31, 2026 22:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates adk-redis to require a newer managed Redis Agent Memory SDK (redis-agent-memory>=0.2.0) and aligns user-facing documentation with the new minimum version.

Changes:

  • Bump the memory optional dependency requirement from redis-agent-memory>=0.0.4 to >=0.2.0.
  • Update README and managed memory setup documentation to reflect the new minimum version.
  • Update the Redis Agent Memory backend specification doc to match the new dependency floor.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
README.md Documents the new minimum redis-agent-memory version installed by the memory extra for the managed backend.
pyproject.toml Raises the redis-agent-memory minimum version in the memory optional dependencies.
docs/user_guide/how_to_guides/managed_memory_setup.md Updates managed setup prerequisites to reflect redis-agent-memory>=0.2.0.
docs/specs/redis-agent-memory-default.md Updates the backend dependency specification to redis-agent-memory>=0.2.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings July 31, 2026 22:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@nkanu17
nkanu17 merged commit 5033044 into main Jul 31, 2026
4 checks passed
@nkanu17
nkanu17 deleted the chore/upgrade-redis-agent-memory branch July 31, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants