Skip to main content

progress-memory-google-adk

Google ADK integration for the Progress Memory SDK.

Implements BaseMemoryService so that ADK agents automatically recall and save memories through Progress Memory — no manual wiring required.

Quick start

from google.adk.agents import LlmAgent
from google.adk.runners import Runner
from google.adk.sessions import InMemorySessionService
from google.adk.tools import load_memory
from google.genai.types import Content, Part
from progress_memory import ProgressMemoryClient, ProgressMemoryConfig
from progress_memory_google_adk import ProgressMemoryADKService

config = ProgressMemoryConfig.from_env()

async with ProgressMemoryClient(config) as memory_client:
    memory_service = ProgressMemoryADKService(
        client=memory_client, agent_id="my-agent"
    )

    agent = LlmAgent(
        name="assistant",
        model="gemini-2.0-flash",
        instruction="You are helpful.",
        tools=[load_memory],
        after_agent_callback=memory_service.after_agent_callback,
    )

    runner = Runner(
        agent=agent,
        app_name="my_app",
        session_service=InMemorySessionService(),
        memory_service=memory_service,
    )

How it works

  1. User sends a message via runner.run_async().
  2. Agent calls the built-in load_memory tool → search_memory() is invoked.
  3. Agent processes memories and responds.
  4. after_agent_callback fires → add_events_to_memory() saves only the new event delta for this turn.

Important: reuse the same session across turns; the service tracks per-session offsets so only new events are sent to Progress Memory on each save.

Metadata

Release files for progress-memory-google-adk 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for progress-memory-google-adk 0.2.1
File Size Uploaded
progress_memory_google_adk-0.2.1.tar.gz 106.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for progress-memory-google-adk 0.2.1
File Interpreter ABI Platform
progress_memory_google_adk-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 139.9 kB

Release files / progress_memory_google_adk-0.2.1.tar.gz

Download URL progress_memory_google_adk-0.2.1.tar.gz
Size 106.9 kB
Tags Source
SHA-256 checksum
How to use checksums
20164b078773f8f1beafcbe5b2f06f511e0e7b517c028c9fa2d68a2040449036
BLAKE2b-256 checksum
How to use checksums
defa138e22f28f55caa46dec24b5a3ffab6f065c64fc21a6f018bcfc030075f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.

Transparency log

Release files / progress_memory_google_adk-0.2.1-py3-none-any.whl

Download URL progress_memory_google_adk-0.2.1-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae3ce8a1f70ec1837e8705dbeed47875e6996b3af2ddaf30ecaa117d5a5c7d25
BLAKE2b-256 checksum
How to use checksums
e92664a4cc06e7997420c193bc51da6e285f5a89620783335cdb895e8ad664e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page