What problem does it solve?
Agents on the Google Cloud Gemini Enterprise Agent Platform fail with opaque 403 egress denials, 500 runtime errors, and gateway permission errors that span multiple layers (Agent Registry, Agent Gateway, IAP, authorization policies). This Skill provides a structured diagnostic workflow that pinpoints the root cause and produces a fix recommendation report.
Core Features & Use Cases
- Layered Diagnostic Flow: Walks through agent logs, gateway logs, IAP logs, registry state, IAM bindings, and authorization extensions in a defined order to isolate failures.
- Pre-Flight Rules: Instantly handles known patterns such as PSC subnet exhaustion, IAP dry-run misconfiguration, hostname mismatches, and VPC-SC perimeter blocks.
- Structured Diagnostic Report: Produces a consistent report with evidence, root cause hypothesis, recommended gcloud/curl fixes, and verification steps.
- Use Case: When an agent's call to an MCP server on Cloud Run returns a 403 egress error, the Skill identifies that direct Agent Identity OIDC authentication is unsupported and recommends service account impersonation with the correct IAM role.
Quick Start
Ask the assistant to troubleshoot why your agent's requests through the Agent Gateway are failing with a 403 egress error in your Google Cloud project.