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)

Searching Database…

这是什么?agents-cli 为你的编程助手(Claude Code、Codex、Antigravity CLI 等)提供所需的 CLI 命令和技能文件,使其能够借助 Agent Development Kit(ADK)在 Google Cloud 上构建、评估和部署 AI 智能体。
agents-cli 本身是编程助手吗,还是能与其他编程助手配合使用?它不是编程助手,而是一套 CLI 加上一组技能文件,可以接入现有的编程助手(如 Claude Code、Codex 或 Antigravity CLI),教会它搭建、评估和部署 ADK 智能体。
我该怎么让它跑起来?安装 CLI(或仅安装技能文件),打开你选择的编程助手,让它开始构建某个项目;技能文件会引导助手完成项目的搭建、运行和部署。
开始设置前,我需要先安装什么?在运行安装步骤之前,你需要先安装 Python 3.11+、uv 和 Node.js。
使用它需要 Google Cloud 账号吗?本地工作不需要:创建、运行和评估智能体只需要一个 AI Studio API 密钥。当你想要部署,或使用 Agent Runtime、Cloud Run 等云端功能时,才需要一个真实的 Google Cloud 项目。
agents-cli 支持哪些编程助手?它的设计目标是支持 Antigravity CLI、Claude Code、Codex,以及原则上任何能够读取其技能文件的其他编程助手。
这和直接使用 ADK 有什么区别?ADK 是底层的智能体框架;agents-cli 则增加了 CLI 命令和技能文件,让你的编程助手能够端到端地搭建、评估和部署 ADK 智能体,而无需你自己学习每一个 ADK API 和 GCP 服务。
我能把 agents-cli 添加到现有的智能体项目中吗?可以,运行 'agents-cli scaffold enhance' 命令即可为你已有的项目添加部署和 CI/CD 配置。
评估系统实际检查什么?它会用评估数据集运行你的智能体,使用 LLM-as-judge 指标和自适应评分标准对生成的追踪记录(traces)进行打分,还能根据结果自动调优提示词,或归纳失败模式。
Creator
google
Size
12.1 MB
Stars
6.1K
Age
6mo
Commits · 90 Days