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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

progress_memory_google_adk-0.2.1.tar.gz (106.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

progress_memory_google_adk-0.2.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file progress_memory_google_adk-0.2.1.tar.gz.

File metadata

File hashes

Hashes for progress_memory_google_adk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 20164b078773f8f1beafcbe5b2f06f511e0e7b517c028c9fa2d68a2040449036
MD5 71238e822556a1583a61b71dffd36d53
BLAKE2b-256 defa138e22f28f55caa46dec24b5a3ffab6f065c64fc21a6f018bcfc030075f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_memory_google_adk-0.2.1.tar.gz:

Publisher: publish-memory-python.yaml on telerik/AgentClarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file progress_memory_google_adk-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for progress_memory_google_adk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3ce8a1f70ec1837e8705dbeed47875e6996b3af2ddaf30ecaa117d5a5c7d25
MD5 2ab9ed6130806feecbee3b7ced56ef08
BLAKE2b-256 e92664a4cc06e7997420c193bc51da6e285f5a89620783335cdb895e8ad664e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for progress_memory_google_adk-0.2.1-py3-none-any.whl:

Publisher: publish-memory-python.yaml on telerik/AgentClarity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.1.0

2 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