Skip to content
AI Tool

cli Review

cli is a command-line interface for Google Workspace, providing unified access to services like Drive, Gmail, and Calendar, dynamically built from Google Discovery Service, and includes AI agent skills.

shipped Jun 3, 2026freemium
Domain rating99Monthly visits3.9M/mo
cli - AI tool

Why it matters

1Released in early March 2026, the Google Workspace CLI accumulated over 10,000 GitHub stars in its first week.
2It is primarily written in Rust (99.3%) and distributed under the Apache 2.0 open-source license.
3The tool dynamically generates commands by reading Google's Discovery Service at runtime, ensuring immediate access to new Workspace API endpoints.
4It offers a unified interface for over 50 Google Workspace APIs, streamlining automation and AI agent integration.

About cli

Headquarters
Mountain View, USA
Funding
Public
Platforms
Web, iOS, Android
Target Audience
Businesses and individuals looking for productivity and collaboration tools.

Leadership

Larry PageCo-founder
Sergey BrinCo-founder

overview

What is cli?

cli is a command-line interface tool developed by Google that enables developers, administrators, and AI agents to interact with the entire Google Workspace ecosystem. It provides direct, scriptable access to services like Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin APIs from the terminal. The Google Workspace CLI acts as a "universal remote" for Google Workspace, allowing users to manage and automate tasks across various Google services without needing to navigate multiple web interfaces or build separate API integrations. A core design principle is its "agent-native" approach, enabling AI agents (like those powered by Claude Code or Gemini CLI) to read, write, and interact with Workspace data and actions through structured JSON output and pre-built "skills." This eliminates the need for complex API wrappers and reduces the "context tax" often associated with Model Context Protocol (MCP) servers. The tool streamlines development by offering a single interface to over 50 Workspace APIs, dynamically discovering new API endpoints, and providing helper commands for common workflows such as sending emails, triaging inboxes, and generating standup reports.

features

Key Features of cli

The Google Workspace CLI provides a comprehensive set of features designed for efficient command-line interaction with Google Workspace services. Its architecture emphasizes dynamic adaptability and integration with AI agent workflows, offering a robust platform for automation and development.

  • Unified command-line access to Google Workspace services including Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin APIs.
  • Dynamic command generation from Google Discovery Service, automatically incorporating new Workspace API endpoints without requiring manual updates.
  • Includes AI agent skills and an "agent-native" design, facilitating interaction with AI models for reading, writing, and acting on Workspace data.
  • Model Context Protocol (MCP) server support, enabling connection to AI tools like Claude Code and Gemini CLI, exposing Workspace APIs as structured tools.
  • Enhanced authentication and security through OS keychain integration for macOS and Windows, with file-based fallback for Linux CI/CD environments.
  • Integration with Google Cloud Model Armor via a --sanitize flag to scan API responses for prompt injection before reaching an AI agent.
  • Open-source under the Apache 2.0 license, with its codebase primarily written in Rust (99.3%).
  • Streamlines development by offering a single interface to over 50 Workspace APIs, reducing the need for complex API wrappers.
  • Supports automation and scripting for repetitive tasks, integration into CI/CD pipelines, and creation of custom workflows.

use cases

Who Should Use cli?

The Google Workspace CLI is designed for a diverse range of users who require programmatic access and automation capabilities for Google Workspace services. Its focus on developer productivity and AI agent integration makes it suitable for technical users and organizations leveraging advanced automation.

  • Developers and AI Engineers: For automating repetitive tasks, integrating Workspace actions into CI/CD pipelines, and building agentic applications with AI models like Claude Code and Gemini CLI.
  • Google Workspace Administrators: For managing and automating tasks across various Google services, performing bulk operations, and scripting administrative workflows directly from the terminal.
  • Businesses and Organizations: For internal enterprise workflows such as file discovery, spreadsheet updates, document generation, calendar operations, and internal reporting, enhancing operational efficiency.
  • Individual Entrepreneurs and Start-ups: To leverage cloud-based productivity and collaboration tools efficiently from the command line, reducing reliance on graphical user interfaces for routine tasks.

pricing

cli Pricing & Plans

The Google Workspace CLI (cli) is an open-source tool released under the Apache 2.0 license, making it free to download and use. Its functionality integrates with Google Workspace, which offers various paid subscription plans for businesses, schools, and organizations, in addition to a free personal tier. The CLI itself does not incur direct costs, but access to advanced Google Workspace features and higher usage limits may require a paid Google Workspace subscription. Users should consult Google Workspace's official pricing for details on its various tiers, which include Business Starter, Business Standard, Business Plus, and Enterprise plans.

Similar Tools

cli vs Competitors

The Google Workspace CLI distinguishes itself in the market by offering dynamic API integration and a strong focus on AI agent capabilities, setting it apart from traditional administrative tools and competing productivity suites.

1

GAM is a powerful, open-source command-line tool specifically designed for Google Workspace administrators to efficiently manage domain and user settings, excelling at bulk operations and scripting.

Unlike the Google Workspace CLI, which is dynamically built and includes AI agent skills, GAM offers a static command set focused on comprehensive administrative tasks for Google Workspace without inherent AI capabilities, primarily targeting human administrators for scripting and automation.

2
CLI for Microsoft 365

This cross-platform command-line interface provides unified management for various services within the Microsoft 365 ecosystem, including SharePoint, Teams, and Entra ID.

While the Google Workspace CLI targets Google's productivity suite, this tool serves the competing Microsoft 365 suite, offering similar command-line management capabilities for a different set of applications. It uses a static command set and a plugin architecture, contrasting with the Google Workspace CLI's dynamic command generation and AI agent focus.

3
Gemini CLI

It integrates Google's Gemini AI models directly into the terminal, enabling AI-powered command suggestions, automation of file-based tasks, and the use of AI sub-agents within development workflows.

Gemini CLI is a broader AI-powered command-line tool from Google that can interact with various Google services, and the Google Workspace CLI is designed to work with AI agents like Gemini CLI. While the Google Workspace CLI focuses on managing Workspace services, Gemini CLI brings AI capabilities to the terminal for a wider range of tasks, including those that might involve Workspace data through AI agents.