[00:00] (0.16s)
So, the phrase gamechanging is overused.
[00:02] (2.96s)
I like to reserve it for those special
[00:04] (4.80s)
drops, and I'm going to roll it out
[00:06] (6.56s)
today. You can see on GitHub, this
[00:08] (8.24s)
repository is only 3 days old, and it's
[00:10] (10.00s)
already shot up to 16,000 [music]
[00:12] (12.08s)
stars. It gives AI agents full access to
[00:14] (14.96s)
your entire Google workspace. Both
[00:17] (17.52s)
beautiful and incredibly dangerous at
[00:19] (19.52s)
the same time. Let me show you what this
[00:21] (21.60s)
is, what the opportunity is, and how to
[00:23] (23.76s)
get it set up. So, essentially, what
[00:25] (25.60s)
you're getting here is one CLI to rule
[00:27] (27.76s)
them all. Your Google Workspace CLI
[00:30] (30.16s)
gives you access to Gmail, Drive,
[00:32] (32.08s)
Calendar, Docs, Sheets, Chat, Admin,
[00:35] (35.12s)
Google Keep, everything that's under the
[00:37] (37.36s)
Google Workspace stack. If you're new to
[00:39] (39.68s)
this and not sure what a CLI is, it's an
[00:41] (41.92s)
interface that is textbased, so it's
[00:43] (43.92s)
perfect for AI agents to use and
[00:45] (45.76s)
discover quickly. It gives them all the
[00:47] (47.60s)
tools they need to carry out your
[00:49] (49.04s)
bidding. AI agents have gotten
[00:50] (50.88s)
incredibly powerful. The likes of Clawed
[00:53] (53.04s)
Code, Cursor, Open Claw, the capability
[00:55] (55.92s)
really is there. What's really been
[00:57] (57.84s)
missing is a clean foundation, a way to
[01:00] (60.16s)
give agents programmatic access to the
[01:02] (62.40s)
infrastructure most businesses run on.
[01:05] (65.12s)
Without that, it's been really difficult
[01:06] (66.64s)
to build AI operating systems you could
[01:09] (69.04s)
run or sell until now. So, in a
[01:11] (71.68s)
nutshell, we have our agent that could
[01:13] (73.68s)
be Claw Code, OpenClaw, Gemini CLI,
[01:16] (76.16s)
whatever you want. All of the above work
[01:18] (78.48s)
in code. It's what they love and they
[01:21] (81.28s)
love CLIs and it's also got an MCP
[01:23] (83.92s)
server. MCP historically has taken up a
[01:26] (86.88s)
lot of token usage, but there are some
[01:28] (88.56s)
scenarios where this is going to prove a
[01:30] (90.56s)
good choice. So, here's why this matters
[01:32] (92.64s)
for builders. You can use this to build
[01:34] (94.32s)
out full AI operating systems for your
[01:37] (97.52s)
business. I'm talking about a
[01:38] (98.80s)
self-driving businesses, companies as
[01:41] (101.44s)
code, or you can offer this as an agency
[01:43] (103.68s)
service for others. Build templates and
[01:46] (106.16s)
deploy systems in any niche. So, this is
[01:48] (108.96s)
the Google stack, but how you work with
[01:50] (110.88s)
it is absolutely super open. You can use
[01:53] (113.52s)
whatever agent you like, whether that's
[01:55] (115.12s)
Open Claw, Claude Code, Cursor, Gemini
[01:57] (117.44s)
CLI, even any agent you might build out
[01:59] (119.68s)
yourself. Is such a big brain move from
[02:02] (122.16s)
Google. They can't officially endorse
[02:04] (124.32s)
agent access to email, Docs, Sheets,
[02:07] (127.60s)
Drive. It's a total liability. But they
[02:10] (130.16s)
do know where this is going. OpenClaw
[02:12] (132.56s)
has proved huge demand for unfettered
[02:15] (135.12s)
access to your systems, your docs, and
[02:17] (137.12s)
everything else. So, what exactly do you
[02:19] (139.28s)
get with the GWS CLI and MCP? Well, in
[02:22] (142.96s)
terms of Gmail, it's not just about
[02:24] (144.40s)
reading your emails. You can draft them,
[02:26] (146.08s)
send them, search them, manage labels.
[02:28] (148.08s)
This is all stuff that the plugins don't
[02:30] (150.08s)
let you do. You can create files, edit
[02:32] (152.72s)
them, organize, share them, and delete
[02:34] (154.64s)
them. So, be careful with that. You can
[02:36] (156.56s)
create and edit docs, create and edit
[02:38] (158.72s)
sheets. It opens up the chat API so you
[02:42] (162.24s)
can post messages and read messages.
[02:44] (164.16s)
Imagine how powerful that will become.
[02:46] (166.32s)
And so much more. So, this is the kind
[02:48] (168.32s)
of sample automation that becomes
[02:49] (169.92s)
possible across this stack. This system
[02:52] (172.40s)
alone would save a ton of time, and it's
[02:54] (174.56s)
just one of hundreds of different
[02:56] (176.32s)
systems we can now automate. Think of
[02:58] (178.48s)
the value this will provide to your
[03:00] (180.08s)
business and to others. But even cooler
[03:02] (182.24s)
than this, Google has gone and pre-built
[03:04] (184.32s)
a load of agent skills with a lot of
[03:06] (186.40s)
different personas and a lot of
[03:07] (187.76s)
different types of common tasks that you
[03:09] (189.52s)
might carry out in your business just to
[03:11] (191.52s)
get you started. So, the idea of company
[03:14] (194.40s)
as code or a self-driving company is not
[03:17] (197.20s)
necessarily new. We've been talking
[03:19] (199.04s)
about it for probably the last two
[03:20] (200.88s)
years. the idea of having a database
[03:23] (203.28s)
layer or a data layer and having agents
[03:25] (205.36s)
work on top of that with workflows to
[03:27] (207.52s)
carry out every part of what you need
[03:29] (209.44s)
done for your business. But the thing is
[03:31] (211.44s)
it wasn't fully possible until recently.
[03:34] (214.08s)
The models have leveled up, harness
[03:36] (216.24s)
engineering is there and the tooling is
[03:38] (218.72s)
just about right. It's not like the
[03:40] (220.24s)
models are getting hugely better, but
[03:42] (222.08s)
the tooling and how they call tools and
[03:44] (224.40s)
all the infrastructure around it really
[03:46] (226.96s)
is just arriving right in time for this
[03:49] (229.60s)
moment. You can see on GitHub, this
[03:51] (231.52s)
repository is only 3 days old and it's
[03:53] (233.28s)
already shot up to 16,000 stars. So, we
[03:56] (236.24s)
have a few hoops to jump through here to
[03:57] (237.92s)
get started, but I guarantee you it will
[03:59] (239.84s)
be worth it. So, first of all, we're
[04:02] (242.16s)
going to copy this command here. And
[04:04] (244.08s)
this is going to install the workspace
[04:05] (245.76s)
CLI. So, open up your terminal on a Mac
[04:08] (248.32s)
or your PowerShell if you're in Windows
[04:09] (249.92s)
and run this command in the terminal.
[04:11] (251.92s)
You're going to need Node installed. So,
[04:13] (253.76s)
you can get that from NodeJS and install
[04:15] (255.76s)
that as well beforehand. Great. So,
[04:17] (257.52s)
that's the Workspace CLI installed, but
[04:19] (259.52s)
you're also going to need the Google
[04:21] (261.36s)
Cloud CLI that allows you to set up
[04:23] (263.68s)
projects and infrastructure, and this is
[04:25] (265.92s)
the tool that's used to connect the two
[04:27] (267.76s)
things together. So, you want to go to
[04:29] (269.36s)
the Google Cloud SDK and install the
[04:32] (272.96s)
Google Cloud CLI. Google provides a ton
[04:35] (275.76s)
of infrastructure for developers like
[04:37] (277.44s)
databases, cloud storage, lots more
[04:39] (279.92s)
stuff. And essentially, we're going to
[04:41] (281.84s)
use the CLI, which helps us interact
[04:43] (283.92s)
with that to set up some permissions so
[04:46] (286.24s)
we can actually operate the GWS CLI. So
[04:49] (289.92s)
depending on your type of machine,
[04:51] (291.20s)
you're going to install the following.
[04:53] (293.20s)
I've got a Mac OS, so I'm going to
[04:55] (295.52s)
download this one for Apple Silicon. So
[04:58] (298.32s)
once you've unzipped that file, you're
[05:00] (300.00s)
basically going to have a folder a bit
[05:01] (301.60s)
like this. Depending on whether you're
[05:04] (304.00s)
on a Windows or a Mac machine, you can
[05:05] (305.92s)
run either install.bat or install.sh. So
[05:09] (309.68s)
you make sure that you are in the right
[05:11] (311.52s)
folder here. So I'm in the Google Cloud
[05:13] (313.60s)
SDK folder here. And then you're going
[05:15] (315.84s)
to run this command if you're on a
[05:17] (317.12s)
Mac.installsh.
[05:18] (318.72s)
It says welcome to the Google Cloud CLI.
[05:21] (321.04s)
So you're going to let it modify your
[05:22] (322.96s)
profile to update your path. You're
[05:24] (324.96s)
going to say okay to edit your RC file.
[05:27] (327.92s)
Now I've got a lot of this stuff
[05:29] (329.20s)
installed already. It might try and
[05:30] (330.96s)
install Python 3 if you don't already
[05:32] (332.80s)
have that installed. I just go ahead and
[05:34] (334.56s)
let that do that. If you're having any
[05:36] (336.24s)
trouble with the installation, just ask
[05:37] (337.60s)
cursor or claw code. Give it a test
[05:39] (339.36s)
drive with G-Cloud in it. So, you'll be
[05:42] (342.00s)
asked to do some setup there. I'm just
[05:43] (343.60s)
going to reinitialize. I'm going to
[05:45] (345.12s)
choose the account that I want to use
[05:46] (346.48s)
for this configuration. In this case,
[05:47] (347.92s)
it's that email. This is the important
[05:49] (349.76s)
bit. You need to make sure you're using
[05:51] (351.04s)
the right Google Cloud project. I'm
[05:52] (352.96s)
going to say four. So, I'm going to call
[05:55] (355.20s)
this one selfdriving company 3. So now,
[05:59] (359.52s)
if I go back over here to switch
[06:01] (361.12s)
dimension up here for my project
[06:02] (362.64s)
selector, you should see it appear. Now,
[06:04] (364.80s)
this interface is a little bit quirky.
[06:06] (366.64s)
If you've used the CLI to set it up, it
[06:08] (368.64s)
might not appear straight away. You'll
[06:10] (370.08s)
have to refresh a little bit. Click on
[06:11] (371.60s)
this. Be patient. It takes a minute to
[06:13] (373.44s)
show up. So, now that we've got the
[06:14] (374.96s)
G-Cloud CLI set up, we can now run the
[06:17] (377.28s)
Google Workspace setup. So, we're just
[06:19] (379.76s)
going to drop this command in here. So,
[06:22] (382.00s)
firstly, it's saying it's found the
[06:23] (383.52s)
G-Cloud CLI because we just installed
[06:25] (385.36s)
that. Great. Now, we're going to do the
[06:27] (387.44s)
authentication. So, I've got my account
[06:29] (389.68s)
here set up. I'm going to hit enter.
[06:31] (391.76s)
We're going to select the project that
[06:33] (393.12s)
we want. So, I'm going to select
[06:34] (394.16s)
self-driving company 3. Now, we're going
[06:36] (396.56s)
to select what APIs we want to enable.
[06:39] (399.44s)
I'm going to go with all because I've
[06:40] (400.72s)
got a lockdown workspace here and we're
[06:42] (402.56s)
just experimenting. And I'm going to hit
[06:44] (404.64s)
return. So, it's enabling 22 APIs. So,
[06:48] (408.00s)
we need to manually step through this to
[06:49] (409.76s)
connect our account to the CLI. So,
[06:51] (411.84s)
we're just going to copy this URL here.
[06:54] (414.32s)
That takes us to the OT consent screen.
[06:56] (416.16s)
If you can't find your way there, you
[06:57] (417.52s)
can just go here, then API and services
[07:00] (420.08s)
and OAT consent screen. So, we're going
[07:01] (421.84s)
to click get started. Put in whatever
[07:03] (423.60s)
name you want, your support email. Then
[07:06] (426.08s)
we're going to make this external. Click
[07:08] (428.40s)
next. And then we're going to put in
[07:10] (430.72s)
whatever contact information you need.
[07:13] (433.20s)
For now, you just put in your own email.
[07:15] (435.12s)
That's fine. I agree the terms and
[07:17] (437.36s)
services. And then click create. So next
[07:20] (440.24s)
up, you need to create the OOTH client.
[07:23] (443.20s)
So we can just find that again here if
[07:25] (445.12s)
you can't find your way there. So now we
[07:27] (447.28s)
need to create our OOTH client. So I'm
[07:29] (449.68s)
just going to click on this. We select
[07:31] (451.52s)
our application type. We're just going
[07:33] (453.04s)
to drop in desktop app here. Leave that
[07:35] (455.12s)
name as it is if you want. And then
[07:37] (457.28s)
we're going to take our oath client here
[07:40] (460.00s)
and save that for later. So if you
[07:42] (462.40s)
haven't got a secret already, just make
[07:44] (464.08s)
sure that you add it in there. So just
[07:45] (465.76s)
click add secret. Again, it's here in
[07:47] (467.36s)
clients client for desktop and then we
[07:50] (470.40s)
can just paste this in here. So now
[07:52] (472.56s)
we're just going to run GWS al login.
[07:55] (475.28s)
And then it's going to give us all the
[07:56] (476.64s)
different scopes. So there is a ton of
[07:59] (479.20s)
scopes in here. I don't recommend
[08:00] (480.88s)
starting with them all enabled. It's way
[08:02] (482.80s)
too powerful. Let's just start with the
[08:05] (485.04s)
core consumer support. So, I'm just
[08:06] (486.56s)
going to enter confirm. It gives us this
[08:09] (489.44s)
authentication URL here. So, we're just
[08:11] (491.52s)
going to copy this and then paste it in
[08:15] (495.28s)
to our browser. On the previous screen,
[08:17] (497.76s)
I just picked whatever user and then I'm
[08:20] (500.08s)
going to click continue. You can see
[08:21] (501.68s)
here all the permissions that it's
[08:23] (503.12s)
giving. Back over to our CLI and you see
[08:25] (505.52s)
that everything looks like it succeeded.
[08:28] (508.00s)
So now we've got it installed. We want
[08:30] (510.00s)
to give it some extra powers and we're
[08:32] (512.16s)
going to do that through skills. So go
[08:34] (514.00s)
to skills.sh and if we type in if you
[08:37] (517.28s)
type in Google workspace you're going to
[08:38] (518.80s)
see all the various different skills
[08:40] (520.40s)
that you can install. So next question
[08:42] (522.56s)
is where do you install these skills? If
[08:44] (524.56s)
if you're using OpenClaw just get your
[08:46] (526.32s)
claw to install the skills. And of
[08:47] (527.92s)
course you will have to have had GWS set
[08:50] (530.40s)
up on whatever machine or VPS you're
[08:53] (533.12s)
running OpenClaw. In my case, I've built
[08:55] (535.36s)
my own AI operating system for my own
[08:57] (537.68s)
company and that's where I'm going to be
[08:58] (538.96s)
installing it. If you want to find out
[09:00] (540.24s)
more about how you might build out AI
[09:02] (542.00s)
operating systems, highly recommend
[09:03] (543.76s)
checking out the course and community.
[09:05] (545.92s)
I've got sections in there on clawed
[09:07] (547.44s)
code and over the coming weeks, I'm
[09:08] (548.88s)
going to be talking a lot more and
[09:10] (550.32s)
giving a lot more workshops on AI
[09:12] (552.08s)
operating systems. So, I've got my
[09:14] (554.16s)
folder where I want to install my
[09:15] (555.60s)
skills. That's where I want my agent to
[09:17] (557.12s)
be able to use them. Skills. If you've
[09:18] (558.88s)
never run before this, you're going to
[09:20] (560.00s)
need to install it. So, just hit MPX
[09:21] (561.68s)
skills. Hit return. The Google Workspace
[09:23] (563.92s)
comes with a ton of skills. You click on
[09:26] (566.00s)
this button here, and uh you'll find
[09:28] (568.32s)
them all listed here. There's a ton of
[09:30] (570.00s)
great stuff, including different helpers
[09:31] (571.60s)
and personas. So, I'm just going to add
[09:33] (573.84s)
them all at the one go. So, we're going
[09:35] (575.20s)
to run this command here. So, just going
[09:37] (577.04s)
to paste it in here, and it's going to
[09:38] (578.96s)
install these. We're going to decide on
[09:40] (580.56s)
what skills we want to install. If you
[09:42] (582.80s)
just click A, it's going to install all
[09:44] (584.72s)
of them. Might be overkilled for now,
[09:46] (586.72s)
but let's just see how we go. Here's all
[09:48] (588.64s)
the default ones it gets installed for.
[09:50] (590.88s)
And then you just need a slightly
[09:52] (592.48s)
different setup if you want uh
[09:54] (594.24s)
anti-gravity and claw code. And then
[09:56] (596.16s)
we're going to put it open claw here as
[09:57] (597.68s)
well. Now, do we want it globally or in
[09:59] (599.52s)
the project? I'm just going to go with
[10:00] (600.80s)
the project for now. I don't need all of
[10:02] (602.72s)
this globally. A ton of skills is just
[10:04] (604.56s)
going to confuse my agent. Agent, I like
[10:06] (606.64s)
to keep that nice and tidy. And I just
[10:08] (608.64s)
install skills in the projects that need
[10:10] (610.40s)
them. So, I'm going to hit return. So,
[10:12] (612.00s)
now for the fun part. Let's just run
[10:13] (613.76s)
Claude and let's try a few commands to
[10:15] (615.76s)
see how this works. So, let's try this.
[10:17] (617.60s)
Send an email to robsw
[10:18] (618.64s)
switchdimension.com and ask him if he
[10:20] (620.56s)
has got the project quote.
[10:22] (622.16s)
>> Your agent has finished.
[10:23] (623.36s)
>> Okay, it said it's sent an email. That
[10:25] (625.60s)
was really quick. It's about two
[10:26] (626.80s)
seconds. And then boom, there you go. It
[10:28] (628.64s)
actually created and sent the email. So
[10:30] (630.72s)
that's pretty cool. Going to say check
[10:31] (631.92s)
for last two emails. Cool. So my agent
[10:34] (634.80s)
saying good news, Rob got the quote and
[10:36] (636.56s)
replied. He's suggesting to meet Friday
[10:38] (638.64s)
at lunch. So I'm saying cool. Can you
[10:40] (640.80s)
put that in my calendar and add him as a
[10:42] (642.56s)
participant? You can also set the GWS
[10:44] (644.72s)
Gmail watch skill to watch your emails.
[10:47] (647.68s)
So if you want to run that kind of
[10:49] (649.12s)
command on a useful basis, there now is
[10:51] (651.20s)
a new loop command in clawed code. So
[10:53] (653.92s)
you can set it to run at a regular
[10:55] (655.84s)
basis, very much like what you can do in
[10:57] (657.76s)
OpenClaw. If you want to build alongside
[10:59] (659.68s)
me, if you want templates, code,
[11:01] (661.36s)
architecture decisions, how to build
[11:03] (663.12s)
apps with AI, how to masterclaw code,
[11:05] (665.76s)
that's all in the switchdimension
[11:07] (667.28s)
community at switchdimension.com. The
[11:09] (669.28s)
link is in the description. I would love
[11:11] (671.12s)
to know in the comments what kind of
[11:12] (672.64s)
things you're building. Is it for your
[11:14] (674.64s)
own business? Are you building apps,
[11:16] (676.08s)
prototypes? What are you building? What
[11:17] (677.92s)
are you planning to sell? Drop it in the
[11:19] (679.76s)
comments. I'm going to cover the best
[11:21] (681.28s)
ideas in upcoming videos. And if this
[11:23] (683.84s)
was useful at all, hit the like button
[11:25] (685.20s)
and subscribe just so it pops up in your
[11:27] (687.12s)
feed more often. You want this kind of
[11:28] (688.72s)
content in your feed, not a load of cat
[11:30] (690.96s)
videos. Going to see you in the next