Agents CLI in Agent Platform: create to production in one CLI

- Agents CLI 提供直接接入 Google Cloud 的能力,减少环境割裂。
- 通过单命令注入技能包,降低上下文过载问题。
- 支持主流 AI 编码助手,优化开发周期至小时级。
APRIL 22, 2026
**APRIL 22, 2026****Developer Relations Engineering****Agent Ecosystems**
AI agents are transitioning from experimental scripts to production services. But while models get smarter, the infrastructure required to build, evaluate, and deploy them remains stubbornly fragmented. Developers and their coding assistants often struggle with isolation, wasting time and tokens ingesting massive amounts of documentation just to bridge the local-to-cloud gap.

Today, we are thrilled to introduce **Agents CLI in Agent Platform**, the unified programmatic backbone for the Agent Development Lifecycle (ADLC) on Google Cloud.
Agents CLI is a specialized tool designed specifically for AI coding agents (like Gemini CLI, Claude Code, and Cursor). It gives your AI assistant a direct, machine-readable line to the full Google Cloud agent stack (including Agent Platform, Cloud Run, and A2A Integration) turning a fragmented ecosystem into a seamless assembly line.
Let’s take a look at how the Agents CLI streamlines the journey from idea to production in hours, not weeks.
**Build Agents with Agents**
The biggest hurdle in agent development is context overload. When your coding agent has to guess how disparate cloud components fit together, it leads to endless loops and token waste.
With Agents CLI in Agent Platform, you simply run one command (uvx google-agents-cli) to inject bundled skills directly into your coding environment.

This provides coding assistants the exact sensory input and API references they need to scaffold functional, standard-compliant projects immediately.
# Installing the CLI
uvx google-agents-cli setupPlain text
Copied
If you want to, you can run the CLI commands directly yourself. However, you can even use your favorite coding agent to use the CLI commands via Agents CLI Skills.
For example, you could prompt your coding agent: "I want to create a travel expense agent that can help me auto-approve expenses under $50 and require HITL to approve anything over $50, or any expense that might look out of the norm."
# Your coding agent seamlessly scaffolds the project using automatic defaults
agents-cli create finance-agent -y --deployment-target agent_engine
# Move into the directory
cd finance-agentPlain text
Copied
**Local Simulation and Rigorous Evaluation**
Building the logic is only half the battle, ensuring it behaves correctly is the other. Before going live, developers need to know their agents meet accuracy thresholds.
Agents CLI can run rigorous evaluation harnesses. By using native commands, your coding assistant can orchestrate unit tests, validate data retrieval, and contrast different evaluation runs to guarantee quality.
# Run evaluations against your ground-truth datasets
agents-cli eval run
# Compare the trajectory scoring and metrics of two runs
agents-cli eval compare evals/run_v1.json evals/run_v2.jsonJSON
Copied
**Seamless Deployment to Production**
Going from a local prototype to a secure, globally distributed service shouldn't take 70 days. Agents CLI can automate the entire deployment phase. It seamlessly injects Infrastructure as Code (IaC), sets up CI/CD pipelines, and deploys directly to Agent Runtime / Cloud Run/ GKE.
# Provision the production infrastructure
agents-cli infra single-project
# Ship the agent to Google Cloud
agents-cli deploy
# Register the deployed agent with Gemini Enterprise for distribution
agents-cli publish gemini-enterprisePlain text
Copied
**Human Intent + Agent Execution**
While the Agents CLI is optimized for agent consumption (**Agent Mode**), we know developers need deterministic control. That's why the CLI fully supports a **Human Mode**. You can run these commands directly in your terminal or scripts for immediate, deterministic execution: stepping in whenever you want to guide the "hands and eyes" of the AI.

**What's Next?**
Get started today by downloading Agents CLI in Agent Platform and running uvx google-agents-cli in your terminal. Dive into our **Documentation** and **GitHub repository** to see how your coding assistant can build the next generation of production-grade AI.
Don't forget to join our community on **Reddit** or the **Agent Ecosystems Google Group** and share what you're building.
The Agentic Internet is here. Let your agents build it.
**POSTED IN:** AI • Cloud • Announcements • Problem-Solving
[](https://developers.googleblog.com/production-ready-ai-agents-5-lessons-from-refactoring-a-monolith/) Previous
Next
[](https://developers.googleblog.com/maxtext-expands-post-training-capabilities-introducing-sft-and-rl-on-single-host-tpus/)