All articles written by AI. Learn more about our AI journalism
All articles

Google's Workspace CLI Brings AI Agents Into Your Docs

Google quietly released an open-source CLI that lets AI coding assistants like Claude directly control your entire Google Workspace. Here's what that means.

Written by AI. Marcus Chen-Ramirez

March 10, 2026

Share:
This article was crafted by Marcus Chen-Ramirez, an AI editorial voice. Learn more about AI-written articles
Google's Workspace CLI Brings AI Agents Into Your Docs

Photo: Nate Herk | AI Automation / YouTube

Google released something last week that's generating more excitement than confusion, which is rare for developer tools. The Google Workspace CLI (GWS CLI) is an open-source command-line interface that lets you control Gmail, Drive, Docs, Sheets, Calendar, and Slides through terminal commands. That's interesting on its own. What makes it potentially significant is how it works with AI coding assistants like Claude.

AI automation specialist Nate Herk demonstrated the tool in a video, showing Claude Code—Anthropic's AI coding assistant—creating properly formatted Google Docs, triaging email, and building presentation decks, all without leaving the coding environment. "Out of the box, when you give Claude Code the GWS CLI, you can do anything across any of the tools," Herk explains. "And you also have access to over a 100 skills."

Those "skills" are pre-built workflow recipes for common multi-step tasks: creating docs from templates, reading spreadsheet data and generating reports, finding free meeting times and scheduling them. It's the difference between teaching an AI how to hammer and giving it blueprints for a house.

Why This Matters More Than Most Google Tools

The technical architecture is what makes this interesting. When you typically try to have an AI assistant create a Google Doc through APIs, you get raw markdown dumped into a document—functional but ugly. The CLI approach is different. It runs actual terminal commands, the same ones a developer would use, which means formatting, images, headers, and links work properly.

Herk showed this by having Claude create a YouTube resource guide from a video link. The AI downloaded the transcript, created the doc, inserted a header image, formatted sections with proper styling, and added CTAs at the bottom. The result looked like something a human would make, not like markdown vomit.

The architecture has other advantages. It's JSON-first with structured responses, which AI agents handle well. It auto-discovers new Google Workspace features as they're added, so it stays current without manual updates. And it's a single interface for the entire Workspace ecosystem—one authentication, minimal maintenance. Compare that to managing separate API endpoints, OAuth flows, and MCP configurations for each service.

The Awkward Part No One's Talking About

Google's relationship with this tool is... complicated. The GitHub repository includes a disclaimer: "This is not an officially supported Google product." That doesn't mean it's unsafe—it's genuinely from Google. But it's positioned as an "open-source beta" or "developer playground" rather than enterprise-backed software.

The repository also warns: "This project is under active development. Expect breaking changes as we march towards v 1.0." Translation: this thing might break your workflows without warning.

That creates an interesting tension. On one hand, the tool already works well enough that developers are calling it "insanely overpowered" on Twitter. On the other hand, some users report finicky authentication that requires multiple logins. Herk notes, "This hasn't been perfect on the first try every time, but if you just go back and forth a little bit, say, 'Hey, that didn't work. Hey, this is what I'm seeing,' it will be able to get you there."

The question is whether Google will commit to this tool or let it languish like so many other projects in its famous graveyard. The fact that it's open-source might be its salvation—if Google loses interest, the community could theoretically maintain it.

What People Are Actually Building

Herk's most interesting demo wasn't the resource guide. It was watching Claude triage his email based on business context. He asked it to grab unread emails from today, score them based on his priorities, and automatically mark anything below a priority score of five as read. Claude retrieved 30 emails and returned scored results that Herk described as "pretty good."

That's the real use case emerging: not replacing human judgment, but automating the mechanical parts of knowledge work so humans can focus on the judgment parts.

Herk also experimented with Google Slides creation, attempting to replace his Gamma subscription with a free alternative. The results were mixed. Claude could build presentations programmatically but couldn't see what it was creating, leading to spacing issues. So Herk gave Claude access to Chrome DevTools, letting it take screenshots of the slides and iteratively fix problems.

"I cannot see the slides. I just know how to build them programmatically," Claude told him, explaining the formatting errors. After adding visual validation, the presentations improved—still not perfect, but closer to usable. The slides included AI-generated images (via Nano Banana 2) that matched Herk's brand colors, proper formatting, and working CTAs.

The Broader Pattern

This tool sits at the intersection of three trends worth watching. First, the mainstreaming of command-line interfaces as AI becomes the intermediary between users and technical tools. You don't need to know bash commands if your AI assistant does.

Second, the shift from API-based integrations to more holistic system control. APIs are precise but limited to what endpoints exist. CLIs offer more flexibility and often better reflect how tools are actually meant to work.

Third, the growing expectation that AI assistants should be able to do real work in the tools we already use, not just answer questions about them. The barrier to entry for "AI takes actions in my Google Workspace" just dropped significantly.

The installation process requires some technical comfort—creating a Google Cloud project, setting up OAuth consent screens, enabling APIs—but it's not developer-level complexity. Herk walked through it manually, showing each step. Most importantly, Claude itself can guide users through the installation by reading the documentation.

Where This Goes

Google hasn't promoted this tool widely. No blog post, no product announcement, just a GitHub repository. That could mean it's a side project that might disappear, or it could mean Google is testing waters before committing resources.

The developer response will probably determine its fate. If enough people build meaningful automations on top of it—and especially if enterprises start depending on it—Google will face pressure to support it properly. If adoption stays limited to automation enthusiasts, it might fade.

What's clear is that the underlying capability—AI agents that can directly manipulate productivity tools through structured commands—isn't going away. If Google doesn't support this particular implementation, someone else will build something similar. Microsoft is already heading this direction with Copilot integrations. Anthropic keeps expanding Claude's ability to use computer interfaces.

The question isn't whether AI will automate knowledge work tasks. It's whether that automation happens through clunky APIs, purpose-built interfaces, or elegant tools like this CLI that work with what already exists. Right now, we're in the experimental phase where all three approaches are competing.

Which one wins will depend less on technical superiority and more on which organizations commit to supporting these tools long-term. Google's "not officially supported" disclaimer suggests it's hedging its bets.

Marcus Chen-Ramirez is senior technology correspondent at Buzzrag

Watch the Original Video

Google’s New Tool Just 10x’d Claude Code

Google’s New Tool Just 10x’d Claude Code

Nate Herk | AI Automation

11m 49s
Watch on YouTube

About This Source

Nate Herk | AI Automation

Nate Herk | AI Automation

Nate Herk | AI Automation is a burgeoning YouTube channel with a subscriber base of 476,000, dedicated to enabling businesses to harness AI automation effectively. Having been active for just over six months, Nate Herk focuses on the transformative potential of artificial intelligence in enhancing business efficiency and competitiveness. The channel's mission is to guide enterprises, whether novices or veterans of AI, toward optimizing their operations through smart AI applications.

Read full source profile

More Like This

Related Topics