| ▲ | Google Workspace CLI(github.com) |
| 475 points by gonzalovargas 8 hours ago | 149 comments |
| |
|
| ▲ | plastic041 13 minutes ago | parent | next [-] |
| The fact that humans can use this feels like a side effect. The developer says it's "built for agents first" and "AI agents would be the primary consumers of every command, every flag, and every byte of output"[1]. [1] https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag... |
|
| ▲ | fergie 35 minutes ago | parent | prev | next [-] |
| > gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. What is the practical difference between a "discovery service"+API and an MCP server? Surely humans and LLMs are better off using discovery service"+API in all cases? What would be the benefit of MCP? |
| |
| ▲ | jtrn 10 minutes ago | parent | next [-] | | Nothing. MCP and HTTP APIs and CLI tools without the good parts. They lack the robustness of the OpenAPI spec, including security standardization, and are more complex to run than simple CLI utilities without any authentication. I have done it many times, using the swagger.json as a "discovery service" and then having the agent utilize that API. A good OpenAPI spec was working perfectly fine for me all the way back when OpenAI introduced GPTs. If we standardized on a discovery/ endpoint, or something like that, as a more compact description of the API to reduce token usage compared to consuming the somewhat bloated full OpenAPI spec, you would have everything you need right there. The MCP side quest for AI has been one of the most annoying things in AI in recent years. Complete waste of time. | |
| ▲ | allan_s 17 minutes ago | parent | prev | next [-] | | in a lot of sphere, MCP is still the hype. And it was the hype in even more sphere some month ago. Because of FOMO a lot of higher up decided that "we must do a MCP to show that we're also part of the cool kids" and to give an answer to their even-higher-up about "What are you doing regarding IA ?" The project has been approved, a lot of time has been sunk into the project, so nobody wants to admit that "hmmm actually now it's irrelevant our existing API + a skill.md is enough" I've seen that in at least 4 companies my friends work in, so I would be surprised if it's not something like that here too. On the contrary claude code, in my experience, has been perfectly able to use `stripe` `gh` and to construct on the fly a figma cli (once instructed to do it). | |
| ▲ | dahcryn 28 minutes ago | parent | prev [-] | | Benefit of mcp is that it exists and kinda works, and a lot of tools are available on it. I guess it's all about adoption. But inherently yeah it's a discovery service thingy. Google will never embrace mcp since it's invented by anthropic I consider it a good first attempt, but indeed hope for a sort of mcp2.0 | | |
| ▲ | fergie 4 minutes ago | parent [-] | | Right, but surely swagger/openapi has been providing robust API discovery for years? I just don't get what LLMs don't like about it (apart from it possibly using slightly more tokens than MCP) |
|
|
|
| ▲ | tclancy 5 hours ago | parent | prev | next [-] |
| Interesting post from the main contributor about this (at least I assume it’s what he’s referencing) https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag... |
| |
|
| ▲ | mogili1 2 hours ago | parent | prev | next [-] |
| I was excited to see this but all of that went away when I realized you need to create an app in GCP to use it. Can't really expect non technical users to set this up across the company. |
| |
| ▲ | fermisea 12 minutes ago | parent | next [-] | | https://www.supyagent.com We’re trying to create a single unified cli to every service on the planet, and make sure that everything can be set up with 3 clicks | |
| ▲ | heinrichhartman 22 minutes ago | parent | prev | next [-] | | Can someone explain to me, why Google can't (or does not want to) implement the same auth flow that any other SaaS company uses: # API Keys in Settings 1. Go to Settings -> API Keys Page 2. Create Token (set scope and expiration date) # OAuth flow 1. `gws login` shows url to visit 2. Login with Google profile & select data you want to share 3. Redirect to localhost page confirms authentication I get that I need to configure Project and OAuth screens if I want to develop an Applications for other users, that uses GCP services. This is fine. But I am trying to access my own data over a (/another) HTTP API. This should not be hard. | |
| ▲ | justinwp an hour ago | parent | prev [-] | | Yeah, still no way around this unfortunately. |
|
|
| ▲ | virgildotcodes 4 hours ago | parent | prev | next [-] |
| God, getting this set up is frustrating. I've spent 45 minutes trying to get this to work, just following their defaults the whole way through. Multiple errors and issues along the way, now I'm on `gws auth login`, and trying to pick the oAuth scopes. I go ahead and trust their defaults and select `recommended`, only to get a warning that this is too many scopes and may error out (then why is this the recommended setting??), and then yeah, it errors out when trying to authenticate in the browser. The error tells me I need to verify my app, so I go to the app settings in my cloud console and try to verify and there's no streamlined way to do this. It seems the intended approach is for me to manually add, one by one, each of the 85 scopes that are on the "recommended" list, and then go through the actual verification. Have the people that built and released this actually tried to install and run this, just a single time, purely following their own happy path? |
| |
| ▲ | varenc 4 hours ago | parent | next [-] | | Similar frustrations. I was only able auth using some Google app I created for an old project years ago that happened to have the right bits. It wild that this process is still so challenging. There's got to be some safe streamlined way that sets up an app identity you own that can only use to access your own account. My guess is that organizationally within Google, the developer app authorization process must have many teams involved in its implementation and many other outside stakeholders. A single unified team wouldn't responsible for this confusion and complexity. I get why... it's a huge source of bad actors. But there's got to be a better way. | |
| ▲ | m8s 4 hours ago | parent | prev | next [-] | | I’ve been really unhappy with pretty much every Google product I’ve used except their consumer productivity tools — Gmail, Calendar, and Meet. Diving into Google Cloud has been extremely unsatisfactory | | |
| ▲ | brightball 4 hours ago | parent [-] | | I ran a project for a company on Google Cloud a few years ago and enjoyed it once I got used to everything. I’d use it more now if they had better low end pricing to start projects there. It’s a very different experience than AWS though and takes some getting used to. |
| |
| ▲ | SamDc73 4 hours ago | parent | prev | next [-] | | I find https://github.com/steipete/gogcli a bit easier (but still confusing to setup) Google Workspace API(s) keys and Roles was always confusing to me at so many levels .. and they just seem to keeping topping that confusion, no one is addressing the core (honestly not sure if that is even possible at this point) | |
| ▲ | upcoming-sesame 2 hours ago | parent | prev | next [-] | | had the same frustration trying to set up Google analytics MCP server: https://github.com/googleanalytics/google-analytics-mcp getting the authentication to work is a real pain and it's basically preventing people access to an otherwise really good and useful MCP Imagine a marketing person trying to set it up... | |
| ▲ | justinwp an hour ago | parent | prev | next [-] | | There are many gotchas in this process and unfortunately there is no easy way to deal with the OAuth setup. | |
| ▲ | sagarpatil an hour ago | parent | prev | next [-] | | I used Claude in chrome and Claude Code. It did everything for me. | |
| ▲ | jitl 4 hours ago | parent | prev [-] | | i had to do all that the last time i wanted to do a little js in my google sheets. when i saw their quick start required gcloud already set up, i decided not to bother trying this out. idk why google makes something that should take 15s (clicking “ok” in an oauth popup) take tens of minutes to hours of head scratching. |
|
|
| ▲ | betaby 6 hours ago | parent | prev | next [-] |
| I'm curious why `npm` is used to install a `rust` binary? |
| |
| ▲ | varenc 5 hours ago | parent | next [-] | | I found that strange as well. My guess is that `npm` is just the package manager people are most likely to already have installed and doing it this way makes it easy. They might think asking people to install Cargo is too much effort. Wonder if the pattern of using npm to install non-node tools will keep gaining traction. | | |
| ▲ | bigstrat2003 4 hours ago | parent | next [-] | | Most people aren't going to have npm installed though. Nobody outside of web devs uses it. | | |
| ▲ | patates 33 minutes ago | parent | next [-] | | A lot of people who are not web devs use it, that's what I see. I even saw some mainframe developers use npx to call some tool on some data dump. Also, this is a web project anyway. Google Workspace is web based, so while there is a good chance that the users aren't web developers, it's a better chance that they have npm than anything else. In the case that they don't, releases can be downloaded directly too: https://github.com/googleworkspace/cli/releases | |
| ▲ | gempir 25 minutes ago | parent | prev | next [-] | | If you had to pick one package manager that was most likely installed across all the different user machines in the world, I'd say npm is a pretty good bet. | |
| ▲ | sankalpmukim 3 hours ago | parent | prev [-] | | "Most people" are webdevs Bracing for getting cancelled |
| |
| ▲ | freakynit 5 hours ago | parent | prev [-] | | Why not just downloadable binary then? | | |
| ▲ | varenc 5 hours ago | parent | next [-] | | For many, installing something with npm is still easier. It chooses the right binary for your OS/architecture, puts it on your PATH, and streamlines upgrades. Their Github releases provides the binaries, as well as a `curl ... | sh` install method and a guide to use github releases attestation which I liked. | | | |
| ▲ | patates 32 minutes ago | parent | prev [-] | | They have them: https://github.com/googleworkspace/cli/releases |
|
| |
| ▲ | cobbal 5 hours ago | parent | prev | next [-] | | They're not doing so here, but shipping a wasm-compiled binary with npm that uses node's WASI API is a really easy way to ship a cross-platform CLI utility. Just needs ~20 lines of JS wrapping it to set up the args and file system. | | |
| ▲ | mountainriver 5 hours ago | parent | next [-] | | Doesn’t this seem excessive over just using rust’s cross platform builds? | | |
| ▲ | csomar 4 hours ago | parent [-] | | There's no such thing as a truly "cross-platform" build. Depending on what you use, you might have to target specific combinations of OS and processor architecture. That's actually why WASM (though they went with WASI) is a better choice; especially for libraries, since anyone can drop it into their environment without worrying about compatibility. | | |
| ▲ | jitl 3 hours ago | parent [-] | | there’s 3 os and 2 architectures minus darwin-amd64 so you just need to do 5 builds to avoid the WASM performance tax. (freebsd runs linux binaries and the openbsd people probably want to build from source anyways) |
|
| |
| ▲ | Lord_Zero 5 hours ago | parent | prev [-] | | Can you link to a sample of how I can do this? | | |
| |
| ▲ | jamesmishra 5 hours ago | parent | prev | next [-] | | Why should the package's original language matter? When I use apt-get, I have no idea what languages the packages were written in. | | |
| ▲ | hahn-kev 3 hours ago | parent | next [-] | | Because npm is not an os package manager, it's a nodejs package manager | |
| ▲ | nazgul17 2 hours ago | parent | prev [-] | | Not everyone has or wants yet another package manager in their system. |
| |
| ▲ | brunoborges 5 hours ago | parent | prev | next [-] | | NPM as a cross platform package distribution system works really well. The install script checks the OS and Arch, and pulls the right Rust binary. Then, they get upgrade mechanism out of the box too, and an uninstall mechanism. NPM has become the de facto standard for installing any software these days, because it is present on every OS. | | |
| ▲ | danpalmer 5 hours ago | parent | next [-] | | To my knowledge NPM isn't shipped in _any_ major OSes. It's available to install on all, just like most package managers, but I'm not sure it's in the default distributions of macOS, Windows, or the major Linux distros? | | |
| ▲ | anilgulecha 5 hours ago | parent [-] | | No package manager is. But of the ones that are installed by users, npm is probably the most popular. | | |
| ▲ | spinagon 5 hours ago | parent [-] | | What about pip? It's either installed or immediately available on many OSes | | |
| ▲ | Fabricio20 3 hours ago | parent | next [-] | | pip might be but it was historically super inconsistent (at least in my experience). Is it `pip install`? `python3 -m pip install`? maybe `pip3 install`? Yeah ubuntu did a lot of damage to pip here. npm always worked because you had to install it and it didnt have a transition phase from python2 being in the OS by default. | |
| ▲ | jitl 4 hours ago | parent | prev | next [-] | | system pip w/ sudo usually unleashes Zalgo, i’d rather curl | bash but npm is fine too. it’s just about meeting people where they’re at, and in the ai age many devs have npm if you build for the web, no matter what your backend is (python, go, rust, java, c#), your frontend will almost certainly have some js, so likely you need npm. | |
| ▲ | piperswe 5 hours ago | parent | prev | next [-] | | `pip install` either doesn’t work out of the box or has the chance to clobber system files though | |
| ▲ | nikanj 4 hours ago | parent | prev [-] | | This is about eight years old. The python situation has mostly gotten worse since https://xkcd.com/1987/ | | |
| ▲ | jitl 3 hours ago | parent | next [-] | | python packaging / envs is solved now by uv. its not promising or used by people in the know like the last 2 trendy python package managers. i was a big time python hater since it was a pita to support as a devtools guy but now its trivial. uv just works, it won. | |
| ▲ | a_t48 3 hours ago | parent | prev [-] | | What? It’s much much better now, you can just use uv. Yeah, it’s yet another package manager, but it does it well. |
|
|
|
| |
| ▲ | oefrha 5 hours ago | parent | prev | next [-] | | > The install script checks the OS and Arch, and pulls the right Rust binary. That's the arbitrary code execution at install time aspect of npm that developers should be extra wary of in this day and age. Saner node package managers like pnpm ignore the build script and you have to explicitly approve it on a case-by-case basis. That said, you can execute code with build.rs with cargo too. Cargo is just not a build artifact distribution mechanism. | |
| ▲ | mcmcmc 2 hours ago | parent | prev | next [-] | | More of a de facto standard for supply chain attacks tbh | |
| ▲ | mountainriver 5 hours ago | parent | prev | next [-] | | Yeah except you need to install NPM, whereas with a rust binary, which can easily compile cross platform, you don’t. Honestly I’m shocked to see so many people supporting this | |
| ▲ | bigstrat2003 4 hours ago | parent | prev | next [-] | | > NPM has become the de facto standard for installing any software these days, because it is present on every OS. That's not remotely true. If there is a standard (which I wouldn't say there is), it's either docker or curl|bash. Nobody is out there using npm to install packages except web devs, this is absolutely ridiculous on Google's part. | | |
| ▲ | jitl 3 hours ago | parent [-] | | they offer npm for the large market of cli users who have it, and curl|bash to those who don’t. ¯\_(ツ)_/¯ |
| |
| ▲ | xarope 3 hours ago | parent | prev | next [-] | | "NPM has become the de facto standard for installing any software these days, because it is present on every OS." What?!? Must not be in any OS I've ever installed. Now tar, on the other hand, exists even in windows. | |
| ▲ | koakuma-chan 3 hours ago | parent | prev [-] | | I think there has been an influx of people vibe coding in Rust because its "fast" but otherwise they have no idea about Rust. | | |
| ▲ | gck1 an hour ago | parent [-] | | Not because it's fast, but because of its compiler. It acts as a very good guardrail and feedback mechanism for LLMs. |
|
| |
| ▲ | r2champloo 4 hours ago | parent | prev [-] | | Interesting fact, because cargo builds every tool it downloads from source, you can’t actually run cargo install on Google laptops internally. |
|
|
| ▲ | swaminarayan an hour ago | parent | prev | next [-] |
| This reminds me a bit of how the GitHub CLI evolved into a foundation for automation and tooling. Do you see the Google Workspace CLI primarily as something for humans using the terminal, or more as a stable interface that automation and AI agents can build on? |
| |
|
| ▲ | pimlottc 3 hours ago | parent | prev | next [-] |
| > gws doesn't ship a static list of commands. Clever, but frustrating that they don’t bother to provide any docs on the actual commands this supports. |
|
| ▲ | internet2000 5 hours ago | parent | prev | next [-] |
| Claude Opus 4.6 couldn't figure out how to use it to write to a Google Sheet (something to do with escaping the !?) and fell back to calling the sheets API directly with gcloud auth. |
| |
| ▲ | nurettin 3 hours ago | parent | next [-] | | Can you tell it to write to /tmp/s.py instead of trying to execute it inline? | |
| ▲ | flakiness 3 hours ago | parent | prev [-] | | You should use Gemini obviously </s> | | |
| ▲ | gck1 an hour ago | parent [-] | | Yeah, that one can't even figure out how to write a formula, or sometimes read data when it's sitting WITHIN context of sheets. I get better experience if I just copy-paste the sheet data into Gemini web. And IIRC copy-paste is just space "delimited" by default. |
|
|
|
| ▲ | avaer 6 hours ago | parent | prev | next [-] |
| Is this basically a CLI version of [1]? If so, I'm glad Google is being forward thinking about how developers actually want to use their apps. Better this than a Google dashboard, or slopped together third party libs. I know Google says they don't support it, but they'll probably support it better than someone outside of Google can support it. [1] https://workspaceupdates.googleblog.com/2025/12/workspace-st... |
| |
|
| ▲ | benkaiser 3 hours ago | parent | prev | next [-] |
| Would be nice if the MCP implemented the Streamable HTTP MCP spec instead of the CLI one. I know this is already a HTTP API, but making it available as an MCP server that clients like Joey[1] can consume easily over network would be nice. [1] https://github.com/benkaiser/joey-mcp-client |
|
| ▲ | iosjunkie 6 hours ago | parent | prev | next [-] |
| Basically Google’s take on GAM https://github.com/GAM-team/GAM |
| |
| ▲ | pimlottc 3 hours ago | parent | next [-] | | That’s the first thing I thought as well, although GAM is for admin tools only. I think this is for user APIs? But it’s not really clear… | |
| ▲ | webXL 5 hours ago | parent | prev | next [-] | | gog too, which my openclaw agent always stubbornly wants to use instead of delegating to a subagent + custom calendar/imap proxy server I built. https://github.com/steipete/gogcli | | |
| ▲ | tomComb 5 hours ago | parent [-] | | This - gog - yes. But I think it is different than GAM which is an admin tool.
reply |
| |
| ▲ | hrimfaxi 5 hours ago | parent | prev | next [-] | | It's about time. Reminds me of how even Apple uses Jamf. | |
| ▲ | conception 4 hours ago | parent | prev [-] | | Except GAM is already heavily in training data and less likely to be called incorrectly. |
|
|
| ▲ | tgma 4 hours ago | parent | prev | next [-] |
| "This is not an officially supported Google product." Probably someone's hobby project or 20% time at best. |
|
| ▲ | sbinnee 6 hours ago | parent | prev | next [-] |
| I can already see all the CTOs are getting excited to plug this in their OpenClaw instances. |
| |
|
| ▲ | _wizard 2 hours ago | parent | prev | next [-] |
| Neat. I've been running something very similar to this locally for a few months now. They introduced all their documentation into markdown recently. I still rely on discover API and lenient cloud project permissions, so maybe some gains there. Will compare note later. |
|
| ▲ | epicprogrammer 5 hours ago | parent | prev | next [-] |
| I've built a few internal tools using the Workspace APIs, and while they are powerful, the rate limits on the Drive API can be brutal if you are doing bulk operations. Does this repository handle automatic backoff and retries, or do we need to wrap it ourselves? |
|
| ▲ | lewisjoe 5 hours ago | parent | prev | next [-] |
| How to expose my product suite's API to AI has been a roller coster ride. First it was tool calling hooks, then MCP, then later folks found out AI is better at coding so MCPs suddenly became code-mode, then people realized skills are better at context and eventually now Google has launched cli approach. Remember this repo is not an agent. It's just a cli tool to operate over gsuite documents that happens to have an MCP command and a bunch of skills prebundled. That's a new one. I guess the hope is agents are good at navigating cli and it also democratizes the ecosystem to be used by any agent as opposed to Microsoft (which only allows Copilot to work in its ecosystem) |
|
| ▲ | jngiam1 an hour ago | parent | prev | next [-] |
| Honestly, easier with MCP straight up:
https://gmail.mintmcp.com/
https://gcal.mintmcp.com/
https://gdocs.mintmcp.com/
https://gsheets.mintmcp.com/ (all pass through) |
| |
|
| ▲ | drewda 4 hours ago | parent | prev | next [-] |
| While I prefer Google's productivity apps to the Microsoft world in this case Google is just catching up to the APIs and tooling that Microsoft has provided for a long time: https://learn.microsoft.com/en-us/powershell/microsoftgraph/... |
| |
| ▲ | ralph84 3 hours ago | parent [-] | | Yet somehow Microsoft Copilot doesn't know how to use that tooling. |
|
|
| ▲ | sega_sai 6 hours ago | parent | prev | next [-] |
| Interesting, but scary, given that this is not a google product. Who knows whether that breaks any TOS somehow. |
| |
| ▲ | spankalee 6 hours ago | parent | next [-] | | This is made by Google Devrel. It's not going to break the TOS, but it could be abandoned. That happens frequently with devrel projects, since they're not actually tasked with or graded on engineering projects. | | |
| ▲ | hrmtst93837 20 minutes ago | parent [-] | | I think calling DevRel projects 'frequently abandoned' is blunt, but in my experience they are more like samples than production-owned libraries, so you should assume limited maintenance. Before relying on the Google Workspace CLI for automation inspect commit cadence, open issues, last release tag, number of contributors, and whether a product team or SDK maintainer is listed. If you need it in production pin to a release tag and vendor the code with go modules replace or npm shrinkwrap, add a thin adapter so swapping implementations is trivial, and run a couple of integration tests in GitHub Actions to catch regressions. I once had to fork a DevRel CLI that our on-call scripts depended on and maintaining that fork cost a weekend plus a steady trickle of small fixes, so now I put third party CLIs behind a tiny internal wrapper and keep the command surface minimal. |
| |
| ▲ | jryio 6 hours ago | parent | prev [-] | | This appears to be published by Google itself | | |
| ▲ | joeconway 6 hours ago | parent [-] | | > Disclaimer > This is not an officially supported Google product. | | |
| ▲ | Lermatroid 6 hours ago | parent [-] | | It’s published by Google, they just don’t provide active “support” for it. | | |
| ▲ | dotancohen 6 hours ago | parent [-] | | Can you show that the major contributors are employed by Google? I'm not arguing, I'm genuinely asking. Thank you. | | |
|
|
|
|
|
| ▲ | OpenWaygate 5 hours ago | parent | prev | next [-] |
| very similar to gogcli(https://github.com/steipete/gogcli), but in RUST |
|
| ▲ | outlore 4 hours ago | parent | prev | next [-] |
| Are integration vendors like Pipedream in trouble now that every company is pushing out MCP servers and CLIs to ride the AI craze? After the Twitter and Reddit API troubles of prior years, I can't imagine any company would willingly bring down the walls of their gardens and give easy access to precious user data. I'm waiting for the rug pull |
|
| ▲ | larodi 2 hours ago | parent | prev | next [-] |
| Would it help to backup all my mailboxes and be ready to ditch gmail? |
|
| ▲ | cyrusradfar 5 hours ago | parent | prev | next [-] |
| Correct me if I'm wrong but the UX difficulty with the Google API ecosystem isn't resolved. It's the goddamn permissioning and service accounts. Great to have a CLI that every other minute says, "you can't do this" -- the CLI really needed to solve this to check my boxes. |
|
| ▲ | shivam310 2 hours ago | parent | prev | next [-] |
| I'm surprised that this didn't officially exist before. |
|
| ▲ | mace01 5 hours ago | parent | prev | next [-] |
| Seems weird to require another tool (gcloud) to set it up, but it does look to be tightly integrated with google cloud. |
| |
|
| ▲ | wonderfuly 5 hours ago | parent | prev | next [-] |
| Why cli instead of just HTTP API doc? The agent can use curl or write code to send requests. |
| |
| ▲ | mindwok 4 hours ago | parent | next [-] | | They already have a HTTP API, but the real reason is that CLIs are emerging as the most ergonomic way for the current wave of AI agents to do stuff. There's a few benefits over APIs: - No need to worry about transport layer stuff at all, including auth or headers. This is baked in, so saves context. - They are self describing with --help and then nested --help commands, way better than trying to decipher an OpenAPI spec. You usually don't even need an agent skill, just call the --help and the LLM figures it out. | |
| ▲ | hedora 5 hours ago | parent | prev | next [-] | | CLI is probably more reliable. Also, the ergonomics for the person setting up the machine for the AI are better. They can check to see if the command is working without screwing with curl. It's also possible a human might want to use the software / service they're paying for. | | |
| ▲ | wonderfuly 4 hours ago | parent [-] | | Why is it more reliable?
The human usage point is fair, but I doubt how long it is still necesary. |
| |
| ▲ | boberoni 5 hours ago | parent | prev | next [-] | | A CLI runs on the client, so they can embed client-side functionality like telemetry or caching. | |
| ▲ | jitl 4 hours ago | parent | prev [-] | | if nothing else the cli gives very easy access to the HTTP api docs via `gws schema` i’d rather not waste the context tokens re implementing their cli from scratch, if indeed it does a good job. |
|
|
| ▲ | skybrian 6 hours ago | parent | prev | next [-] |
| Having the available commands change on you dynamically seems like an anti-pattern, but I suppose an AI can deal with it. |
|
| ▲ | mmaunder 5 hours ago | parent | prev | next [-] |
| Forget the Gemini extension - Gemini CLI sucks. Forget the MCP - MCP is beyond dead. But for codex or claude cli this is a game changer. Next question is how programmatic have they made the sheets interface... because Gemini sucks at sheets. |
|
| ▲ | arthurcolle 2 hours ago | parent | prev | next [-] |
| My agents will follow this repo with great interest |
|
| ▲ | ernsheong an hour ago | parent | prev | next [-] |
| Archived in 3… 2… 1… |
|
| ▲ | loveparade 6 hours ago | parent | prev | next [-] |
| Great, i hope this becomes a trend now that agent skills want clis |
|
| ▲ | hsaliak 6 hours ago | parent | prev | next [-] |
| GCP Next is Apr 22-24. Hope this continues to live afer that. |
|
| ▲ | mmaunder 5 hours ago | parent | prev | next [-] |
| Google really know how to screw up a product experience. npm install -g @googleworkspace/cli gws auth setup {
"error": {
"code": 400,
"message": "gcloud CLI not found. Install it from https://cloud.google.com/sdk/docs/install",
"reason": "validationError"
}
} Which takes you to... https://docs.cloud.google.com/sdk/docs/install-sdk Where you have to download a tarball, extract it and run a shell script. I mean how hard is it to just imitate everyone else out there and make it a straight up npm install? |
| |
| ▲ | ceroxylon 5 hours ago | parent | next [-] | | The readme is AI generated, so I am assuming the lack of effort and hand-off to the bots extends to the rest of this repository. The contributors are a Google DRE, 5 bots / automating services, and a dev in Canada. | |
| ▲ | justinwp 43 minutes ago | parent | prev | next [-] | | You don't need to use gcloud if you already have: 1. A GCP project (needed for OAuth)
2. Enabled APIs in said project | |
| ▲ | jitl 4 hours ago | parent | prev [-] | | gcloud cli will probably also require you to make a Google Cloud project and stuff by clicking around their godforsaken webui. hopefully they streamlined that, it took me a long time to figure out when i wanted to write some JS in my spreadsheet |
|
|
| ▲ | jitl 4 hours ago | parent | prev | next [-] |
| > quick setup > requires setting up gcloud cli first, necessitates making a Google Cloud project cmon google how come even your attempts at good ux start out with bad ux? let me just oauth with my regular google account like every other cli tool out there. gh cli, claude, codex - all are a simple “click ok” in the browser to log in. wtf. and the slow setup - i need to make my own oauth app & keys?? EDIT: oh yeah and get my oath app verified all so i can use it with my own account |
|
| ▲ | sciencesama 5 hours ago | parent | prev | next [-] |
| Would be useful if it can atleast show google drive storage in folder structure |
|
| ▲ | yakkomajuri 5 hours ago | parent | prev | next [-] |
| For all people have to say about Pete the openclaw guy he's been perhaps one of the most vocal voices about CLIs > MCPs (or maybe his is just the loudest?) and he also built a GSuite CLI that probably inspired this project. I mean it's great that we get this, hopefully it can continue to be maintained and I'd love to see a push for similar stuff for other products and at other companies. |
|
| ▲ | tedk-42 6 hours ago | parent | prev | next [-] |
| Haha in the world of AI/MCPs, all of a sudden we have a push for companies to properly build out APIs/CLI tools. |
| |
| ▲ | spullara 5 hours ago | parent | next [-] | | I have always said that if we had done for developers what we are doing for agents the whole world would have been a much better place. | | |
| ▲ | ryandrake 5 hours ago | parent [-] | | Perhaps we will finally emerge from this decades-long dark age of bloated, do-everything GUI development tools being the fashionable happy path. | | |
| ▲ | techpression 4 hours ago | parent [-] | | The AWS cli tool wants to have a talk… hard to find a more bloated mess of strung together scripts held together by tape. |
|
| |
| ▲ | sh3rl0ck 6 hours ago | parent | prev | next [-] | | One of the very few good things from the AI race has been everyone finally publishing more data APIs out in the open, and making their tools usable via CLIs (or extensible APIs). | | |
| ▲ | citizenpaul 3 hours ago | parent [-] | | I feel like the CLI craze started around 2020. That predates this chat GPT. CharmCLI golang Nushell rust Warp. Shell Were all around 2020 also that is when alt shells started getting popular probably for same reasons they still are. |
| |
| ▲ | vishnugupta 4 hours ago | parent | prev | next [-] | | But on the other hand a (possibly dark) pattern is emerging where companies are asking you to upgrade to a higher plan to access MCP. | |
| ▲ | 22c 4 hours ago | parent | prev | next [-] | | I noted something similar a few weeks ago. Companies are finally putting APIs in front of things that should have had APIs for years! | |
| ▲ | dack 6 hours ago | parent | prev | next [-] | | yeah there's way more demand, and at the same time, it's way easier for the company to build and maintain (with the help of AI). Great to see! | |
| ▲ | BarryMilo 6 hours ago | parent | prev | next [-] | | Took them this long to realize MCPs are just worse APIs. | |
| ▲ | forrestthewoods 5 hours ago | parent | prev | next [-] | | About 90% of “make codebase better for LLMs” is just good old fashioned better engineering that is also good for humans. | |
| ▲ | benatkin 5 hours ago | parent | prev [-] | | They aren't doing that though. At least not yet. It's generated from the discovery tool, which amounts to the spec of the existing API. If they want a high powered CLI they need to dig into the servers behind Google Workspace like they have when they've improved the web apps. |
|
|
| ▲ | pdyc 5 hours ago | parent | prev | next [-] |
| wow this will gel very well with my current project. Main hurdle i was facing was connecting with individual services via google oauth to get the data. |
|
| ▲ | evanjrowley 6 hours ago | parent | prev | next [-] |
| Hoping Apple will do the same with iCloud. |
| |
|
| ▲ | sjeiuhvdiidi an hour ago | parent | prev | next [-] |
| Very uninteresting post. Why is this the number one post on Hacker News ? Honestly, absolutely disgusting and you can be ashamed, or ashamed for them. |
|
| ▲ | blondin 6 hours ago | parent | prev | next [-] |
| This is a very interesting way of building agent skills. Seems like the imperative way of orchestration/automation is making a comeback. |
|
| ▲ | mosajjal 4 hours ago | parent | prev | next [-] |
| AI Agents are becoming first-class citizens for SaaS |
|
| ▲ | bpiroman 2 hours ago | parent | prev [-] |
| written in Rust lol |