Google ADK

A memory service for Google ADK agents

Plug Recallic into an ADK Runner as its memory service. Sessions go in with their real dates; load_memory gets back only what answers.

pip install "recallic-adk @ git+https://github.com/Recallic/Recallic#subdirectory=integrations/google-adk"

Python
import os
from google.adk.agents import Agent
from google.adk.runners import Runner
from google.adk.sessions import InMemorySessionService
from google.adk.tools import load_memory
from recallic_adk import RecallicMemoryService

memory = RecallicMemoryService(api_key=os.environ["RECALLIC_SERVICE_KEY"],
                               base_url="http://localhost:8000")
agent = Agent(name="assistant", model="gemini-2.5-flash", instruction="...", tools=[load_memory])
runner = Runner(agent=agent, app_name="my_app", session_service=InMemorySessionService(),
                memory_service=memory)

# after a conversation:
await memory.add_session_to_memory(session)
  • Maps ADK's user_id to the Recallic user and app_name to the agent, so each app reads back what it wrote.
  • Each event is stored with the time it happened, even when ADK hands the session over later.
  • When nothing answers, search_memory returns no memories, so the agent is not handed near-misses.
  • Storing a session again stores nothing twice; sessions go in one request per 100 events.

Settings

OptionDefaultWhat it does
modeserver'scautious, balanced or helpful
limit10memories per search
store_authors("user",)which event authors are stored; None stores every author

Needs a running Recallic server: set one up with Docker, or deploy it to your own Render account in one click. Nothing goes through us; your data stays on your server.