AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Productivity › cli
✦ Free & open sourceProductivity

cli

One CLI for Google Workspace built for humans and AI agents.

Manage Google Workspace from your terminal or AI agent

Query Drive, Gmail, Calendar, and Sheets with zero boilerplate and structured JSON output.

Free forever · open source · Apache-2.0
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.9
ZEKAI
Essential Workspace CLI
Free & open source · Productivity
Ease of setup4
Usefulness9
Maintenance9.5
Community9.2
★ 31,428
GITHUB
Oct 2026
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

This is a command-line tool that reads Google's Discovery Service at runtime to dynamically build a command surface for all Workspace APIs. It suits developers and executive assistants looking to script workflows or feed workspace data to AI agents.

Runs on
Cross-platform
Hosting
Desktop
Languages
Rust
License
Apache-2.0

What it is

It executes API calls across Google Workspace services without requiring hardcoded static command lists. Every response outputs structured JSON, and it includes over 40 agent skills and a Gemini CLI extension for automated task execution.

Who it's for

It suits technical professionals, sysadmins, and power users comfortable with command-line tools and OAuth setup. It does not suit non-technical users who expect graphical interfaces or simple wizard-driven desktop apps.

Key features

Dynamic Command Surface

Reads Google's Discovery Service at runtime so newly added API endpoints are picked up automatically.

Structured JSON Output

Returns clean JSON for every response to integrate directly with shell scripts and AI agents.

Built-In AI Agent Skills

Includes over 100 agent skills and a Gemini CLI extension for direct workspace control by LLMs.

Multiple Auth Workflows

Supports interactive setup, manual OAuth, service accounts, and pre-obtained access tokens for CI environments.

How to start

Up and running in 3 steps

1
Download the binary from GitHub releases or install via npm or Homebrew.
2
Run gws auth setup or configure manual OAuth credentials via the Google Cloud Console.
3
Execute commands like gws drive files list to query your workspace data.
Real talk

Our honest verdict

What's great

  • Eliminates writing raw curl calls against Google REST documentation.
  • Streams paginated results as NDJSON for easy pipeline filtering with jq.
  • Provides dry-run preview capabilities for destructive API actions.
  • Includes a Nix flake and pre-built binaries across multiple platforms.

Where it falls short

  • Requires manual Google Cloud project configuration and OAuth consent screen setup.
  • Unverified OAuth apps in testing mode hit strict scope limits for gmail.com accounts.
  • Under active development with breaking changes expected before v1.0.
Cost

Pricing & license

The tool is free to use under its open-source license. The only associated cost is your time configuring a Google Cloud project and any potential Google Cloud API quota usage.

Paid work

Open remote AI-training roles

873 open remote AI-training roles, updated November 15, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

Get more

Use it, or have us set it up

📄 Free PDF: cli for Productivity
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure cli for you — and train your team.
Get it done for you ↗
Questions

FAQ

Why does gws auth setup require gcloud?

It uses the gcloud CLI to automate the creation of your Google Cloud project and enable the necessary APIs.

How do I handle OAuth scope limits in testing mode?

You must select individual services using flags like -s drive,gmail,sheets rather than requesting all 85+ recommended scopes at once.

Can I use this in headless CI environments?

Yes, by exporting credentials from an authorized machine and setting the GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE environment variable.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Productivity — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google