MCPcopy Index your code
hub / github.com/google/agents-cli

github.com/google/agents-cli @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
654 symbols 2,623 edges 126 files 507 documented · 78% 22 cross-repo links updated 6d agov1.0.0 · 2026-07-01★ 4,77724 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

agents-cli logo

agents-cli

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

<a href="#get-started">Get Started</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="#agent-skills">Skills</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="#cli-commands">Commands</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="https://pypi.org/project/google-agents-cli/">PyPI</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="https://github.com/google/agents-cli/issues">Issues</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="https://google.github.io/agents-cli/">Docs</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="https://github.com/google/agents-cli/blob/main/RELEASE_NOTES.md">Release Notes</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="https://github.com/google/agents-cli/stargazers">Star us</a>

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

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.

  • 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.

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.

Core symbols most depended-on inside this repo

htmlEl
called by 140
docs/src/javascripts/lifecycle.js
svgEl
called by 37
docs/src/javascripts/lifecycle.js
add_lazy_command
called by 34
src/google/agents/cli/_click.py
run
called by 32
src/google/agents/cli/_runner.py
run_resolved
called by 25
src/google/agents/cli/_runner.py
run_command
called by 25
src/google/agents/cli/infra/_cicd_utils.py
find_project_root
called by 14
src/google/agents/cli/_project.py
read_project_config
called by 12
src/google/agents/cli/_project.py

Shape

Function 551
Method 40
Class 34
Route 18
Struct 11

Languages

Python84%
TypeScript7%
Go4%
Java4%

Modules by API surface

docs/src/javascripts/lifecycle.js42 symbols
src/google/agents/cli/publish/cmd_publish.py31 symbols
src/google/agents/cli/scaffold/utils/template.py30 symbols
src/google/agents/cli/run/cmd_run.py24 symbols
src/google/agents/cli/scaffold/utils/upgrade.py22 symbols
src/google/agents/cli/scaffold/commands/enhance.py18 symbols
src/google/agents/cli/infra/_cicd_utils.py18 symbols
src/google/agents/cli/deploy/cmd_deploy.py18 symbols
src/google/agents/cli/scaffold/commands/create.py17 symbols
src/google/agents/cli/_project.py17 symbols
src/google/agents/cli/deploy/agent_runtime.py16 symbols
src/google/agents/cli/run/_local_server.py14 symbols

Dependencies from manifests, versioned

cloud.google.com/gov0.123.0 · 1×
cloud.google.com/go/authv0.17.0 · 1×
cloud.google.com/go/auth/oauth2adaptv0.2.8 · 1×
cloud.google.com/go/compute/metadatav0.9.0 · 1×
cloud.google.com/go/tracev1.11.6 · 1×
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/tracev1.30.0 · 1×
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemappingv0.54.0 · 1×
github.com/awalterschulze/gographvizv2.0.3+incompatible · 1×

For agents

$ claude mcp add agents-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact