Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
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   |   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: Gemini CLI  •  Claude Code  •  Codex  •  Antigravity  •  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 Gemini 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

SkillWhat your coding agent learns
google-agents-cli-workflowDevelopment lifecycle, code preservation rules, model selection
google-agents-cli-adk-codeADK Python API — agents, tools, orchestration, callbacks, state
google-agents-cli-scaffoldProject scaffolding — create, enhance, upgrade
google-agents-cli-evalEvaluation methodology — metrics, evalsets, LLM-as-judge, trajectory scoring
google-agents-cli-deployDeployment — Agent Runtime, Cloud Run, GKE, CI/CD, secrets
google-agents-cli-publishGemini Enterprise registration
google-agents-cli-observabilityObservability — Cloud Trace, logging, third-party integrations

CLI Commands

CommandWhat it does
agents-cli setupInstall CLI + skills to coding agents
agents-cli scaffold <name>Create a new agent project
agents-cli eval runRun agent evaluations
agents-cli deployDeploy to Google Cloud
agents-cli publish gemini-enterpriseRegister with Gemini Enterprise
See all commands
CommandDescription
agents-cli loginAuthenticate with Google Cloud or AI Studio
agents-cli login --statusShow authentication status
Scaffold
agents-cli scaffold <name>Create a new agent project
agents-cli scaffold enhanceAdd deployment, CI/CD, or RAG to an existing project
agents-cli scaffold upgradeUpgrade project to a newer agents-cli version
Develop
agents-cli run "prompt"Run agent with a single prompt
agents-cli installInstall project dependencies
agents-cli lintRun code quality checks (Ruff)
Evaluate
agents-cli eval runRun agent evaluations
agents-cli eval compareCompare two eval result files
Deploy & Publish
agents-cli deployDeploy to Google Cloud
agents-cli publish gemini-enterpriseRegister with Gemini Enterprise
agents-cli infra single-projectProvision single-project infrastructure
agents-cli infra cicdSet up CI/CD pipeline + staging/prod infrastructure
Data
agents-cli infra datastoreProvision datastore infrastructure for RAG
agents-cli data-ingestionRun data ingestion pipeline
Other
agents-cli infoShow project config and CLI version
agents-cli updateForce reinstall skills to all IDEs

How it works


Architecture

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

Architecture

FAQ

Is this an alternative to Gemini 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.

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 agents-cli@google.com 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. The CLI is distributed as a pre-built wheel rather than as source in the repository, which lets us iterate quickly while keeping the public interface stable. The code is not obfuscated — you can inspect any release by extracting the .whl file (a standard zip archive).

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.

关于 About

The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.
adkagent-development-kitagentscoding-agentgeminigemini-enterprise-agent-platformgenerative-aigoogle-cloud

语言 Languages

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
16
Total Commits
峰值: 8次/周
Less
More

核心贡献者 Contributors