google avatar

Google Agents Cli Publish

Once your ADK agent is deployed, this gets it registered with Gemini Enterprise so users can actually discover and invoke it. Handles both standard ADK registration (via reasoning engine ID) and A2A protocol agents (via agent card URL). The smart bit is auto-detection: if you have a deployment_metadata.json from agents-cli deploy, it reads your runtime ID, figures out whether you're using A2A, and constructs the card URL automatically. You still need to create the Gemini Enterprise app in Cloud Console first and pass its ID, but after that it's mostly flags or interactive prompts. Watch out for the SDK version issue with google-cloud-aiplatform 1.128.0 and earlier causing session errors post-registration.

skills.sh installs
559.8K
GitHub stars
6.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/google/agents-cli
Categories
DevOps & CI/CD, AI & Agent Building, Release Management, Debugging, CLI & Terminal
First seen
May 16, 2026

More from google/agents-cli

All 7
1genmedia-labs avatarwan-3-0-prime-reference-to-videogenmedia-labs/skillsBuild video clips from reference images, reference videos, and reference audio with Wan-AI Wan 3.0 Prime Reference to Video on RunComfy. Up to 10 reference imag506.2Kskills.sh installs
2mattpocock avatarloop-memattpocock/skillsGrill me about specs for the workflows I want to build, within this workspace.488.6Kskills.sh installs
3microsoft avatarairunway-aks-setupmicrosoft/azure-skillsSet up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deploym452Kskills.sh installs
4heygen-com avatarhyperframes-studioheygen-com/hyperframesUse when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't chan451.6Kskills.sh installs
5stablyai avatarorchestrationstablyai/orcaUse Orca orchestration for structured multi-agent coordination: threaded messages, blocking ask/reply flows, task dispatch, worker_done/escalation waits, task D357Kskills.sh installs
6remotion-dev avatarremotion-saasremotion-dev/skillsBuild an app with Remotion288.4Kskills.sh installs