/agentic-engineering:adk-memory-architecturefrom Agentic Engineering Skills
Designs, implements, audits, or adapts memory and retrieval in Python Google ADK agents. Selects and combines conversation sessions, governed RAG, Agent Platform Memory Bank, and scoped BigQuery history with identity, consent, retention, replay, and erasure boundaries.
Ships in Agentic Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deliver a focused implementation, adaptation, audit or decision for the target agent's memory architecture. Keep the target's domain, interfaces, package manager and dependency pins. The book and companion repository are not required.
requires-python, run them on the newest
available one, say so, and install nothing), and any Python 3.11 or later
for this skill's helpers, as interpreter rules state. Optionally run the bounded, read-only
inspector:
"$PYTHON" "$SKILL_DIR/scripts/inspect_project.py" --project "$PROJECT_DIR".
Set these variables to the selected interpreter, installed skill directory
and target project. Read compatibility.md for
its exit codes, coverage and version checks. It reports signals, not proof of
correct authorisation. Inspect unresolved pins and unscanned files manually.Load only the relevant reference; combine modes when the requirement needs it.
| Required fact or operation | Mode | Authority and completion boundary |
|---|---|---|
| Current conversation, working state, continuation or completed-response retry | Sessions and state | Owner-qualified history and explicit persistence/replay contract |
| Approved policies, manuals or other versioned reference evidence | Governed RAG | Approved release, entitled sources and evidence-supported answer |
A vendor or custom BaseMemoryService (Mem0, graphiti, an in-house store) | Memory Bank, step 5 of the write-back sequence and erasure step 1: failure kept apart from empty, matching scopes, a current-only read, and what deletion leaves behind | A write-then-read test under one scope, a failed provider that is visible, and an erasure check against the backend's history as well as its search |
| Useful low-risk facts across sessions; consent, correction or forgetting | Memory Bank | Scoped, eligible, expiring claims; accepted, completed and retrievable are separate |
| Dated structured records and analytical history | BigQuery | Narrow parameterised reads with trusted scope and an honest freshness contract |
Use the owning transactional service for current entitlements or business mutations. Exact user-controlled settings belong in a deterministic profile. For example, a saved response language is a profile row read at invocation; "the customer prefers morning calls" is a semantic memory claim with consent and expiry; the current balance comes from the ledger service every time. Neither semantic memory nor retrieved prose authorises an action. Add a store when a required fact needs its authority and lifetime; one store is the usual answer.
When the project has agents-cli-manifest.yaml, consult the installed
google-agents-cli-adk-code skill (references/adk-python.md, "Context,
State, and Memory", or the cross-session-memory recipe for Memory Bank
wiring); if it is not installed, adk-engineer explains how to get it. The
recipe supplies the ADK wiring; this skill decides what is stored, under
whose consent, and how it is corrected and erased.
For local PDFs, supplementary authorities or image-only evidence, read local-document-coverage.md for the coverage fixture and the visual-review or unresolved-evidence boundary. Before the first model call over a document pack, read document-ingestion.md: produce a per-page ingestion report, route scanned and low-density pages to OCR or vision, and choose text, image or both per page. For how retrieval finds the operative section (chunking by heading, one query per issue, deterministic lookup of named references, one bounded second round, a local hybrid index and a recall measurement on a gold set), read retrieval-strategy.md.
When implementing the HTTP/ADK boundary, read integration-recipes.md for concrete assembly, trusted-context, event and replay contracts. When connecting or hosting managed backends, read managed-deployment.md. For failed setup, retrieval, protection, probes or cleanup, use failure-recovery.md before proposing a retry.
Inspection is read-only, and code generation authorises no deployment, paid call or live test. Before any consequential operation (an API, billing or quota change, a billable resource, a secret, IAM, a data migration, a deployment, a deletion, or a paid or destructive test), read consequential operations, present the exact scope and limits, obtain explicit approval and end the turn to wait for it. Cleanup is a separate confirmed operation on resources this workflow created.
Read operations-validation.md before cloud work, recovery or cleanup. Shared regional RAG infrastructure is outside routine corpus cleanup. Keep screening in place throughout recovery.
not run;
never substitute a SimpleNamespace or hand-built Runner and call it a
pass. These assert application effects, not response wording, so they are
not the behavioural unit tests Google's agents-cli workflow discourages.local (mocked)), real
managed services called from a local API (live (provider)) and deployed
hosted behaviour (live (hosted)) apart. A target deployment is
certified by its own acceptance run.Label each result with its tier (offline, local, live or release) and
outcome (pass, fail, blocked or not run) as
evidence labels defines them;
earlier, vendor and documentation-only results are historical,
vendor-measured or guidance, never this session's evidence.
Independent community project; not affiliated with or endorsed by Google.
LICENSE (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/document-coverage.json (opens in a new tab)assets/ingestion-fixture/drawing-page.pdf (opens in a new tab)assets/ingestion-fixture/scanned-page.pdf (opens in a new tab)assets/ingestion-fixture/table-page.pdf (opens in a new tab)assets/ingestion-fixture/text-page.pdf (opens in a new tab)assets/retrieval-gold.json (opens in a new tab)references/bigquery.md (opens in a new tab)references/compatibility.md (opens in a new tab)references/document-ingestion.md (opens in a new tab)references/failure-recovery.md (opens in a new tab)references/integration-recipes.md (opens in a new tab)references/local-document-coverage.md (opens in a new tab)references/managed-deployment.md (opens in a new tab)references/memory-bank.md (opens in a new tab)references/operating-rules.md (opens in a new tab)references/operations-validation.md (opens in a new tab)references/rag.md (opens in a new tab)references/retrieval-strategy.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/adk-agent-evaluationBuild, adapt or audit a Python ADK agent's test strategy: deterministic tool and Runner tests, live eval sets, simulated conversations, conformance replay, strict result checks and quote or citation support. Use for agent behaviour, regression coverage, eval reliability, fixing a failed stage without re-running paid earlier ones, holdout budgets, error analysis on a labelled dev set to fix wrong decisions, measuring each prompt, exemplar or model change, and subject-matter expert labelling: failure taxonomy, inter-rater agreement and judge calibration. Do not activate for non-agent unit tests, standalone model benchmarks, deployment or cleanup alone, prompt wording or exemplar design (adk-agent-instructions), model settings (adk-model-and-output-contracts), wiring eval gates into CI (adk-release-engineering), production telemetry (adk-agent-observability), adversarial suites (adk-agent-security) or presenting results (adk-presenter)./adk-agent-instructionsDesign, review or repair the instructions of Python Google ADK agents, covering instruction structure and altitude, session-state templating, tool-use guidance inside the prompt, sub-agent descriptions for routing, few-shot exemplar design, the instruction-versus-code division, model-generation prompt notes and prompt-as-code layout with change tests. Use when an agent follows its prompt poorly, over- or under-calls tools, routes to the wrong sub-agent, raises templating KeyErrors, or a prompt must move to a new model generation. Do not activate for the measured evaluation loop (adk-agent-evaluation), orchestration or a key an earlier agent's output_key never wrote (adk-workflow-design), tool docstrings and parameter schemas (adk-tool-interface-design), output schemas or model configuration (adk-model-and-output-contracts), releasing prompt versions (adk-release-engineering), or injection-screening products (protect-adk-sensitive-data).Other plugins' skills for the same job
npx claudepluginhub ruslankhis/agentic-engineering-skills --plugin agentic-engineering