Skip to content

Add Strands agent (with AWS ElastiCache and Neptune) example mention in Joint blog post by Mem0 and AWS#3824

Merged
deshraj merged 1 commit intomem0ai:mainfrom
swarnaprakash:examples/strands-agent-aws-elasticache-neptune
Dec 13, 2025
Merged

Add Strands agent (with AWS ElastiCache and Neptune) example mention in Joint blog post by Mem0 and AWS#3824
deshraj merged 1 commit intomem0ai:mainfrom
swarnaprakash:examples/strands-agent-aws-elasticache-neptune

Conversation

@swarnaprakash
Copy link
Copy Markdown
Contributor

Description

This PR adds a working example demonstrating persistent memory for AI agents using Mem0 with AWS ElastiCache for Valkey and Amazon Neptune Analytics. This is the actual code featured in our joint AWS-Mem0 blog post, providing a complete implementation of dual memory storage (vector + graph) with significant performance improvements.

The example shows how to build a GitHub repository research agent that stores information in both ElastiCache (vector similarity search) and Neptune Analytics (graph relationships), demonstrating 97%+ token reduction with memory retrieval.

Blog Post References:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

  • Test Script (Streamlit application with interactive testing)
  • Validated all blog post example queries
  • Confirmed memory performance improvements (330K→7K tokens, 8.9s→3.8s)
  • Tested dual memory storage and retrieval functionality

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (Not applicable since this is example)
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@deshraj deshraj merged commit 0f8654b into mem0ai:main Dec 13, 2025
1 of 2 checks passed
garciaba79 pushed a commit to garciaba79/mem0 that referenced this pull request Feb 12, 2026
jamebobob pushed a commit to jamebobob/mem0-vigil-recall that referenced this pull request Mar 29, 2026
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