feat(ge-demo-generator): Managed Autonomous Agent delegation, Workspace Authorization mode, and deliverable skills#2977
Merged
holtskinner merged 4 commits intoJul 15, 2026
Conversation
…ce Authorization mode, and deliverable skills (v11.5-public) Port of the internal v11.5 feature set to the official sample: - Managed Autonomous Agent (Antigravity, Managed Agents API Pre-GA): the demo agent can delegate long-horizon tasks (web research, code execution, professional deliverables) to a fully autonomous Managed Agent. Provisioned in two phases by the setup script to hide the ~8-10 min creation time; enabled by default in the UI. - New agent_template/managed_agent/ helpers (create_managed_agent.py, warmup_managed_agent.py) copied by the setup script instead of being embedded, matching the template-fetch architecture. - New agent_template/demo_skills/ deliverable craft skills (SKILL.md packs for documents, presentation decks, and web reports) mounted into the Managed Agent sandbox via the dashboards bucket. - Workspace Authorization (No MCP) toggle: Google sign-in for the demo user without the Developer-Preview Workspace MCP allowlist. With the Managed Agent, deliverables are saved to the user's Drive as native Google formats and the sandbox acts on Gmail/Chat/Calendar via the open-source Workspace CLI. - Runtime templates (tools.py, agent.py, fast_api_app.py) gain env-gated feature blocks (ENABLE_MANAGED_AGENT, ENABLE_WORKSPACE_AUTH) translated from the internal implementation; per-demo variation stays in .env / generated_instruction.md / mcp_config.json. - A2UI healing and stub-recovery fixes in the runtime (re-execute with tools when a turn stalls before gathering data). - GEBE subproject: renamed to GE Demo Generator Lite (v1.2-public) with demo output language pinning via a fast flash-lite pre-detection call, and the Apache header comment style fixed for Apps Script (// not #). - README.md / AGENTS.md: Managed Agent architecture and operations documentation. Verified with the repo validators (33/33 template files), bash -n on generated setup scripts across the feature matrix, byte-level instruction equivalence tests against the internal implementation, and node --check on all Apps Script / inline HTML JavaScript.
…mmit Temporary review-time pin to the PR branch fork so generated setup scripts fetch the new agent_template/ (managed_agent/ + demo_skills/) before this PR is merged. A follow-up will re-point TEMPLATE_REPO / TEMPLATE_REF at this repository after merge, as in GoogleCloudPlatform#2970.
- Add short local variable names and technical terms from the new template files to the spelling allow list. - Reword four lines to satisfy the 'Vertex AI Agent Platform' and 'an before consonant' forbidden patterns.
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.
Description
Major feature update for
search/gemini-enterprise/ge-demo-generator(APP_VERSIONv11.5-public).What's new
agent_template/managed_agent/— new provisioning helpers (create_managed_agent.py,warmup_managed_agent.py) as real template files, copied by the setup script (consistent with the template-fetch architecture from Feat/add ge demo generator #2963).agent_template/demo_skills/— deliverable craft skills (SKILL.md packs for documents, presentation decks, and web reports) uploaded to the demo's dashboards bucket and mounted into the Managed Agent sandbox.tools.py,agent.py,fast_api_app.py) gain env-gated feature blocks (ENABLE_MANAGED_AGENT,ENABLE_WORKSPACE_AUTH) following the existingENABLE_WORKSPACE_MCP/ENABLE_COMPUTER_USEpattern; per-demo variation stays in.env/generated_instruction.md/mcp_config.json.v1.2-public) with demo output language pinning (fast flash-lite pre-detection), plus a fix for the Apache header comment style inCode.gs(//instead of#, which is invalid JavaScript and brokeclasp push— same fix as previously applied toapp/Code.gs).Template pinning
As during the #2963 review,
TEMPLATE_REPO/TEMPLATE_REFare temporarily pinned to this PR branch's fork commit so generated setup scripts work before merge. After merge I will open a small follow-up PR re-pointing them at this repository (same as #2970).Verification
python3 validate_examples.py— 33/33 template files (24 JSON, 24 checked withjson.loads, 9 Python compiled).bash -nclean, no embedded-content leaks, template fetch ordered before first use.node --checkon all Apps Script files and inline HTML scripts.py_compileof the fetched files.