Skip to content

contributing/samples: add Synap memory agent sample#5701

Open
visy-ani wants to merge 5 commits into
google:mainfrom
visy-ani:add-synap-memory-sample
Open

contributing/samples: add Synap memory agent sample#5701
visy-ani wants to merge 5 commits into
google:mainfrom
visy-ani:add-synap-memory-sample

Conversation

@visy-ani
Copy link
Copy Markdown

Summary

Adds contributing/samples/synap_memory_agent/ — a sample showing how to give an ADK Agent persistent, cross-session memory via Synap.

The agent is wired with two FunctionTool instances built from synap-google-adk:

  • search_memory — semantic search over the user's stored memories
  • store_memory — persist explicit facts the user mentions

PyPI: https://pypi.org/project/synap-google-adk/
Open source: https://github.com/maximem-ai/maximem_synap_sdk/tree/main/packages/integrations/synap-google-adk

Test plan

  • adk run contributing/samples/synap_memory_agent runs end-to-end with SYNAP_API_KEY set

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 14, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@visy-ani
Copy link
Copy Markdown
Author

visy-ani commented May 14, 2026

@googlebot I signed it!

Hi @wyf7107 and @ankursharmas 👋 — would love a review on this whenever you have a moment! This adds contributing/samples/synap_memory_agent/ — an ADK Agent sample showing how to plug long-term, cross-session memory into ADK via Synap.

Why this fits contributing/samples/: it follows the same shape as the other samples in that folder (single agent.py with root_agent, __init__.py, and a README) and only adds two FunctionTool instances from synap-google-adk — no new core ADK dependencies. The sample is runnable with adk run contributing/samples/synap_memory_agent.

CLA has now been signed (just commented above to trigger re-check). Header-check is already green. Thanks!

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