google-agents-cli-publish

Registers deployed ADK agents with Gemini Enterprise using the agents-cli publish command.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/God-Gamer-Manyu/Google_Agentic_Engineering --skill google-agents-cli-publish-god-gamer-manyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-agents-cli-publish
Source: https://github.com/God-Gamer-Manyu/Google_Agentic_Engineering/tree/main/.agents/skills/google-agents-cli-publish
Command: npx skills add https://github.com/God-Gamer-Manyu/Google_Agentic_Engineering --skill google-agents-cli-publish-god-gamer-manyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agents-cli.

What problem does it solve? After deploying an ADK agent, connecting it to Gemini Enterprise requires choosing the right registration mode (ADK vs A2A), supplying the correct resource names, and handling authentication and SDK compatibility issues. This Skill guides the entire agents-cli publish gemini-enterprise workflow so registration succeeds on the first attempt. ## Core Features & Use Cases - Dual Registration Modes: Covers ADK registration (native :streamQuery on Agent Runtime) and A2A registration (agent card URL on Cloud Run or GKE), including when each applies. - Programmatic and Interactive Usage: Supports CI/CD pipelines via flags and environment variables, plus an --interactive mode that prompts for missing values and lists available Gemini Enterprise apps. - Auto-Detection and Fleet Management: Reads deployment_metadata.json to auto-detect the agent runtime ID and registration type, and documents Agent Registry management with gcloud alpha agent-registry commands. - Use Case: You deployed an agent to Agent Runtime and want it visible in your Gemini Enterprise app. This Skill walks you through running agents-cli publish gemini-enterprise with just the app ID, then troubleshooting any SDK or permission errors. ## Quick Start Ask the assistant to publish your deployed ADK agent to Gemini Enterprise using agents-cli with your Gemini Enterprise app ID.

Frequently Asked Questions about google-agents-cli-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish an ADK agent to Gemini Enterprise?

Run `agents-cli publish gemini-enterprise` with your Gemini Enterprise app ID after deploying the agent. On Agent Runtime, the command auto-detects the agent runtime ID from `deployment_metadata.json` and registers via ADK mode by default.

What is the difference between ADK and A2A registration in Gemini Enterprise?

ADK registration invokes the agent natively via `:streamQuery` on its reasoning engine resource and is the default on Agent Runtime. A2A registration fetches the agent card URL and is the only option on Cloud Run and GKE, which have no reasoning engine.

Can I use agents-cli publish in a CI/CD pipeline?

Yes, the command is non-interactive by default and accepts all values via flags or environment variables like AGENT_RUNTIME_ID and GEMINI_ENTERPRISE_APP_ID. This makes it safe for automated pipelines without prompts.

Why do I get Session not found after registering my agent?

This error comes from `google-cloud-aiplatform` versions 1.128.0 or earlier. Upgrade the SDK, redeploy the agent, then re-register; interactive mode can detect the outdated version from `uv.lock` and offer to upgrade.

How do I list or delete agents in Agent Registry?

Use `gcloud alpha agent-registry agents list` to view registered agents and `gcloud alpha agent-registry services delete` to remove manually registered ones. Agents on managed runtimes are auto-registered and removed by deleting the underlying runtime agent.