Migrate four samples to core/python recipes; fill AGENTS.md for memory/oauth - #2251
Merged
happyhuman merged 5 commits intoJul 21, 2026
Merged
Conversation
…gins, genmedia-for-commerce recipes Migrate (copy) four samples from python/agents/ into core/python/ as curated recipes (manifest.yaml, AGENTS.md, .env.example, runnability tests, aligned pyproject + uv.lock, ruff-clean). Originals under python/agents/ are kept unchanged for retro-compatibility.
…th-user-consent-flow Both recipes shipped empty (0-byte) AGENTS.md placeholders. Populate them in the clone-and-study format used by the RAG recipes (Intent, When To Use, Eval, End-to-end flow, Most interesting files, Data handling, Gotchas, Where to run things, Reuse).
The deploy/eval targets referenced a nonexistent adk_ae_oauth/ package (leftover template name); the code lives under app/ (pyproject module-name = app). Repoint deploy and eval targets so make deploy / make eval work.
happyhuman
approved these changes
Jul 21, 2026
Set MODEL_NAME/agent models to gemini-3.5-flash (flash-lite -> gemini-3.1-flash-lite) across ambient-expense-agent, deep-search, safety-plugins, cross-session-memory, and oauth-user-consent-flow, and sync the AGENTS.md/README references. genmedia-for-commerce is intentionally left unchanged. Image/embedding/Veo/imagen models and the oauth eval judge are not touched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
python/agents/intocore/python/as curated recipes: ambient-expense-agent, deep-search, safety-plugins, genmedia-for-commerce.python/agents/are left byte-for-byte unchanged for retro-compatibility.AGENTS.mdfiles for the two already-migrated recipes (cross-session-memory, oauth-user-consent-flow).gemini-3.5-flash(andgemini-3.1-flash-litefor flash-lite) across the recipes.Makefile.Changes
1. New
core/python/recipes (4) — each brought to recipe standard perdocs/recipe-guidelines.md:manifest.yaml(ownership set),AGENTS.md(clone-and-study format matching the RAG recipes),.env.example,tests/test_runnability.py, alignedpyproject.toml, regenerateduv.lock, ruff-clean.eliasecchig); safety-plugins → DevRel Cloud AI (tommywagz); genmedia-for-commerce → FDE (lspataroG).Depends, deliberate late imports) carry targeted# noqarather than refactors, to preserve the shipped samples' behavior.2.
AGENTS.mdfor cross-session-memory & oauth-user-consent-flow — both shipped as 0-byte placeholders; populated in the same clone-and-study format as the RAG recipes (Intent, When To Use, Eval, End-to-end flow, Most interesting files, Data handling, Gotchas, Where to run things, Reuse).3. Model standardization →
gemini-3.5-flash— updated agent/LLM model config (and synced AGENTS.md/README references) for ambient-expense-agent, deep-search, safety-plugins, cross-session-memory, oauth-user-consent-flow (including its eval judge). Flash-lite models →gemini-3.1-flash-lite.gemini-3.1-flash-image-preview,gemini-embedding-*,imagen-*.4. Fix
oauth-user-consent-flow/Makefile—deploy/evaltargets referenced a nonexistentadk_ae_oauth/package (leftover template name); repointed at the realapp/package somake deploy/make evalwork.Validation
uv run validate structureanduv run validate manifestpass for all sixcore/pythonrecipes.uv run ruff checkclean for all four new recipes.