Feature: portable agent memory — export/import verified memory bundles between ADK agents and runtimes

Open
#7,186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
ai

Research direction

The proposal does not identify an existing ADK file, test, or entry point; begin by locating the memory and session APIs and the examples/ directory. Confirm the maintainers' desired interface and scope before attempting an end-to-end export/import integration, with completion defined by an accepted example and its accompanying validation.

Written by the indexing model from the issue text.

Description

Context first: I maintain cognicore-env, an open-source (MIT) memory layer for AI agents that runs as an MCP server with no vector database or embedding server. Not proposing we vendor anything — this is an interop idea.

The gap I keep hitting with ADK: sessions and memory services are excellent inside one deployment, but agent knowledge does not travel. Two ADK agents on different runtimes, or an ADK agent and an external agent, share nothing — each re-learns everything. For teams running multiple agents, that is duplicated learning, no provenance, and no way to audit what one agent taught another.

Proposal: a memory export/import hook that emits and consumes sealed memory bundles. Our format carries proof with each memory (the command that was run, the result, the exit code, the output hash) plus a chain of custody across every agent that touched it, and trust decays across unverified hops. So an ADK agent that verified something by actually running a tool can hand that knowledge to another agent with evidence attached, and the receiver treats it as observed-until-reverified rather than trusted by default.

Concrete use case: a code-review ADK agent learns a project's conventions (verified by which PRs merged); an ops ADK agent imports those conventions and stops flagging them as errors.

We have the bundle format and transfer machinery implemented and tested across four platforms, and a design that just went through a public review covering ownership conflicts, validity intervals, and release rules. Happy to contribute an examples/ integration showing ADK memory export/import end to end. What would the maintainers want to see for that?

Dominant language
Python
Stars
21.6k
Forks
4k
Avg merge
13h 49m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/adk-python

All issues in google/adk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.