Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

google-agents-cli-publish

Register a deployed agent in a Gemini Enterprise app or Agent Registry.

When to use it

Your agent is already deployed and reachable, but it still doesn't appear in the Gemini Enterprise app or the project's Agent Registry.

For example

You say

Use google-agents-cli-publish to register my deployed Cloud Run agent at https://my-service-abc123.us-east1.run.app/a2a/app/.well-known/agent-card.json in my Gemini Enterprise app projects/123456/locations/global/collections/default_collection/engines/my-app.

You get
  • Registered agent in Gemini app
  • Confirmation of registration

How it works

  • On Cloud Run and GKE, registration uses the agent card URL over A2A; on Agent Runtime the default type is adk.
  • Re-running the publish command updates the existing registration in place.
  • Live and voice agents have no A2A card and can't be published.

Before installing

Requires the agents-cli tool (install with `uv tool install google-agents-cli`) and Discovery Engine Editor on the project hosting the Gemini app.