In short.
google-agents-cli-publish is an assistant skill for developers connecting existing agents to Gemini, but deployment and Gemini app creation must happen first. It documents native ADK registration on Agent Runtime, Agent-to-Agent registration for other configurations, interactive and automated commands, and separate Agent Registry operations. Voice agents are unsupported by the documented Gemini integration. No commands were executed, operational behavior is unverified, and cloud-service costs are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises the complete skills/google-agents-cli-publish/SKILL.md file at revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb and the repository-root LICENSE as accompanying licence evidence. Linked pages, other folders, related skills and CLI implementation files are excluded. No code or commands were executed; installation, authentication, registration, registry changes and runtime behavior remain unverified.
The overview
Identity
google-agents-cli-publish is an instruction skill in Google's agents-cli repository. Its metadata names Google as author, declares skill version 1.14.0 and requires the agents-cli executable. It guides an assistant through registration and catalog management; the CLI implementation is separate.
The resource address is [https://github.com/google/agents-cli/tree/main/skills/google-agents-cli-publish]. The documented command is agents-cli publish gemini. The older publish gemini-enterprise command remains a hidden alias according to the skill.
Assessment
This is useful guidance when an agent already works on a supported deployment target and the remaining task is making it available through a Gemini app. It distinguishes registration protocols, explains metadata defaults and covers common permission and invocation failures.
Its practical value depends on the surrounding cloud configuration. The document provides concrete commands but does not establish successful registration, production reliability or compatibility with a particular installed CLI release.
Users
The strongest fit is developers and platform engineers using Google Cloud who need to connect deployed agents to Gemini. ADK means Agent Development Kit; A2A means Agent-to-Agent, a protocol through which compatible services expose their agents.
Developers maintaining automated release pipelines can use flags or environment variables. Beginners can request interactive prompts, but still need to understand cloud projects, resource names and permissions. People who need to create or deploy their first agent need additional guidance.
Capabilities
The skill covers registration through native ADK invocation or an A2A agent card, a document describing an agent and its capabilities. It explains display names, descriptions, OAuth authorization references, deployment metadata and listing available Gemini apps.
It also describes Agent Registry, a separate fleet catalog for agents and MCP servers. Examples use gcloud to list and inspect agents, update Service resources, register external MCP servers and delete manually registered services. The document says re-publishing a Gemini registration updates it in place rather than creating a duplicate; that behavior is unverified.
Using it
Requirements
Gemini registration requires a deployed, reachable text agent and an existing Gemini app. Agent Runtime deployment metadata can supply configuration automatically. Cloud Run and GKE registrations require an agent-card URL and appropriate flags. Live or voice agents are unsupported because the documented Gemini app integration lacks the /run_live transport.
For Cloud Run A2A access, the skill requires roles/run.servicesInvoker on the service for the Discovery Engine service account. It identifies missing Discovery Engine Editor permissions as a possible registration failure and requires roles/agentregistry.editor for its registry-management examples.
The installation metadata specifies agents-cli and gives uv tool install google-agents-cli. Supported operating systems, minimum Python version, required CLI release and assistant-specific skill-loading procedures are not established.
Mechanism
For ADK applications on Agent Runtime, the documented default is registration through the reasoning engine resource. Gemini invokes it through :streamQuery, which dispatches to AdkApp.streaming_agent_run_with_events. This route also supports an OAuth authorization resource supplied through --authorization-id.
A2A registration fetches an agent card from its URL and uses the card's name and description unless overridden. Cloud Run and GKE use this mode; the skill also describes A2A support on Agent Runtime and A2A defaults for non-ADK frameworks.
When deployment_metadata.json is available, the command reads remote_agent_runtime_id and deployment information to infer registration and authentication settings. Flags can override the registration type.
Setup
The documented CLI installation command is uv tool install google-agents-cli. Before publishing, deploy the text agent, create the Gemini app and obtain its full resource name. For Agent Runtime, retain deployment_metadata.json; for Cloud Run or GKE, identify the correct agent-card endpoint and configure access.
The publishing command is non-interactive by default. Supply required values through flags or supported environment variables, or add --interactive to receive prompts for missing values. The troubleshooting guidance says --registration-type is required in non-interactive mode when deployment metadata is absent.
Example
For an ADK application already deployed to Agent Runtime with valid deployment_metadata.json, the documented minimal command is: agents-cli publish gemini --gemini-app-id projects/123456/locations/global/collections/default_collection/engines/my-app
The project number and app name are placeholders to replace with actual values. The expected behavior is to read the runtime identity from metadata and register the agent for native ADK invocation. This is a documented example; no command was executed and no resulting registration was observed.
Assessment & evidence
Limitations
This skill covers publishing and registry administration, not deployment. It cannot remove the requirement for a working endpoint, an existing Gemini app or appropriate permissions. The documented Gemini integration excludes Live and voice agents.
Agent Registry is labelled Preview. External MCP registration is described as requiring an uploaded tools/list response rather than automatic introspection, with a 10 KB limit and no us/eu multi-region support.
The CLI source, cloud APIs and linked documentation are outside the supplied material. Installation success, authentication behavior, error recovery and end-to-end agent responses remain unverified.
Reasoning
The skill's main advantage is connecting deployment details to the correct registration route. Native ADK invocation requires an ADK application on Agent Runtime, while A2A uses the deployed agent's card. Making that distinction explicit helps developers choose relevant identifiers and authentication settings.
It also separates availability inside a Gemini app from discoverability in Agent Registry. The document says managed-runtime deployments are automatically cataloged, so a registry entry alone does not establish that Gemini app registration or invocation works. These conclusions follow from the documented architecture, not observed execution.
Alternatives
Within the documented approach, interactive prompts provide a guided path, while flags and environment variables support automation. Native ADK and A2A are alternative registration routes whose suitability depends on framework and deployment target.
For separate Agent Registry administration, the skill provides gcloud commands and names the Terraform google_agent_registry_service resource with an mcp_server_spec block. Related deployment and scaffolding skills are referenced, but their contents and competing publishing tools are not assessed.
Evidence
The complete instruction source is skills/google-agents-cli-publish/SKILL.md at repository revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb. Its original file address is [https://raw.githubusercontent.com/google/agents-cli/6eedbdc2f44c388cbfc5f305eb83b9924cfefebb/skills/google-agents-cli-publish/SKILL.md].
The accompanying licence is [https://raw.githubusercontent.com/google/agents-cli/6eedbdc2f44c388cbfc5f305eb83b9924cfefebb/LICENSE]. These files support the descriptions of intended behavior and redistribution rights. They contain no observed command results, performance benchmarks or deployment receipts.
Access & freshness
Costs
The Apache 2.0 licence grants rights without a licence royalty, but that does not establish free cloud operation. The skill includes a Google Cloud project flag described as being for billing.
No service prices, quotas, usage estimates or worked billing examples are supplied for Gemini, Agent Runtime, Cloud Run, GKE or Agent Registry. Total setup and operating costs are unknown.
Rights
The skill metadata declares Apache-2.0, and the accompanying repository LICENSE supplies the Apache License 2.0 terms. These permit reproduction, modification and redistribution subject to the licence conditions.
Redistribution requires a licence copy and retention of applicable notices; modified files need prominent change notices. Applicable NOTICE content must also be preserved when present. No separate NOTICE file is supplied here. The licence includes a conditional patent grant, does not generally grant trademark rights and provides the work without warranties. It does not establish terms for the associated cloud services.
Freshness
The supplied snapshot was captured on 13 November 2026 at 10:05:58.030 UTC and is pinned to revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb. Version 1.14.0 belongs to the skill metadata; it does not establish the installed or required CLI version. The skill's last modification date is unknown.
The troubleshooting section identifies a session bug affecting Python projects using google-cloud-aiplatform versions at or below 1.128.0 and advises upgrading, redeploying and registering again. That is source guidance, not an independently confirmed compatibility result. Later repository changes and current cloud-service behavior are unknown.
Actions
Before using the skill, identify the framework and deployment target, confirm that the agent supports text interaction and obtain the intended Gemini app resource name. Use runtime metadata for ADK registration where available, or supply the A2A card URL and deployment settings.
Check the documented service permissions and determine cloud pricing for the intended configuration. Confirm the target app and registration identity before re-publishing because the documented behavior updates existing registrations. Registration success and an actual Gemini-to-agent interaction still need to be established in the intended environment.
