Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Comparison of gog, GAM7 and gws¶
For working with your own Gmail, Calendar, Drive, Docs and Sheets from the terminal, in scripts or by AI agents, gog is the best fit. It is actively developed, has curated task-oriented commands and strong safety controls, and works with consumer Google accounts.
For administering a Google Workspace domain, use GAM7. It only works with paid (or Education/Non-profit) Google Workspace editions.
gws covers every Google Workspace API (its commands are generated from Google Discovery Service), but it is pre-1.0 and has had no commits since March 2026.
Table 1:Command Line Tools for Google Workspace
Aspect | |||
|---|---|---|---|
Status | Active | Active | Low activity (last commit 2026-03)[1] |
Target users | Individuals, scripts and AI agents | Google Workspace administrators | Developers and AI agents |
Command design | Curated, task-oriented commands (e.g., | Its own admin-oriented grammar (e.g., | Generated at runtime from Google Discovery Service (e.g., |
Consumer Google account? | Y | N[2] | Y |
Workspace administration? | Partial[3] | Y[4] | Y[5] |
Bulk processing? | Unknown | Y[6] | Unknown |
Multiple accounts? | Y[7] | Y[8] | Unknown[9] |
Output formats | JSON ( | CSV, optionally uploaded to Google Sheets ( | JSON (default), table, YAML, CSV ( |
AI agent support | Agent skills, | N | 100+ agent skills, Gemini CLI extension, |
Safety controls |
| Unknown |
|
Installation | Homebrew, | Install script, Windows installer, | Prebuilt binaries, npm, Homebrew, |
Best fit | Personal Google Workspace work and AI agents | Domain administration and bulk user/data management | Raw access to any Google Workspace API |
Language | Go | Python | Rust |
License | MIT | Apache 2.0 | Apache 2.0 |
Popularity (Stars) | ~8.5k ★ | ~4.3k ★ | ~31.6k ★ |
Other Realted Tools¶
References¶
Latest release v0.22.5 (2026-03-31). The README warns of breaking changes before v1.0 and says it is not an officially supported Google product.
Requires a paid, or Education/Non-profit, edition of Google Workspace.
gog adminandgog groups; requires a Workspace domain and a service account with domain-wide delegation.Core purpose: users, groups, org units, ChromeOS and mobile devices, reports, Vault, etc.
Via the Admin SDK APIs exposed through Discovery.
gam csv <file> gam ...runs a command per CSV row;gam batch/gam tbatchrun command files.Multiple accounts, account aliases (
gog auth alias set) and--account.Multiple customers/domains via sections in
gam.cfg.Not documented in the README; credentials are selected via environment variables such as
GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE.The built-in MCP server (
gws mcp) was removed.