@Gorden_Sun: 谷歌开源agents-cli 不是Agent,实际只是一套Skill包,能让本地Agent能在谷歌云服务上构建和调试云端Agent。新时代的开发文档了,直接发一套Skill让Agent用,反正代码也是Agent写。 Github:http…
摘要
Google open-sourced agents-cli, a CLI and skill pack that enables coding agents to build and deploy enterprise-grade agents on Google Cloud's Gemini Enterprise Agent Platform.
查看缓存全文
缓存时间: 2026/06/29 20:30
谷歌开源agents-cli 不是Agent,实际只是一套Skill包,能让本地Agent能在谷歌云服务上构建和调试云端Agent。新时代的开发文档了,直接发一套Skill让Agent用,反正代码也是Agent写。 Github:https://t.co/IUg6LLknbA https://t.co/Fza9QE3vn0
google/agents-cli
Source: https://github.com/google/agents-cli
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 scaffold <name> | Create a new agent project |
agents-cli eval generate | Run agent on eval dataset, produce traces |
agents-cli eval grade | Run agent evaluations on 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 scaffold <name> | Create a new agent project |
agents-cli scaffold enhance | Add deployment, CI/CD, or RAG 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 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 |
| Data | |
agents-cli infra datastore | Provision datastore infrastructure for RAG |
agents-cli data-ingestion | Run data ingestion pipeline |
| Other | |
agents-cli info | Show project config and CLI version |
agents-cli update | Force reinstall skills to all IDEs |
How it works
Architecture
The Google Cloud agent stack that agents-cli builds on:

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.
- Bugs & feature requests: open an issue — 👍 the ones you want prioritized
- Share what you built: we’d love to hear about your projects! Reach out at [email protected] to share your agent or provide feedback
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.
Preview
This feature is subject to the “Pre-GA Offerings Terms” in the General Service Terms section of the Service Specific Terms. Pre-GA features are available “as is” and might have limited support. For more information, see the launch stage descriptions.
相似文章
google/agents-cli
Google 发布了 `agents-cli`,这是一个命令行工具和技能集,用于在 Gemini Enterprise Agent 平台上构建、部署和管理企业级代理,旨在与 Claude Code 和 Codex 等流行编码助手集成。
google/skills
一个GitHub仓库,提供一系列适用于Google Cloud和Gemini API的Agent Skills,可通过npx安装,帮助AI代理与Google技术进行交互。
@0xQiYan: 谷歌刚发布了官方 CLI,专为 AI 代理开发打造。 它不是新代理,而是给 Claude Code、Codex 等任何编码代理加一层“技能包”。装完后,你的代理自动学会从项目搭建、编码(ADK)、评估、部署到可观测的全套流程。 7 项官方…
谷歌发布了官方 CLI(google-agents-cli),专为 AI 代理开发打造,可增强 Claude Code、Codex 等编码代理的全流程能力,覆盖项目搭建、编码、评估、部署和可观测,开源且一行命令安装。
并非代理,但谷歌发布了关于谷歌产品的技能集
谷歌为其AI工具发布了一套技能,旨在将代理转变为Google产品的专家,这些技能可在GitHub上的skills/cloud文件夹中找到。
@KengGuangLong: 谷歌 Gemini 团队主管 Addy Osmani 最近开源了一个叫 Agent Skills 的项目,短时间内在 GitHub 上拿到了 18000 多个 Star,热度很高。 这个项目做的事情说起来也不复杂:把资深工程师多年积累的工…
谷歌Gemini团队主管Addy Osmani开源Agent Skills项目,将资深工程师经验标准化为AI可用技能库,GitHub快速收获18000+星。