What it is
googleworkspace's cli is a command-line tool for Google Workspace, invoked as gws. It can work with email, files and calendars, and includes Skills that let AI agents use a language model to manage Workspace. It reads Google Discovery Service at runtime to build commands dynamically. The project states that it is not an officially supported Google product.
Highlights:
- Works with Workspace services including Drive, Gmail, Calendar and Sheets.
- Returns structured JSON for programs and AI agents to process.
- Includes Agent Skills and examples for common workflows.
How to use:
- First, download the appropriate program from GitHub Releases, extract it and put gws in your PATH.
- Next, prepare a Google Cloud project and a Google account with Workspace access, then follow the project instructions for OAuth authorization.
- Finally, use the commands to work with Workspace services, or use the included Skills with an AI agent.
Who it's for:
Developers who want to work with Google Workspace through a command line or an AI agent.
Before you start:
- You need a Google Cloud project, OAuth credentials and a Google account with Workspace access. You must authorize the scopes for the selected services.
- The tool connects to fetch API information and send requests. It can read and modify Workspace data, send email and upload local files.
- Credentials are encrypted by default, with the key stored in the system keyring or a specified file. Plaintext credential files are also supported. Check the access scopes and how credentials are stored.
- The project is under active development and may introduce breaking changes. It uses the Apache-2.0 license; check the relevant services for costs.
- If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences.
Based on the project's public documentation. Not tested by AI Inspiration World.