Google has open-sourced the Workspace CLI today, allowing direct command-line access to the Gmail API. For me, it means one thing: the last piece of the Agent auto-registration puzzle is in place.


Previously, I automated registration and login for Claude Code—opening websites, filling out forms, creating accounts—all handled automatically. The only manual step was email verification; I had to check emails and copy-paste the codes. Now, with gws CLI polling Gmail to automatically extract verification codes, the entire process is seamless.
I tested several AI platforms: the Agent registers itself, retrieves verification codes, creates accounts, and obtains API keys—all automatically, except for SMS verification on my phone which still requires manual intervention.
In the future, if I want to try a new platform, I just tell the Agent, and it will handle registration and get the API key back. No more hoarding those platforms that I’ve seen but was too lazy to register for.
Pitfalls: Google OAuth detection triggers automated browser rejection, and some platforms’ backend also blocks it. Not all methods work smoothly, but registering with email + password still works fine.
View Original
post-image
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
0/400
No comments
  • Pin