Skip to content

docs(integrations): add Database Memory Service#1662

Merged
koverholt merged 2 commits into
google:mainfrom
anmolg1997:add-adk-database-memory-integration
Apr 21, 2026
Merged

docs(integrations): add Database Memory Service#1662
koverholt merged 2 commits into
google:mainfrom
anmolg1997:add-adk-database-memory-integration

Conversation

@anmolg1997

Copy link
Copy Markdown
Contributor

Summary

Adds a new entry to the integrations catalog for adk-database-memory, an Apache 2.0 Python package that implements BaseMemoryService over any async SQLAlchemy dialect (SQLite, PostgreSQL, MySQL/MariaDB).

This fills the gap between InMemoryMemoryService (ephemeral, for development) and VertexAiMemoryBankService (managed, GCP-only) for users who want durable memory on their own database: self-hosted deployments, non-GCP clouds, or local dev that survives restarts.

Context

Originally proposed as a core contribution in google/adk-python#5339. The maintainer (@rohityan) recommended releasing it as a standalone package listed here: google/adk-python#5339 (comment)... . This PR follows that guidance.

What's included

  • docs/integrations/adk-database-memory.md with the standard frontmatter (catalog_title, catalog_description, catalog_icon, catalog_tags: ["data"]), Python language tag, use cases, prerequisites, install instructions for SQLite / Postgres / MySQL extras, a working ADK usage example, a supported-backends table, and API notes.
  • docs/integrations/assets/adk-database-memory.png icon (512x512, consistent with other data-category integrations).

Package details

  • Repo: https://github.com/anmolg1997/adk-database-memory
  • License: Apache 2.0
  • Python: 3.10, 3.11, 3.12, 3.13 (CI matrix green)
  • Tests: 19 unit tests covering keyword extraction, session ingestion, delta ingestion, scoped search, dedup, file-based SQLite, context-manager lifecycle, and URL validation.
  • Contract: implements google.adk.memory.base_memory_service.BaseMemoryService, same keyword-extraction approach used by InMemoryMemoryService and FirestoreMemoryService.

Related

Checklist

  • Documentation file added at docs/integrations/adk-database-memory.md.
  • Icon asset added at docs/integrations/assets/adk-database-memory.png.
  • Standard frontmatter with catalog_title, catalog_description, catalog_icon, catalog_tags.
  • Package is installable, tested, Apache 2.0, and has public CI.
  • I have signed (or will sign) the Google CLA.

Add a new integration entry for adk-database-memory, a drop-in durable
BaseMemoryService for the Python ADK backed by any async SQLAlchemy
dialect (SQLite, PostgreSQL, MySQL/MariaDB).

Repo: https://github.com/anmolg1997/adk-database-memory
Package: adk-database-memory on PyPI (Apache 2.0)

This fills the gap between InMemoryMemoryService (ephemeral, for dev)
and VertexAiMemoryBankService (managed GCP) for self-hosted durable
memory on the database the user already runs.
@netlify

netlify Bot commented Apr 21, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 2778df7
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69e72de7da8fc00008bdba51
😎 Deploy Preview https://deploy-preview-1662--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@koverholt koverholt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR and contributing this integration / package! I made some edits to the page copy for clarity and consistency with the other integration pages, and renamed the file so it sorts better in the catalog. Everything LGTM! Merging.

@koverholt koverholt merged commit ae4ecf4 into google:main Apr 21, 2026
6 of 7 checks passed
@koverholt

Copy link
Copy Markdown
Collaborator

My mistake, I forgot to git add the new page after I renamed it. Opened #1664 to add it!

@anmolg1997

Copy link
Copy Markdown
Contributor Author

Thanks @koverholt, appreciate the copy edits and the file rename. Page reads much cleaner.

koverholt added a commit to sabrenner/google-adk-docs that referenced this pull request Apr 28, 2026
* docs(integrations): add Database Memory Service

Add a new integration entry for adk-database-memory, a drop-in durable
BaseMemoryService for the Python ADK backed by any async SQLAlchemy
dialect (SQLite, PostgreSQL, MySQL/MariaDB).

Repo: https://github.com/anmolg1997/adk-database-memory
Package: adk-database-memory on PyPI (Apache 2.0)

This fills the gap between InMemoryMemoryService (ephemeral, for dev)
and VertexAiMemoryBankService (managed GCP) for self-hosted durable
memory on the database the user already runs.

* Update formatting and wording

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants