New advertisers: 50% off your first month with code FIRSTMONTHSee slots
google avatar

Google Agents Cli Publish

Publish a deployed agent to Gemini with ADK or A2A registration, plus Agent Registry fleet management.

skills.sh installs
576.4K
GitHub stars
6.4K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers ADK and A2A registration modes, programmatic and interactive usage, flag reference, and troubleshooting
  • Includes auto-detection from deployment_metadata.json, which supplies the Agent Runtime ID and registration defaults
  • Requires the agent to be deployed and reachable, and the Gemini app to exist before registration
  • Designed for teams publishing ADK or A2A agents to Gemini and managing registered agents in Agent Registry

Install

$ npx -y skills add google/agents-cli --skill google-agents-cli-publish -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Gemini Registration

Requires: A deployed agent. For Agent Runtime in Gemini platform, deployment_metadata.json (created by agents-cli deploy) enables auto-detection. For Cloud Run or GKE, provide the agent card URL and flags directly.

Prerequisites

  1. Agent must be deployed — the agent must be running and reachable
  2. Gemini app must exist — Create one in the Google Cloud console before registering
  3. deployment_metadata.json (Agent Runtime only) — Created automatically by agents-cli deploy; contains the Agent Runtime ID, deployment target, the A2A flag, and the agent directory
  4. Text-based agent — Live/voice (bidi) agents are not supported by the Gemini app, which has no /run_live transport. Register a text-based agent instead.

Required Permissions for A2A on Cloud Run

  • roles/run.servicesInvoker granted to the Discovery Engine service account (service-<PROJECT_NUMBER>@gcp-sa-discoveryengine.iam.gserviceaccount.com) on the Cloud Run service.

Registration Modes

A2A Registration

Details

Repository
github.com/google/agents-cli
Categories
AI Agents & LLM Apps, DevOps & Cloud
First seen
May 16, 2026

More from google/agents-cli

All 7

Similar to Google Agents Cli Publish

More AI Agents & LLM Apps