Replicating ADK Agent on Vertex AI Agent Engine & Gemini Enterprise
This skill provides step-by-step instructions for Antigravity agents to reproduce, deploy, verify, and demonstrate an enterprise ADK Agent from scratch, with automated EBC Fast-Path Layer for instant live boardroom demos.
⚡ EBC Fast-Demo Mode (Zero-Wait Live Presentations)
When presenting to customers in an Executive Briefing Center (EBC) or re-running demonstrations:
- Instant Health & Re-Use Check (< 1s):
```bash
# Reuses live Vertex AI Reasoning Engine & Gemini Enterprise Agent instantly
cd semiautonomous-agents/adk-gemini-enterprise-e2e
uv run python deploy.py
uv run python register.py
```
- Instant Live Boardroom Test (< 2s):
```bash
uv run python scripts/test_gemini_enterprise.py "Perform an acquisition valuation for Apex Global ($650M EBITDA, 9.5% growth, 9% WACC, 13x exit multiple) and audit under SR 11-7."
```
- Forcing Cold Rebuilds / Fresh Code Changes:
- If code changes or fresh cloud provisioning is explicitly requested:
```bash
uv run python deploy.py new
uv run python register.py new
```
🛠️ Step-by-Step Reproduction Blueprint (From Scratch)
⚠️ Mandatory HITL Checkpoint
If PROJECT_ID, REGION, STAGING_BUCKET, or GE_PROJECT_NUMBER are not in .env, the agent must ask:
"Ask the human for PROJECT_ID, REGION, STAGING_BUCKET, and GE_PROJECT_NUMBER before proceeding if they are not in .env. Do NOT proceed until confirmed."
Dependencies
uv add "google-cloud-aiplatform[adk,agent_engines]" google-genai requests google-auth rich pydantic cloudpickle python-dotenv
1. Environment & Setup
Verify ADC authentication and staging bucket:
uv run agy-recipes/adk-gemini-enterprise-e2e/scripts/setup.py
2. Local Agent Smoke Testing (Offline)
Run the offline ADK runner to verify tool declarations and function calls:
cd semiautonomous-agents/adk-gemini-enterprise-e2e
uv run python scripts/test_local.py
3. Deploy to Vertex AI Agent Engine Runtime
Deploys reasoning_engines.AdkApp with enable_tracing=True for OpenTelemetry, Cloud Trace, and Cloud Logging:
uv run python deploy.py
4. Register into Gemini Enterprise
Registers the deployed Reasoning Engine with Discovery Engine v1alpha Assist API and shares it with ALL_USERS:
uv run python register.py
5. Verification via Live Gemini Enterprise A2A
Test the live agent via Discovery Engine A2A stream endpoint:
uv run python scripts/test_gemini_enterprise.py