Google has launched an open-source command-line interface (CLI) designed to provide unified access to its productivity suite, Google Workspace, marking a step toward making the platform easier for developers and artificial intelligence agents to interact with.
The new tool, commonly referred to as gws, allows users to interact with Workspace services such as Gmail, Drive, Calendar, Docs, Sheets, Chat, and administrative tools directly from the terminal. By consolidating multiple APIs into a single interface, the CLI simplifies how developers build automated workflows and integrate AI systems with Workspace data.
Traditionally, developers seeking to connect AI assistants or automation tools with Workspace applications had to manage multiple APIs, OAuth permissions, and endpoints individually. The newly released CLI abstracts much of that complexity by offering a unified command structure that allows users to authenticate once and perform actions across several Workspace services.
The tool is designed for both human users working in terminal environments and AI-driven agents that rely on structured outputs. Responses are returned in structured JSON format, making them easier for large language models and automation tools to parse and act upon.
The repository also includes more than 100 built-in ‘agent skills’ and curated workflow recipes covering common tasks such as email management, file searches, and calendar operations.
Read also: Blockchain.com expands to Ghana after 700% growth in Nigeria, eyes wider Africa push
Another key feature is its dynamic command system. The CLI pulls data from Google’s Discovery Service at runtime, allowing new API endpoints or methods to appear automatically whenever Google updates its services, eliminating the need for manual tool updates.
The project has been published on GitHub under the Apache 2.0 open-source license, enabling developers to modify and integrate the tool into their own systems freely. However, Google has noted that the CLI is currently experimental and not officially supported for production use.
The release comes amid growing interest in ‘agentic AI,’ which is autonomous systems capable of carrying out tasks such as drafting emails, updating documents, or managing calendars on behalf of users. By providing a unified interface to Workspace services, the CLI could help developers build AI assistants that automate everyday productivity tasks more easily.
