agents-cli README

The project's README from github.com/google/agents-cli. As one markdown file: README.md.

agents-cli logo

agents-cli

The CLI and skills for building agents on Gemini Enterprise Agent Platform.

Get Started   |   Skills   |   Commands   |   PyPI   |   Issues   |   Docs   |   Release Notes   |   Star us


Turn your favorite coding assistant into an expert at building and deploying agents on Google Cloud.

Agents CLI in Agent Platform (agents-cli) gives your coding agent the skills and commands to build, scale, govern, and optimize enterprise-grade agents — so you don't have to learn every CLI and service yourself.

Works seamlessly with: Antigravity CLI  •  Claude Code  •  Codex  •  and any other coding agent.

Get Started

Prerequisites: Python 3.11+, uv, and Node.js.

1. Install

uvx google-agents-cli setup
Or just the skills — your coding agent will handle the rest
npx skills add google/agents-cli

2. Open your coding agent

Launch Antigravity CLI, Claude Code, Codex, or any coding agent you prefer.

3. Build your first agent

Ask your coding agent to build something — e.g. "Use agents-cli to build a caveman-style agent that compresses verbose text into terse, technical grunts"

See the full tutorial for a step-by-step walkthrough.

Browse the full documentation →


Agent Skills

Skill What your coding agent learns
google-agents-cli-workflow Development lifecycle, code preservation rules, model selection
google-agents-cli-adk-code ADK Python API — agents, tools, orchestration, callbacks, state
google-agents-cli-scaffold Project scaffolding — create, enhance, upgrade
google-agents-cli-eval Evaluation methodology — metrics, datasets, LLM-as-judge, adaptive rubrics
google-agents-cli-deploy Deployment — Agent Runtime, Cloud Run, GKE, CI/CD, secrets
google-agents-cli-publish Gemini Enterprise registration
google-agents-cli-observability Observability — Cloud Trace, logging, third-party integrations

CLI Commands

Command What it does
agents-cli setup Install CLI + skills to coding agents
agents-cli create <name> Create a new agent project
agents-cli eval run Run the agent over the eval dataset and grade the traces
agents-cli deploy Deploy to Google Cloud
agents-cli publish gemini-enterprise Register with Gemini Enterprise
See all commands
Command Description
agents-cli login Authenticate with Google Cloud or AI Studio
agents-cli login --status Show authentication status
Scaffold
agents-cli create <name> Create a new agent project
agents-cli scaffold enhance Add deployment or CI/CD to an existing project
agents-cli scaffold upgrade Upgrade project to a newer agents-cli version
Develop
agents-cli run "prompt" Run agent with a single prompt
agents-cli install Install project dependencies
agents-cli lint Run code quality checks (Ruff)
Evaluate
agents-cli eval run Run agent inference and grade the traces
agents-cli eval generate Run agent inference over eval cases
agents-cli eval grade Grade generated traces against metrics
agents-cli eval dataset synthesize Synthesize multi-turn eval scenarios for your local agent
agents-cli eval compare Compare two eval result files
agents-cli eval analyze Cluster failure modes from grade results
agents-cli eval metric list List available metrics
agents-cli eval optimize Auto-tune agent prompts using eval data
Deploy & Publish
agents-cli deploy Deploy to Google Cloud
agents-cli publish gemini-enterprise Register with Gemini Enterprise
agents-cli infra single-project Provision single-project infrastructure
agents-cli infra cicd Set up CI/CD pipeline + staging/prod infrastructure
Other
agents-cli info Show project config and CLI version
agents-cli update Force reinstall skills to all IDEs

How it works

agents-cli demo video

Architecture

The Google Cloud agent stack that agents-cli builds on:

Architecture

FAQ

Is this an alternative to Antigravity CLI, Claude Code, or Codex?
No. agents-cli is a tool for coding agents, not a coding agent itself. It provides the CLI commands and skills that make your coding agent better at building, evaluating, and deploying ADK agents on Google Cloud.

How is this different from just using adk directly?
ADK is an agent framework. agents-cli gives your coding agent the skills and tools to build, evaluate, and deploy ADK agents end-to-end.

Do I need Google Cloud?
For local development (create, run, eval), no — you can use an AI Studio API key to run Gemini with ADK locally. For deployment and cloud features, yes.

Can I use this with an existing agent project?
Yes. agents-cli scaffold enhance adds deployment and CI/CD to existing projects.

Can I use agents-cli without a coding agent?
Yes. The CLI works standalone — you can run agents-cli scaffold, eval, deploy, and every other command directly from your terminal. The skills just make it easier for coding agents to do it for you.

How can I extend agents-cli with other skills?
agents-cli skills cover the agent-building lifecycle (scaffold, ADK code patterns, evals, deploy, publish, observability). For adjacent concerns, you could install another skill suite alongside. For example, agent-skills covers general software-engineering workflows (ideation, spec gates, planning, code review), and google/skills covers Google Cloud foundations (BigQuery, Cloud Run, Firebase, GKE).

Feedback

We value your input — it helps us improve agents-cli for the community.

Contributing

The best way to contribute is through feedback: bug reports, feature requests, and ideas shared via issues to directly shape our roadmap.

See the contributing guide for details.

Terms of Service

agents-cli leverages Google Cloud APIs. When you deploy agents, you'll be deploying resources in your own Google Cloud project and will be responsible for those resources. Please review the Google Cloud Service Terms for details.

agents-cli (google/agents-cli)

agent-observability
Searching Database…

What is this?agents-cli gives your coding assistant (Claude Code, Codex, Antigravity CLI, etc.) the CLI commands and skill files it needs to build, evaluate, and deploy AI agents on Google Cloud using the Agent Development Kit (ADK).
Is agents-cli a coding agent itself, or does it work with other coding agents?It's not a coding agent — it's a CLI plus a set of skill files that plug into an existing coding assistant like Claude Code, Codex, or Antigravity CLI, teaching it to scaffold, evaluate, and deploy ADK agents.
How do I get it running?Install the CLI (or just the skill files), open your coding agent of choice, and ask it to build something; the skills guide your agent through scaffolding, running, and deploying the project.
What do I need installed before setting it up?You need Python 3.11+, uv, and Node.js before running the install step.
Do I need a Google Cloud account to use it?Not for local work: creating, running, and evaluating agents only needs an AI Studio API key. A real Google Cloud project is required once you want to deploy or use cloud features like Agent Runtime or Cloud Run.
Which coding agents does agents-cli work with?It's built to work with Antigravity CLI, Claude Code, Codex, and in principle any other coding agent that can read its skill files.
How is this different from using ADK directly?ADK is the underlying agent framework; agents-cli adds the CLI commands and skills that let your coding assistant scaffold, evaluate, and deploy ADK agents end-to-end without you learning every ADK API and GCP service yourself.
Can I add agents-cli to an existing agent project?Yes, the 'agents-cli scaffold enhance' command adds deployment and CI/CD setup to a project you already have.
What does the eval system actually check?It runs your agent over an eval dataset, grades the resulting traces with LLM-as-judge metrics and adaptive rubrics, and can even auto-tune prompts or cluster failure modes from the results.
Creator
google
Size
12.1 MB
Stars
6.1K
Age
6mo
Commits · 90 Days