cli
by googleworkspace
A command-line tool that lets you control Google Workspace services such as Drive, Gmail, Calendar, Sheets, Docs and Chat from one place. It builds its commands from Google's own API listings and returns structured JSON, so people and AI agents can automate Workspace tasks.
- Stars
- 32k +22 a day
- Licence
- Apache-2.0
- Runs on
- Your computer
- Setup
- Technical
- Language
- Rust
- Age
- 241 days
What you can do with it
- List, search and manage files in Google Drive from the terminal
- Create spreadsheets or send Google Chat messages from scripts
- Give an AI agent the included skills so it can manage Workspace for you
Make money with it
A freelancer could offer Google Workspace automation set-up for small businesses, using scripts built on this tool.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Automate routine Workspace jobs such as reports in Sheets, file clean-ups in Drive and team notifications in Chat, instead of paying for extra automation tools
- Let an AI assistant handle calendar, email and document chores to cut admin time
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Download a prebuilt binary from GitHub Releases, or install with npm, Homebrew, Nix or cargo, then set up Google Cloud OAuth credentials with gws auth setup.
Follow the official instructions in the project README.
Things to check
- Not an officially supported Google product
- Under active development with breaking changes expected before v1.0
- Needs a Google Cloud project and OAuth set-up, which can be fiddly
- Unverified OAuth apps are limited to around 25 scopes
- Giving AI agents access to email and files carries privacy and safety risks
Checked 29 Oct 2026. Summary drafted by AI from the project's README.