Google Workspace CLI

github.com
March 5, 2026
6 min read
74/100
Summary
Google Workspace CLI is a command-line tool that integrates with Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin, utilizing Google’s Discovery Service to dynamically build its command surface. It features over 40 AI agent skills and outputs structured JSON, allowing seamless interaction with all Workspace APIs without boilerplate code.
Key Takeaways
- The Google Workspace CLI (gws) is a command-line tool that integrates with Drive, Gmail, Calendar, Sheets, Docs, and Chat, offering over 40 AI agent skills.
- gws dynamically builds its command surface from Google's Discovery Service at runtime, allowing it to automatically incorporate new API endpoints or methods as they are added.
- The CLI supports multiple authentication workflows, encrypts credentials at rest using AES-256-GCM, and allows for both human and AI agent interactions with structured JSON responses.
- The project is under active development, and users should expect breaking changes as it progresses toward version 1.0.
Coverage & discussions
Hacker News · github.com
Community discussions
Community Sentiment
Concerns
- Setting up the Google Workspace CLI is frustrating, with multiple errors encountered during the authentication process, which undermines user experience.
- The recommended OAuth scopes are too broad, leading to confusion and errors, indicating a lack of clarity in the setup process.
- Using npm to install a Rust binary raises questions about the design choices, potentially complicating the installation for users unfamiliar with this approach.
- Claude Opus 4.6 struggled with basic tasks like writing to a Google Sheet, highlighting limitations in its integration capabilities with the CLI.
Related Articles

You need to rewrite your CLI for AI agents
Mar 4, 2026

Get Shit Done: A Meta-Prompting, Context Engineering and Spec-Driven Dev System
Mar 17, 2026
Clawdbot - open source personal AI assistant
Jan 26, 2026

Atlassian’s Mike Cannon-Brookes: AI agents need a name tag—and a human to be accountable for their actions
Oct 19, 2026

Harness Engineering 101: The LLM is the brain, the harness is the body
Oct 19, 2026