Skip to content

feat(memory): add RedisMemoryService#157

Open
volkthienpreecha wants to merge 1 commit into
google:mainfrom
volkthienpreecha:codex/adk-community-redis-memory
Open

feat(memory): add RedisMemoryService#157
volkthienpreecha wants to merge 1 commit into
google:mainfrom
volkthienpreecha:codex/adk-community-redis-memory

Conversation

@volkthienpreecha
Copy link
Copy Markdown

@volkthienpreecha volkthienpreecha commented Jun 6, 2026

I moved the Redis-backed memory service work from google/adk-python#5919 into the community repo after maintainer guidance.

This adds RedisMemoryService under google.adk_community.memory, complementing the existing Redis session service. It keeps the implementation focused on the BaseMemoryService contract, stores memory entries in Redis, supports keyword search scoped by app_name and user_id, and filters thought parts before persisting memory text.

Tests cover session ingest, event deltas, dedupe, session replacement, user scoping, case-insensitive search, thought filtering, missing timestamps, and client cleanup.

My validation:

58 passed, 13 skipped, 4 warnings. The skipped tests were for optional packages I did not have installed (aioboto3 and sdc_agents), and the warnings were existing ADK deprecation warnings unrelated to this Redis memory change.

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.

1 participant