Loading...
Loading...
Designs, engineers, and validates enterprise Gemini platform architectures. Use when designing multi-project hierarchies (Host, Central Governance Hub, Runtime Spoke, Tool/MCP Spoke), configuring Agent Gateway, authoring Agent Connectivity Templates (ALL_TRAFFIC vs PRIVATE_RANGES_ONLY), deploying Secure Web Proxy (SWP) with Policy-Based Routing (PBR) or Cross-Cloud mTLS Egress Hubs, configuring Private CA TrustConfig with Internal ALB + Serverless NEG, implementing Unified Access Policies (UAP Policy V2 CEL) and Semantic Governance (SGP), configuring 3P IdP Token Exchange (EntraID/Ping/Okta via ext_proc + STS) or Agent Identity Auth Manager (SPIFFE), enforcing Model Armor Floor Settings and Fail-Closed guardrails, deploying Cross-Project Registry sync, binding ADK agents on Agent Runtime, or executing Day-2 lifecycle operations. Don't use for read-only live log triage or incident diagnosis, or generic Google Cloud Identity and Access Management (IAM) debugging.
npx skill4agent add google/skills agent-platform-architecturegcloud[!IMPORTANT] Architectural Scope and Reference Discipline: Useto select the target topology, egress mode, ingress pattern, and governance plane, then consult the authoritativeSKILL.mdmanual for exact CLI commands, REST/YAML schemas, Common Expression Language (CEL) expressions, and Python Agent Development Kit (ADK) runtime code (references/*.mdis the single source of truth for all implementation syntax). When remote Model Context Protocol (MCP) tools (such as the Google Developer Knowledge MCP server or Google-managed MCP endpoints) are available, prefer remote MCP tool invocation over raw CLI/REST commands. Do not execute unrequested live mutations against customer projects when asked for architectural designs.references/*.md
[!CAUTION] Human Approval Gate for Sensitive Operations: Always prompt the user for explicit confirmation before executing commands or applying configurations that grant permissive Identity and Access Management (IAM) bindings (,roles/iap.egressor,roles/compute.networkUser), modify Organization Policies (roles/networkservices.admin), update Unified Access Policy (UAP) or VPC Service Controls (VPC-SC) policies, or delete resources (RESTconstraints/iam.managed.disableAccessPolicyBindingor CLIDELETE ...?force=true).--quiet
gcloudgcloud auth login && gcloud auth application-default loginGOOGLE_APPLICATION_CREDENTIALSgcloud projects create {project_id}gcloud config set project {project_id}gcloud config set compute/region {region}us-central1gcloud services enable aiplatform.googleapis.com agentregistry.googleapis.com \
agentidentity.googleapis.com agentidentitycredentials.googleapis.com \
networkservices.googleapis.com networksecurity.googleapis.com iap.googleapis.com \
modelarmor.googleapis.com compute.googleapis.com dns.googleapis.com \
certificatemanager.googleapis.com servicenetworking.googleapis.comgcloud billing projects describe {project_id} --format="value(billingEnabled)"{host_project_id}{gov_project_id}{runtime_project_id}{mcp_project_id}roles/aiplatform.userroles/networkservices.adminroles/compute.networkAdminroles/compute.networkUserroles/iap.egressornetworkservices.agentGateways.get,networkservices.agentGateways.use,networkservices.operations.getroles/ownerroles/editorreasoningEngines240.0.0.2:443graph TD
Start["Enterprise Gemini platform Architecture"] --> Q1{"1. Egress Destinations?"}
Q1 -->|"RFC 1918 + Google APIs Only"| Priv["ACT: vpcEgress = PRIVATE_RANGES_ONLY<br/>• Direct Private Google Access (PGA)"]
Q1 -->|"Public Internet, VPC-SC, or Non-RFC 1918 PUPI"| All["ACT: vpcEgress = ALL_TRAFFIC<br/>• 100% Egress via AGW VIP 240.0.0.2:443<br/>• Consolidate Core Google APIs FQDNs"]
All --> Q2{"2. Layer 7 URL List or Cross-Cloud mTLS?"}
Q2 -->|"No (Standard NAT)"| Nat["Direct Cloud NAT on PSC-I Subnet<br/>• ENDPOINT_TYPE_VM,ENDPOINT_TYPE_SWG"]
Q2 -->|"Yes (Next-Hop SWP)"| Swp["Next-Hop SWP (NEXT_HOP_ROUTING_MODE) + PBR<br/>• Internal and Google API DEFAULT_ROUTING bypasses<br/>• Default route via SWP ILB IP<br/>• Exclude PSC-I from manual Cloud NAT"]gcloud ai reasoning-engines list --region={region}HostGovernance HubRuntime SpokeTool/MCP SpokeALL_TRAFFICPRIVATE_RANGES_ONLYgcloudreferences/topologies_and_project_layouts.mdreferences/agent_runtime_and_identity.mdreferences/| Architecture Domain | Topics and Architectural Decisions Covered | Symptoms and Failure Modes Routed Here | Canonical Reference Manual |
|---|---|---|---|
| 1. Project Hierarchy, Shared VPC, VPC-SC, and Custom Routing | Multi-project separation ( | PSC-I IP exhaustion, cross-project attachment or | |
| 2. Agent Connectivity Template (ACT) and Agent Gateway | Choosing | Control-plane URI validation errors, registry attachment limit errors, or container TLS verification failures ( | |
| 3. Outbound Routing, Next-Hop SWP, PBR, and Hybrid mTLS | Source-range Policy-Based Routes (PBR) for PSC-I subnets, Next-Hop Secure Web Proxy ( | Asymmetric return-routing drops between manual Cloud NAT and | |
| 4. Ingress ALB, URL Rewrites, Private CA, and 3P IdP STS | Two-Tier and Single-Tier ALB ingress with URL Map | WebPKI root stripping ( | |
| 5. UAP Policy V2, IAP V1, SGP, and Model Armor Governance | Organization/Folder/Project UAP Policy V2 and IAP V1 CEL authorization rules, Semantic Governance Policy (SGP | | |
6. Agent Registry, Consolidated | Consolidating core Google APIs FQDNs into a single | | |
| 7. ADK Runtime Packaging, Agent Identity, and Day-2 Operations | Packaging ADK agents with | Raw credential exposure, | |