實際影片長度:14:36.000。原文、繁中、雙語可點擊句子跳轉影片。
0:00.000–0:03.244
10 things you didn't know about cloud code, not tricks,
0:03.244–0:05.500
but fundamentals that you should have
0:05.500–0:09.180
been taught before installing cloud code in the first place.
0:09.180–0:10.840
If you want to get paid for AI
0:10.840–0:14.608
consulting or services, what I'm going to cover in this slide,
0:14.608–0:16.420
especially point nine and 10,
0:16.540–0:19.140
is what clients actually ask. Number one,
0:19.140–0:22.260
cloud code was built for code base, and code base is
0:22.260–0:24.988
just a fancy word for a folder with files.
0:24.988–0:28.760
Cloud code or agentic coding assistance, they actually
0:28.760–0:32.992
work in that folder with files. And they can read your files,
0:32.992–0:35.700
they can edit, they can run scripts and
0:35.700–0:38.674
commands on your computer, and breakthrough,
0:38.674–0:41.800
it can loop. More on looping just in a second. When
0:41.800–0:46.726
people say like agents need tools or agents use tools or Cloud Code tools,
0:46.726–0:48.180
Cloud Code comes with
0:48.180–0:52.310
a basic set of tools. Read, edit, write, bash, glob,
0:52.310–0:55.960
grab, agent, web search, web fetch, and task.
0:55.960–0:59.257
When you work with Cloud Code, you will start seeing these tools,
0:59.257–1:01.700
and you need to kind of understand what they are.
1:01.880–1:05.800
Read is Cloud Code's ability to read the content of a file.
1:06.000–1:09.120
Edit means that it can edit the content of a file.
1:09.380–1:11.660
Write actually creates a new file.
1:11.980–1:17.060
Bash is a tool that allows Cloud Code to run actual commands on your computer.
1:17.320–1:18.440
And what is the command?
1:18.680–1:20.160
Command, for example, install.
1:20.340–1:22.000
Install the package is a command.
1:22.200–1:24.760
Run scripts or checking system information.
1:24.760–1:27.560
Every time Cloud Code runs bash commands,
1:27.560–1:29.640
you can actually see what it is.
1:29.820–1:31.500
Glob is kind of like a search.
1:31.680–1:33.500
It allows to find file by name.
1:33.920–1:35.260
Grip is different.
1:35.540–1:36.960
Don't confuse it with Glob.
1:37.340–1:39.920
Grip searches within a file.
1:40.100–1:44.340
So usually agents would go and use Glob and then use Grip.
1:44.560–1:51.720
Agent tool allows Cloud Code to launch another helper agent or start a side quest and a loop.
1:51.720–1:53.740
Keep in mind the word loop.
1:54.120–1:54.580
This is key.
1:54.760–1:58.420
Web search and web fetch is similar to glob and grab.
1:58.840–2:01.034
Web search allows agent to go and
2:01.034–2:04.040
search information using keywords to fetch
2:04.040–2:05.700
lists of links.
2:06.020–2:08.683
Web fetch means that you go into the link and
2:08.683–2:10.680
actually extract information.
2:11.060–2:12.820
In other words, read the page.
2:13.160–2:16.840
Task tool is an ability for cloud to track its process.
2:16.840–2:20.483
It's literally a to-do list file that it goes and
2:20.483–2:22.760
references after it was done.
2:22.760–2:27.249
So now let's talk what is agent, what is agentic assistant,
2:27.249–2:30.180
and how does cloud code actually work.
2:30.300–2:32.320
Let me introduce you to the loop.
2:32.600–2:35.180
Cloud code agents run on the loop.
2:35.460–2:36.580
That's what agents are.
2:36.760–2:39.020
People, it's just not sexy to call it loops.
2:39.240–2:40.480
First, it observes.
2:40.740–2:44.920
It uses all those tools that allows it to find information or read information.
2:45.080–2:48.133
Plan, it creates the file, the to-do list, and
2:48.133–2:49.900
this is where model shines
2:49.900–2:55.320
because it can actually think what to do before touching or actually act.
2:55.420–2:58.680
Before sending any project, use plan mode.
2:58.820–3:02.380
Tell it to plan first before going and touching files.
3:02.540–3:03.574
In the act stage,
3:03.574–3:07.860
this is where agent uses all the tools that modifies its environment.
3:07.860–3:13.060
So bash commands, writing, creating new files, spinning up agents.
3:13.440–3:15.740
And those agents have their own loop.
3:15.940–3:18.720
They need to, again, do observe, plan, act, verify.
3:18.720–3:23.050
verify though this is that agent is forced to go and
3:23.050–3:26.040
look at the plan at its to-do list at
3:26.040–3:32.300
executions and ask like did we achieve the goal if not loop starts all over again it goes observes
3:32.300–3:34.684
plans again a new task acts and then
3:34.684–3:38.220
again verifies my co-founder shirt put incredible
3:38.220–3:44.960
free resource for our community members all about loops simply explained that visual exercises
3:44.960–3:51.190
it's probably the most simplest best resource I've seen online for loops.
3:51.190–3:53.300
Okay, Clot code can be run
3:53.300–3:57.954
to four places, but at its core it was designed for terminal.
3:57.954–4:00.840
Another word for terminal is command
4:00.840–4:04.336
line interface. This is the little black box and
4:04.336–4:07.220
to power up Clot, all you have to do after
4:07.220–4:12.123
installation is just type Clot. I search terminal in my Mac and
4:12.123–4:14.480
I open the new window. If I type
4:14.480–4:18.423
cloud. Boom, cloud code is powered. As I mentioned,
4:18.423–4:22.000
cloud code works in four different places. The
4:22.000–4:24.898
first one is terminal. This is where I live,
4:24.898–4:28.280
for example. The second one is a terminal wrapper,
4:28.680–4:32.892
which is known as IDE, Integrated Development Environment,
4:32.892–4:35.040
Antigravity, or Cursor are all
4:35.040–4:38.565
IDEs, and they all emerge and build on top of VS Code.
4:38.565–4:40.860
So let me show you. This is VS Code,
4:40.860–4:44.942
or Visual Studios. It's a wrapper on top of terminals.
4:44.942–4:47.300
We have our folders. We have our
4:47.300–4:50.690
files inside of folders. And we have our terminal,
4:50.690–4:54.000
which is Cloud Code. It looks a little bit easier,
4:54.160–4:56.786
maybe approachable. Then Cloud edits the file.
4:56.786–4:59.280
You immediately in one place can see the file.
4:59.580–5:01.386
Three is Agent is the King.
5:01.386–5:05.900
It's just a fancy way of saying that we run Cloud Code in the clouds.
5:05.900–5:08.966
This way you can have cloud code abilities and
5:08.966–5:11.871
all those tools that it can use, but you have
5:11.871–5:15.018
it in virtual environment, in a cloud, embedde
5:15.018–5:17.520
d in the products that people access.
5:17.840–5:20.500
Four is desktop, mobile, and app.
5:20.620–5:22.700
You can also access cloud code.
5:22.900–5:25.160
If you have cloud desktop, this is how it looks.
5:25.260–5:26.980
We have home and then code.
5:27.120–5:28.680
And this is accessing cloud code.
5:28.780–5:29.840
And again, same thing.
5:29.900–5:33.440
You select a folder on your computer and work in the files.
5:33.440–5:40.571
The only limitation here is that you need to intentionally decide in which folder to work and
5:40.571–5:45.480
not just let cloud code access all the folders and all the files.
5:45.920–5:48.040
So the functionality is limited.
5:48.460–5:50.451
I already explained agent SDK, but
5:50.451–5:52.304
this is just visually for you to u
5:52.304–5:54.227
nderstand that if you have your ap
5:54.227–5:56.149
p or solution or your business inf
5:56.149–5:58.140
rastructure and you want cloud cod
5:58.140–5:59.993
e abilities, but you want it to wo
5:59.993–6:03.220
rk always 24-7 in the cloud, this is going to be agent SDK.
6:03.440–6:05.877
and agent SDK will fetch Entropic API. So
6:05.877–6:08.960
it's a thing sitting in the middle. And this is what I
6:08.960–6:15.220
meant when I said that businesses do not go directly through Entropic API. They actually
6:15.220–6:16.370
have Cloud Code,
6:16.370–6:17.521
agentic coding a
6:17.521–6:21.300
ssistant sitting in the middle with all those tools and
6:21.300–6:23.894
functionalities. Another thing, when
6:23.894–6:28.060
we say we use Cloud's subprocessors, it's actually another way
6:28.060–6:31.727
of saying that we run agent SDK functionality.
6:31.727–6:35.300
I build OpenClaw replica inside of Cloud Code
6:35.300–6:39.611
cheap and safe. Cloud P is what allows me to control and
6:39.611–6:42.580
talk with my Cloud Code on my telegram
6:42.580–6:45.421
or call it on a phone. Another thing to understand when
6:45.421–6:47.820
people are confused like, oh, there's models
6:47.820–6:50.407
and everyone's chasing the best top model.
6:50.407–6:53.640
The reality for businesses, it's really split in two.
6:53.640–6:58.337
There are models that you use in production in the products where speed and
6:58.337–6:59.700
cost really matters.
6:59.900–7:06.080
The Frontier AI labs with the most expensive capable models are for building for hard problems.
7:06.240–7:09.927
But once you build and if that product has AI capabilities and
7:09.927–7:13.180
it's going to be used by your teammates or other users,
7:13.320–7:16.340
it's going to use either cheap models or open source models.
7:16.340–7:19.930
In Cloud Code, you can access all the different models,
7:19.930–7:22.740
which is Hyco, Sonnet, Opus, and NeoFable,
7:22.740–7:25.477
which I'm going to talk about in a second. However
7:25.477–7:27.480
, when you are in a terminal and you do
7:27.480–7:31.600
slash command model, you have these options. However
7:31.600–7:33.980
, there is a way if you don't see a
7:33.980–7:37.525
specific model, for example, you want to use Sonnet 4.
7:37.525–7:40.440
6 and it's not an option here, there is a way to
7:40.440–7:45.522
set up it custom. You can ask Cloud Code to open ZSHRC file.
7:45.522–7:48.380
Inside the file, there's all the
7:48.380–7:51.908
configuration. So it's different paths, different models,
7:51.908–7:54.260
your API keys and stuff like that. And you
7:54.260–7:57.722
can ask it that on every launch use this model.
7:57.722–8:00.000
This is what I did when they...
8:00.000–8:02.130
this is what i did when they launched opus 4.
8:02.130–8:04.320
7 i didn't like it they made a default so i went
8:04.320–8:08.615
and in my settings in my configuration i changed it to opus 4.
8:08.615–8:11.020
6 another thing you might not know
8:11.020–8:17.620
that you can launch clod code which is a shell sitting on different models like haiku sonnet or
8:17.620–8:23.135
opus but this shell can sit on any other model as well so
8:23.135–8:27.180
for example if i type clod deep this is my
8:27.180–8:33.720
custom setup that means it's going through open router accessing deep seek model and i can use
8:33.720–8:36.192
now clod code with deep seek i can also
8:36.192–8:40.020
use clod code with a completely local model on my computer
8:40.020–8:45.060
multiple reasons to do this it's different projects with the sensitive information that's one another
8:45.060–8:47.923
one is that services are not reliable and
8:47.923–8:51.460
you can't access antraffic api you don't want your
8:51.460–8:52.570
work to stop and
8:52.570–8:53.681
you can use anot
8:53.681–8:57.780
her model option three is limitations if you run into your
8:57.780–9:02.991
subscription limitations and you want to continue working but
9:02.991–9:05.940
antraffic opus 4.8 api is expensive
9:05.940–9:10.429
Maybe you just route to GLM models, which are open source,
9:10.429–9:15.480
a fraction of the cost and capability on the same part as Opus 4.8.
9:15.680–9:19.160
We call it hybrid approach or fallback models.
9:19.160–9:21.984
Also in the same setup file that I told you,
9:21.984–9:24.809
create that in case there is an outage on tr
9:24.809–9:28.440
affic, it will automatically default to open router.
9:28.440–9:31.262
And then if OpenRouter is also not working,
9:31.262–9:34.085
I can still access my files and information
9:34.085–9:38.240
and work with limited capabilities, but I can use local models.
9:38.340–9:40.220
So this is known as fallbacks.
9:40.380–9:43.040
Now we have a new model, which is MIFOS and Fable.
9:43.560–9:45.982
Fable is just MIFOS with a guardrails, but
9:45.982–9:49.580
you can't work on biology type of projects and cybersecurity.
9:50.240–9:51.955
It's really sad because
9:51.955–9:56.500
if you want to protect your development in your apps, you can't.
9:56.500–10:00.807
You can't hack others. You can't also safeguard yourself.
10:00.807–10:03.620
It's also the most expensive model out
10:03.620–10:06.834
there. The thing to know about this next level models,
10:06.834–10:09.120
remember what I said, cheap models for
10:09.120–10:11.969
production, expensive models for work.
10:11.969–10:15.320
Same principle applies. You never use Fable for
10:15.320–10:18.760
everything. You use Fable for two steps in the loop.
10:18.760–10:21.640
It is for planning and verifying. You never
10:21.640–10:23.911
use Fable for observe or act.
10:23.911–10:29.020
Here you can have way cheaper models running those commands that
10:29.020–10:30.278
are not destructive.
10:30.278–10:31.466
Another thing that p
10:31.466–10:34.540
eople don't really know or think about is the effort.
10:34.900–10:38.401
Before you switch from one model to another,
10:38.401–10:42.280
that is a sudden jump and huge price increase. Use
10:42.280–10:45.662
efforts to max out with your effort on one model.
10:45.662–10:48.960
And if their result's not good, this is when you
10:48.960–10:52.569
graduate to the next model. Slash command effort,
10:52.569–10:55.920
low, medium, high, x high, max, and ultra code.
10:56.300–10:59.747
Next, this is for consultants and AI service providers.
10:59.747–11:02.020
Seven places where CloudCode can run
11:02.020–11:05.544
and only five is where you will do it for business.
11:05.544–11:08.380
Antropic API is really for developers,
11:08.380–11:13.057
but not businesses. Businesses do not go directly to Antropic API.
11:13.057–11:14.560
In Antropic console,
11:14.560–11:18.900
So you can run cloud code instance, which is called managed agents.
11:19.200–11:22.099
They're just running on Anthrofix cloud,
11:22.099–11:25.080
not on your premises or not on your machine.
11:25.520–11:28.760
Cloud teams, you buy seats for that team.
11:28.760–11:34.519
This is for the very small teams who do not need a central secure login space and
11:34.519–11:35.760
admin controls.
11:35.900–11:39.809
If you don't need full infrastructure with IT departments and
11:39.809–11:42.140
compliance, you can use cloud teams.
11:42.660–11:43.940
Now, enterprise.
11:43.940–11:48.109
This is where real money is really. You need admin controls,
11:48.109–11:50.860
but also higher limits and rate limits.
11:51.080–11:55.140
Enterprises can't afford that. Hey, you run into rate limits.
11:55.140–11:57.560
Oopsie. And rate limits is basically
11:57.560–12:01.371
how often you can use this product and how fast.
12:01.371–12:04.400
For the enterprises and businesses,
12:04.860–12:07.875
when you talk about cloud code, the number one question is,
12:07.875–12:09.660
do they run their business in cloud
12:09.660–12:11.824
or on a premise. If it's on premise,
12:11.824–12:15.780
meaning they have their own servers, you use cloud enterprise.
12:16.220–12:19.327
Next question is that if they run on cloud,
12:19.327–12:23.500
do they use Amazon, Google, or Microsoft? And depending
12:23.500–12:26.978
on their answer, you will have to use Amazon Bedrock and
12:26.978–12:29.020
access cloud code there, Google
12:29.020–12:33.243
Vertex AI, or Microsoft Azure AI Foundry. To finish up,
12:33.243–12:36.640
I want you to walk you through the five things
12:36.640–12:42.860
that any business or enterprise is going to ask you if it is on premise or on the cloud. And these
12:42.860–12:45.488
are the words that you need to know.
12:45.488–12:50.020
SSO stands for single sign on. Very simply explained is that
12:50.020–12:52.637
you have your company's domain and
12:52.637–12:57.060
every person who logs in into central place can use the same
12:57.060–12:58.897
domain and get access. So
12:58.897–13:00.647
it could be Mark at Antra
13:00.647–13:04.060
ffic or could be Steve at Antraffic. Antraffic
13:04.060–13:06.902
domain is approved in one central place.
13:06.902–13:10.580
Skim provisioning allows you to add people, update,
13:10.680–13:12.252
or remove automatically, so
13:12.252–13:15.920
you don't have to manually manage those access and control in case,
13:16.000–13:19.394
for example, you don't have an employee anymore.
13:19.394–13:22.540
RBAC, role-based access control, so now your
13:22.540–13:25.648
overall team can log in and use cloud code, but
13:25.648–13:28.920
maybe not everyone has the same access controls
13:28.920–13:31.960
and not everyone can access the same information.
13:32.480–13:35.640
For some teams, Cloud Code can access the folder for marketing.
13:35.880–13:39.260
For another team, Cloud Code can access the folder finance.
13:39.700–13:41.440
Androfi provides compliance API,
13:41.800–13:45.060
and this is a way for compliance and security and IT department
13:45.060–13:48.620
to be able to fetch instantly what happens.
13:48.620–13:52.460
See full traceability of who used Cloud Code,
13:52.700–13:55.960
what they did, what happened, what tools have been used,
13:55.960–13:58.840
so they can trace back if there is any problems.
13:58.920–14:03.940
manage policy settings it's additional guardrails that you put on cloud code and
14:03.940–14:04.900
this is usually
14:04.900–14:12.220
it department will reinforce policies of how it should be used for example maybe using cloud code
14:12.220–14:14.222
you can't go to certain domains and
14:14.222–14:17.880
find information this is part of a cloud code training that we do
14:17.880–14:20.873
in our community we are getting also cloud certified and
14:20.873–14:22.720
i'm going through cloud code badge
14:22.720–14:28.300
if you're interested to learn more we have a full dedicated classroom on cloud code beginner to pro
14:28.300–14:32.240
We have seven day free trials, so we would love to get to know you.
14:32.400–14:34.660
If not, I'm going to see you in the next video.
14:35.060–14:35.260
Ciao!
0:00.000–0:03.244
關於 Cloud Code 你不知道的 10 件事,不是技巧,
0:03.244–0:05.500
而是你應該具備的基礎知識,
0:05.500–0:09.180
在初次安裝 Cloud Code 之前,就應該被教導這些。
0:09.180–0:10.840
如果你想透過 AI
0:10.840–0:14.608
顧問或服務賺錢,我將在投影片中涵蓋的內容,
0:14.608–0:16.420
特別是第 9 和第 10 點,
0:16.540–0:19.140
是客戶實際會詢問的內容。第一,
0:19.140–0:22.260
Cloud Code 是為程式碼庫(code base)而建構的,而程式碼庫
0:22.260–0:24.988
只是帶有檔案的資料夾的別稱。
0:24.988–0:28.760
Cloud Code 或代理程式編碼輔助,它們實際上
0:28.760–0:32.992
是在帶有檔案的資料夾中運作。它們可以讀取你的檔案,
0:32.992–0:35.700
它們可以編輯,它們可以執行腳本和
0:35.700–0:38.674
你電腦上的指令,並且突破,
0:38.674–0:41.800
它可以進行迴圈。稍後再詳細說明迴圈。當
0:41.800–0:46.726
人們說代理程式需要工具或代理程式使用工具或 Cloud Code 工具時,
0:46.726–0:48.180
Cloud Code 內建了
0:48.180–0:52.310
一組基本工具:讀取、編輯、寫入、Bash、Glob、
0:52.310–0:55.960
Grep、Agent、網頁搜尋、網頁擷取和任務。
0:55.960–0:59.257
當你使用 Cloud Code 時,你會開始看到這些工具,
0:59.257–1:01.700
你需要大致了解它們是什麼。
1:01.880–1:05.800
Read(讀取)是 Cloud Code 讀取檔案內容的能力。
1:06.000–1:09.120
Edit(編輯)意味著它可以編輯檔案內容。
1:09.380–1:11.660
Write(寫入)實際上會建立新檔案。
1:11.980–1:17.060
Bash 是一個允許 Cloud Code 在你的電腦上執行實際指令的工具。
1:17.320–1:18.440
那麼什麼是指令?
1:18.680–1:20.160
指令,例如安裝。
1:20.340–1:22.000
安裝套件是一個指令。
1:22.200–1:24.760
執行腳本或檢查系統資訊。
1:24.760–1:27.560
每次 Cloud Code 執行 Bash 指令時,
1:27.560–1:29.640
你實際上可以看到它是什麼。
1:29.820–1:31.500
Glob 有點像是搜尋。
1:31.680–1:33.500
它允許透過名稱尋找檔案。
1:33.920–1:35.260
Grep 則不同。
1:35.540–1:36.960
不要把它與 Glob 混淆。
1:37.340–1:39.920
Grep 搜尋檔案內容。
1:40.100–1:44.340
所以通常代理程式會先使用 Glob,然後使用 Grep。
1:44.560–1:51.720
Agent(代理程式)工具允許 Cloud Code 啟動另一個輔助代理程式或開始一個側邊任務和迴圈。
1:51.720–1:53.740
記住「迴圈」這個詞。
1:54.120–1:54.580
這很關鍵。
1:54.760–1:58.420
網頁搜尋和網頁擷取類似於 Glob 和 Grep。
1:58.840–2:01.034
網頁搜尋允許代理程式前往
2:01.034–2:04.040
使用關鍵字搜尋資訊以擷取
2:04.040–2:05.700
連結清單。
2:06.020–2:08.683
網頁擷取意味著你進入連結並
2:08.683–2:10.680
實際提取資訊。
2:11.060–2:12.820
換句話說,就是閱讀網頁。
2:13.160–2:16.840
任務工具是雲端追蹤其處理過程的能力。
2:16.840–2:20.483
它本質上是一個待辦事項檔案,在完成後會
2:20.483–2:22.760
去參考它。
2:22.760–2:27.249
所以現在讓我們來談談什麼是代理程式、什麼是代理式助理,
2:27.249–2:30.180
以及雲端程式碼實際上是如何運作。
2:30.300–2:32.320
讓我為你介紹這個循環。
2:32.600–2:35.180
雲端程式碼代理程式在循環中運行。
2:35.460–2:36.580
這就是代理程式的本質。
2:36.760–2:39.020
人們,只是稱它為循環不夠吸引人。
2:39.240–2:40.480
首先,它進行觀察。
2:40.740–2:44.920
它使用所有那些允許它尋找或閱讀資訊的工具。
2:45.080–2:48.133
規劃,它建立檔案,也就是待辦事項清單,並且
2:48.133–2:49.900
這正是模型展現光芒的地方
2:49.900–2:55.320
因為它實際上能在觸碰或真正行動之前思考該做什麼。
2:55.420–2:58.680
在發送任何專案之前,使用規劃模式。
2:58.820–3:02.380
告訴它在前往觸碰檔案前先進行規劃。
3:02.540–3:03.574
在行動階段,
3:03.574–3:07.860
這是代理程式使用所有修改其環境的工具的地方。
3:07.860–3:13.060
例如 Bash 指令、撰寫、建立新檔案、啟動代理程式。
3:13.440–3:15.740
而那些代理程式也有它們自己的循環。
3:15.940–3:18.720
它們需要再次進行觀察、規劃、行動、驗證。
3:18.720–3:23.050
驗證,雖然這意味著代理程式被強制去
3:23.050–3:26.040
查看其待辦事項清單中的
3:26.040–3:32.300
規劃與執行結果,並詢問是否達成了目標,如果沒有,循環便重新開始,它進行觀察
3:32.300–3:34.684
再次規劃新任務,行動,然後
3:34.684–3:38.220
再次驗證。我的合夥人 Shirt 提供了令人驚嘆的
3:38.220–3:44.960
免費資源,供我們的社群成員使用,完全關於循環的簡單解釋,透過視覺練習
3:44.960–3:51.190
這可能是我在線上看過關於循環最簡單、最好的資源。
3:51.190–3:53.300
好的,雲端程式碼可以在
3:53.300–3:57.954
四個地方運行,但其核心設計是為終端機。
3:57.954–4:00.840
終端機的另一個名稱是命令
4:00.840–4:04.336
列介面。這是那個小黑盒子,並且
4:04.336–4:07.220
要啟動雲端程式碼,在
4:07.220–4:12.123
安裝後你所要做的只是輸入雲端程式碼。我在我的 Mac 中搜尋終端機,
4:12.123–4:14.480
我開啟新視窗。如果我輸入
4:14.480–4:18.423
cloud。Boom,Cloud Code 就啟動了。正如我所提到的,
4:18.423–4:22.000
Cloud Code 可在四個不同的地方運作。
4:22.000–4:24.898
第一個是終端機(Terminal)。這是我的主要工作環境,
4:24.898–4:28.280
例如。第二個是終端機包裝器(Terminal Wrapper),
4:28.680–4:32.892
也就是所謂的 IDE(整合開發環境),
4:32.892–4:35.040
Antigravity 或 Cursor 都是
4:35.040–4:38.565
IDE,它們都是建立在 VS Code 之上的。
4:38.565–4:40.860
所以讓我展示一下。這是 VS Code,
4:40.860–4:44.942
或是 Visual Studio。它是終端機的上層包裝。
4:44.942–4:47.300
我們有資料夾。我們有
4:47.300–4:50.690
資料夾內的檔案。我們還有終端機,
4:50.690–4:54.000
這裡是 Cloud Code。看起來可能比較簡單,
4:54.160–4:56.786
或許比較容易上手。然後 Cloud 編輯檔案。
4:56.786–4:59.280
你可以在一個地方立即看到檔案。
4:59.580–5:01.386
第三是 Agent(代理程式),它是王者。
5:01.386–5:05.900
這只是說我們讓 Cloud Code 在雲端運行的花俏說法。
5:05.900–5:08.966
這樣你就可以擁有 Cloud Code 的功能和
5:08.966–5:11.871
它可以使用的所有工具,但你是在
5:11.871–5:15.018
虛擬環境中,在雲端裡,嵌入
5:15.018–5:17.520
在人們使用的產品中。
5:17.840–5:20.500
第四是桌面、行動裝置和應用程式。
5:20.620–5:22.700
你也可以存取 Cloud Code。
5:22.900–5:25.160
如果你有雲端桌面,它看起來是這樣的。
5:25.260–5:26.980
我們有主頁,然後是程式碼。
5:27.120–5:28.680
這就是在存取 Cloud Code。
5:28.780–5:29.840
同樣地,情況一樣。
5:29.900–5:33.440
你選擇電腦上的資料夾並在檔案中工作。
5:33.440–5:40.571
這裡唯一的限制是你需要有意識地決定在哪些資料夾中工作,
5:40.571–5:45.480
而不是讓 Cloud Code 隨意存取所有資料夾和所有檔案。
5:45.920–5:48.040
所以功能受到限制。
5:48.460–5:50.451
我已經解釋過 Agent SDK,但
5:50.451–5:52.304
這只是為了讓你視覺化地
5:52.304–5:54.227
理解,如果你有你的 ap
5:54.227–5:56.149
p 或解決方案或你的商業資訊
5:56.149–5:58.140
基礎設施,並且你想要 cloud cod
5:58.140–5:59.993
e 的功能,但你希望它
5:59.993–6:03.220
一直在雲端中 24-7 運作,這就是 Agent SDK。
6:03.440–6:05.877
Agent SDK 會擷取 Entropic API。所以
6:05.877–6:08.960
它是位於中間的東西。這就是我所
6:08.960–6:15.220
這就是我之前說的,企業不會直接通過 Entropic API 進行操作。他們實際上
6:15.220–6:16.370
擁有 Cloud Code,
6:16.370–6:17.521
一個
6:17.521–6:21.300
代理程式編碼
6:21.300–6:23.894
助手,坐在中間,擁有所有這些工具和
6:23.894–6:28.060
功能。另一件事,當
6:28.060–6:31.727
我們說我們使用 Cloud 的子處理程序時,這實際上是一種說法,表示我們運行代理程式 SDK 功能。
6:31.727–6:35.300
我在 Cloud Code 內部構建 OpenClaw 副本
6:35.300–6:39.611
便宜且安全。Cloud P 允許我控制和
6:39.611–6:42.580
與我的 Cloud Code 在我的 Telegram 上對話
6:42.580–6:45.421
或在電話上呼叫它。另一件需要理解的事情是,當
6:45.421–6:47.820
人們感到困惑時,比如,哦,有模型
6:47.820–6:50.407
而且每個人都在追逐最好的頂級模型。
6:50.407–6:53.640
對於企業來說,現實情況確實分為兩部分。
6:53.640–6:58.337
有一些模型是你用於產品生產中的,在這些產品中,速度和
6:58.337–6:59.700
成本確實很重要。
6:59.900–7:06.080
前沿 AI 實驗室使用最昂貴且功能強大的模型來構建解決難題。
7:06.240–7:09.927
但一旦你構建完成,並且如果該產品具有 AI 功能,並且
7:09.927–7:13.180
它將被你的隊友或其他用戶使用,
7:13.320–7:16.340
它將使用廉價模型或開源模型。
7:16.340–7:19.930
在 Cloud Code 中,你可以訪問所有不同的模型,
7:19.930–7:22.740
包括 Hyco、Sonnet、Opus 和 NeoFable,
7:22.740–7:25.477
我稍後會討論這些。然而
7:25.477–7:27.480
,當你在終端中並執行
7:27.480–7:31.600
斜杠命令模型時,你有這些選項。然而
7:31.600–7:33.980
,如果你沒有看到某個
7:33.980–7:37.525
特定模型,例如,你想使用 Sonnet 4.
7:37.525–7:40.440
6,而這裡沒有這個選項,有一種方法可以
7:40.440–7:45.522
自定義設置它。你可以要求 Cloud Code 打開 ZSHRC 文件。
7:45.522–7:48.380
在文件內部,有所有
7:48.380–7:51.908
的配置。所以有不同的路徑、不同的模型,
7:51.908–7:54.260
你的 API 密鑰等。並且你可以
7:54.260–7:57.722
要求它在每次啟動時使用這個模型。
7:57.722–8:00.000
這就是我在他們……時所做的。
8:00.000–8:02.130
這就是我在他們推出 Opus 4.
8:02.130–8:04.320
7 時所做的,我不喜歡它,他們設定了默認值,所以我去了
8:04.320–8:08.615
並在設置和我的配置中將其更改為 Opus 4.
8:08.615–8:11.020
6。另一件你可能不知道的事情
8:11.020–8:17.620
是你可以在不同模型上啟動 Cloud Code,這是一個坐在 Haiku、Sonnet 或
8:17.620–8:23.135
Opus 等模型上的 shell,但這個 shell 也可以坐在任何其他模型上,所以
8:23.135–8:27.180
例如,如果我輸入 clod deep,這就是我的
8:27.180–8:33.720
自訂設定,代表它會透過 OpenRouter 存取 DeepSeek 模型,而我可以使用
8:33.720–8:36.192
現在用 DeepSeek 搭配 Clod Code,我也可以
8:36.192–8:40.020
在電腦上使用完全本地的模型搭配 Clod Code
8:40.020–8:45.060
這樣做有多個原因,例如處理含有敏感資訊的不同專案,這是其中一個原因。
8:45.060–8:47.923
另一個原因是服務可能不可靠,
8:47.923–8:51.460
如果你無法存取 Anthropic API,你不想讓你的
8:51.460–8:52.570
工作停擺,並且
8:52.570–8:53.681
你可以使用其他
8:53.681–8:57.780
模型選項。第三個原因是限制,如果你遇到你的
8:57.780–9:02.991
訂閱限制,並且想要繼續工作,但
9:02.991–9:05.940
Anthropic Opus 4.8 API 很昂貴。
9:05.940–9:10.429
也許你只是轉向 GLM 模型,這些是開源的,
9:10.429–9:15.480
成本只是 Opus 4.8 的一小部分,但能力卻在同一個層級。
9:15.680–9:19.160
我們稱之為混合方法或備用模型。
9:19.160–9:21.984
另外,在我之前告訴你的那個設定檔中,
9:21.984–9:24.809
建立它,以防 Anthropic
9:24.809–9:28.440
發生停電,它會自動預設轉向 OpenRouter。
9:28.440–9:31.262
然後如果 OpenRouter 也無法運作,
9:31.262–9:34.085
我仍然可以存取我的檔案和資訊
9:34.085–9:38.240
並在有限的能力下工作,但我可以使用本地模型。
9:38.340–9:40.220
所以這被稱為備用方案。
9:40.380–9:43.040
現在我們有一個新模型,即 Mifos 和 Fable。
9:43.560–9:45.982
Fable 只是帶有防護措施的 Mifos,但是
9:45.982–9:49.580
你不能在生物學類型的專案和網路安全上工作。
9:50.240–9:51.955
這真的很令人遺憾,因為
9:51.955–9:56.500
如果你想保護你的應用程式開發,你做不到。
9:56.500–10:00.807
你不能攻擊他人,你也無法保護自己。
10:00.807–10:03.620
它也是目前
10:03.620–10:06.834
最昂貴的模型。關於這些下一級模型,你要知道的是,
10:06.834–10:09.120
記住我說過的,廉價模型用於
10:09.120–10:11.969
生產,昂貴模型用於工作。
10:11.969–10:15.320
相同的原則適用。你永遠不會用 Fable 來處理
10:15.320–10:18.760
所有事情。你只在循環中的兩個步驟使用 Fable。
10:18.760–10:21.640
它是用於規劃和驗證。你永遠
10:21.640–10:23.911
不會用 Fable 來觀察或執行動作。
10:23.911–10:29.020
在這裡,你可以使用便宜得多的模型來執行那些
10:29.020–10:30.278
非破壞性的命令。
10:30.278–10:31.466
另一件大
10:31.466–10:34.540
眾不太知道或考慮到的事情是努力程度。
10:34.900–10:38.401
在從一個模型切換到另一個模型之前,
10:38.401–10:42.280
這會造成突然的跳躍和巨大的價格上漲。請
10:42.280–10:45.662
盡你最大的努力,在單一模型上將效能發揮到極致。
10:45.662–10:48.960
如果結果不理想,這時你就應該
10:48.960–10:52.569
升級到下一個模型。使用 /effort 指令,
10:52.569–10:55.920
選項包括低、中、高、超高、極限和超代碼。
10:56.300–10:59.747
接下來,這是針對顧問和 AI 服務供應商的說明。
10:59.747–11:02.020
CloudCode 可以運行的七個地方,
11:02.020–11:05.544
但只有五個地方是適合用於商業用途的。
11:05.544–11:08.380
Anthropic API 主要是給開發者使用的,
11:08.380–11:13.057
而不是給企業直接使用的。企業不會直接連接到 Anthropic API。
11:13.057–11:14.560
在 Anthropic 的控制台裡,
11:14.560–11:18.900
你可以運行稱為「受管代理」(managed agents)的雲端代碼實例。
11:19.200–11:22.099
它們僅運行在 Anthropic 的雲端上,
11:22.099–11:25.080
而不是運行在你的本地環境或你的機器上。
11:25.520–11:28.760
雲端團隊(Cloud teams):你為該團隊購買席位。
11:28.760–11:34.519
這適用於非常小的團隊,他們不需要中央安全登入空間和
11:34.519–11:35.760
管理員控制功能。
11:35.900–11:39.809
如果你不需要與 IT 部門配合的完整基礎設施以及
11:39.809–11:42.140
合規性要求,你可以使用雲端團隊。
11:42.660–11:43.940
現在,企業版(Enterprise)。
11:43.940–11:48.109
這裡才是真正的重點。你需要管理員控制功能,
11:48.109–11:50.860
以及更高的限制和速率限制。
11:51.080–11:55.140
企業無法承受速率限制的問題。嘿,當你遇到速率限制時,
11:55.140–11:57.560
哎呀。而速率限制基本上是指
11:57.560–12:01.371
你可以多頻繁地使用這個產品以及速度有多快。
12:01.371–12:04.400
對於企業和商業用戶來說,
12:04.860–12:07.875
當談到 CloudCode 時,第一個問題通常是,
12:07.875–12:09.660
他們的業務是運行在雲端上
12:09.660–12:11.824
還是本地部署(on-premise)。如果是本地部署,
12:11.824–12:15.780
意味著他們擁有自己的伺服器,你就需要使用雲端企業版。
12:16.220–12:19.327
下一個問題是,如果他們運行在雲端上,
12:19.327–12:23.500
他們使用的是 Amazon、Google 還是 Microsoft?根據
12:23.500–12:26.978
他們的回答,你將必須使用 Amazon Bedrock 並
12:26.978–12:29.020
在那裡訪問 CloudCode,或是 Google
12:29.020–12:33.243
Vertex AI,或是 Microsoft Azure AI Foundry。最後,
12:33.243–12:36.640
我想帶你了解五個任何企業或公司都會問你的問題,
12:36.640–12:42.860
關於他們是本地部署還是運行在雲端上。這些
12:42.860–12:45.488
是你需要了解的名詞。
12:45.488–12:50.020
SSO 代表單一登入(Single Sign-On)。簡單來說就是
12:50.020–12:52.637
你擁有公司的網域,
12:52.637–12:57.060
每個登入中央平台的人都可以使用相同的
12:57.060–12:58.897
網域並取得存取權。所以
12:58.897–13:00.647
可能是 Antra
13:00.647–13:04.060
ffic 的 Mark,也可能是 Antraffic 的 Steve。Antraffic
13:04.060–13:06.902
網域已在單一中央位置核准。
13:06.902–13:10.580
自動設定檔配置(Skim provisioning)讓你能夠自動新增人員、更新或移除,因此
13:10.680–13:12.252
你不需要手動管理這些存取權限,例如
13:12.252–13:15.920
當員工離職時,
13:16.000–13:19.394
例如你不再擁有某位員工。
13:19.394–13:22.540
RBAC,基於角色的存取控制,現在你的
13:22.540–13:25.648
整個團隊可以登入並使用 Cloud Code,但
13:25.648–13:28.920
並非每個人擁有相同的存取控制權,
13:28.920–13:31.960
也不是每個人能存取相同的資訊。
13:32.480–13:35.640
對於某些團隊,Cloud Code 可以存取行銷資料夾。
13:35.880–13:39.260
對於另一個團隊,Cloud Code 可以存取財務資料夾。
13:39.700–13:41.440
Antrafi 提供合規性 API,
13:41.800–13:45.060
這是一種讓合規性、安全與 IT 部門
13:45.060–13:48.620
能夠即時獲取發生狀況的方式。
13:48.620–13:52.460
查看完整的可追溯性,包括誰使用了 Cloud Code,
13:52.700–13:55.960
他們做了什麼、發生了什麼、使用了哪些工具,
13:55.960–13:58.840
以便在出現問題時進行追溯。
13:58.920–14:03.940
管理政策設定是你加諸於 Cloud Code 上的額外防護措施,
14:03.940–14:04.900
這通常
14:04.900–14:12.220
由 IT 部門強化使用政策,例如可能在使用 Cloud Code
14:12.220–14:14.222
時無法存取特定網域並
14:14.222–14:17.880
查找資訊。這是我們社群中進行的 Cloud Code 培訓的一部分,
14:17.880–14:20.873
我們也獲得 Cloud 認證,
14:20.873–14:22.720
我正在進行 Cloud Code 徽章認證,
14:22.720–14:28.300
如果你有興趣了解更多,我們有專門的教室,涵蓋從初級到專業的 Cloud Code 課程。
14:28.300–14:32.240
我們提供七天免費試用,因此我們很希望能認識你。
14:32.400–14:34.660
如果沒有,我們在下個影片見。
14:35.060–14:35.260
再見!
0:00.000–0:03.244
10 things you didn't know about cloud code, not tricks,
關於 Cloud Code 你不知道的 10 件事,不是技巧,
0:03.244–0:05.500
but fundamentals that you should have
而是你應該具備的基礎知識,
0:05.500–0:09.180
been taught before installing cloud code in the first place.
在初次安裝 Cloud Code 之前,就應該被教導這些。
0:09.180–0:10.840
If you want to get paid for AI
如果你想透過 AI
0:10.840–0:14.608
consulting or services, what I'm going to cover in this slide,
顧問或服務賺錢,我將在投影片中涵蓋的內容,
0:14.608–0:16.420
especially point nine and 10,
特別是第 9 和第 10 點,
0:16.540–0:19.140
is what clients actually ask. Number one,
是客戶實際會詢問的內容。第一,
0:19.140–0:22.260
cloud code was built for code base, and code base is
Cloud Code 是為程式碼庫(code base)而建構的,而程式碼庫
0:22.260–0:24.988
just a fancy word for a folder with files.
只是帶有檔案的資料夾的別稱。
0:24.988–0:28.760
Cloud code or agentic coding assistance, they actually
Cloud Code 或代理程式編碼輔助,它們實際上
0:28.760–0:32.992
work in that folder with files. And they can read your files,
是在帶有檔案的資料夾中運作。它們可以讀取你的檔案,
0:32.992–0:35.700
they can edit, they can run scripts and
它們可以編輯,它們可以執行腳本和
0:35.700–0:38.674
commands on your computer, and breakthrough,
你電腦上的指令,並且突破,
0:38.674–0:41.800
it can loop. More on looping just in a second. When
它可以進行迴圈。稍後再詳細說明迴圈。當
0:41.800–0:46.726
people say like agents need tools or agents use tools or Cloud Code tools,
人們說代理程式需要工具或代理程式使用工具或 Cloud Code 工具時,
0:46.726–0:48.180
Cloud Code comes with
Cloud Code 內建了
0:48.180–0:52.310
a basic set of tools. Read, edit, write, bash, glob,
一組基本工具:讀取、編輯、寫入、Bash、Glob、
0:52.310–0:55.960
grab, agent, web search, web fetch, and task.
Grep、Agent、網頁搜尋、網頁擷取和任務。
0:55.960–0:59.257
When you work with Cloud Code, you will start seeing these tools,
當你使用 Cloud Code 時,你會開始看到這些工具,
0:59.257–1:01.700
and you need to kind of understand what they are.
你需要大致了解它們是什麼。
1:01.880–1:05.800
Read is Cloud Code's ability to read the content of a file.
Read(讀取)是 Cloud Code 讀取檔案內容的能力。
1:06.000–1:09.120
Edit means that it can edit the content of a file.
Edit(編輯)意味著它可以編輯檔案內容。
1:09.380–1:11.660
Write actually creates a new file.
Write(寫入)實際上會建立新檔案。
1:11.980–1:17.060
Bash is a tool that allows Cloud Code to run actual commands on your computer.
Bash 是一個允許 Cloud Code 在你的電腦上執行實際指令的工具。
1:17.320–1:18.440
And what is the command?
那麼什麼是指令?
1:18.680–1:20.160
Command, for example, install.
指令,例如安裝。
1:20.340–1:22.000
Install the package is a command.
安裝套件是一個指令。
1:22.200–1:24.760
Run scripts or checking system information.
執行腳本或檢查系統資訊。
1:24.760–1:27.560
Every time Cloud Code runs bash commands,
每次 Cloud Code 執行 Bash 指令時,
1:27.560–1:29.640
you can actually see what it is.
你實際上可以看到它是什麼。
1:29.820–1:31.500
Glob is kind of like a search.
Glob 有點像是搜尋。
1:31.680–1:33.500
It allows to find file by name.
它允許透過名稱尋找檔案。
1:33.920–1:35.260
Grip is different.
Grep 則不同。
1:35.540–1:36.960
Don't confuse it with Glob.
不要把它與 Glob 混淆。
1:37.340–1:39.920
Grip searches within a file.
Grep 搜尋檔案內容。
1:40.100–1:44.340
So usually agents would go and use Glob and then use Grip.
所以通常代理程式會先使用 Glob,然後使用 Grep。
1:44.560–1:51.720
Agent tool allows Cloud Code to launch another helper agent or start a side quest and a loop.
Agent(代理程式)工具允許 Cloud Code 啟動另一個輔助代理程式或開始一個側邊任務和迴圈。
1:51.720–1:53.740
Keep in mind the word loop.
記住「迴圈」這個詞。
1:54.120–1:54.580
This is key.
這很關鍵。
1:54.760–1:58.420
Web search and web fetch is similar to glob and grab.
網頁搜尋和網頁擷取類似於 Glob 和 Grep。
1:58.840–2:01.034
Web search allows agent to go and
網頁搜尋允許代理程式前往
2:01.034–2:04.040
search information using keywords to fetch
使用關鍵字搜尋資訊以擷取
2:04.040–2:05.700
lists of links.
連結清單。
2:06.020–2:08.683
Web fetch means that you go into the link and
網頁擷取意味著你進入連結並
2:08.683–2:10.680
actually extract information.
實際提取資訊。
2:11.060–2:12.820
In other words, read the page.
換句話說,就是閱讀網頁。
2:13.160–2:16.840
Task tool is an ability for cloud to track its process.
任務工具是雲端追蹤其處理過程的能力。
2:16.840–2:20.483
It's literally a to-do list file that it goes and
它本質上是一個待辦事項檔案,在完成後會
2:20.483–2:22.760
references after it was done.
去參考它。
2:22.760–2:27.249
So now let's talk what is agent, what is agentic assistant,
所以現在讓我們來談談什麼是代理程式、什麼是代理式助理,
2:27.249–2:30.180
and how does cloud code actually work.
以及雲端程式碼實際上是如何運作。
2:30.300–2:32.320
Let me introduce you to the loop.
讓我為你介紹這個循環。
2:32.600–2:35.180
Cloud code agents run on the loop.
雲端程式碼代理程式在循環中運行。
2:35.460–2:36.580
That's what agents are.
這就是代理程式的本質。
2:36.760–2:39.020
People, it's just not sexy to call it loops.
人們,只是稱它為循環不夠吸引人。
2:39.240–2:40.480
First, it observes.
首先,它進行觀察。
2:40.740–2:44.920
It uses all those tools that allows it to find information or read information.
它使用所有那些允許它尋找或閱讀資訊的工具。
2:45.080–2:48.133
Plan, it creates the file, the to-do list, and
規劃,它建立檔案,也就是待辦事項清單,並且
2:48.133–2:49.900
this is where model shines
這正是模型展現光芒的地方
2:49.900–2:55.320
because it can actually think what to do before touching or actually act.
因為它實際上能在觸碰或真正行動之前思考該做什麼。
2:55.420–2:58.680
Before sending any project, use plan mode.
在發送任何專案之前,使用規劃模式。
2:58.820–3:02.380
Tell it to plan first before going and touching files.
告訴它在前往觸碰檔案前先進行規劃。
3:02.540–3:03.574
In the act stage,
在行動階段,
3:03.574–3:07.860
this is where agent uses all the tools that modifies its environment.
這是代理程式使用所有修改其環境的工具的地方。
3:07.860–3:13.060
So bash commands, writing, creating new files, spinning up agents.
例如 Bash 指令、撰寫、建立新檔案、啟動代理程式。
3:13.440–3:15.740
And those agents have their own loop.
而那些代理程式也有它們自己的循環。
3:15.940–3:18.720
They need to, again, do observe, plan, act, verify.
它們需要再次進行觀察、規劃、行動、驗證。
3:18.720–3:23.050
verify though this is that agent is forced to go and
驗證,雖然這意味著代理程式被強制去
3:23.050–3:26.040
look at the plan at its to-do list at
查看其待辦事項清單中的
3:26.040–3:32.300
executions and ask like did we achieve the goal if not loop starts all over again it goes observes
規劃與執行結果,並詢問是否達成了目標,如果沒有,循環便重新開始,它進行觀察
3:32.300–3:34.684
plans again a new task acts and then
再次規劃新任務,行動,然後
3:34.684–3:38.220
again verifies my co-founder shirt put incredible
再次驗證。我的合夥人 Shirt 提供了令人驚嘆的
3:38.220–3:44.960
free resource for our community members all about loops simply explained that visual exercises
免費資源,供我們的社群成員使用,完全關於循環的簡單解釋,透過視覺練習
3:44.960–3:51.190
it's probably the most simplest best resource I've seen online for loops.
這可能是我在線上看過關於循環最簡單、最好的資源。
3:51.190–3:53.300
Okay, Clot code can be run
好的,雲端程式碼可以在
3:53.300–3:57.954
to four places, but at its core it was designed for terminal.
四個地方運行,但其核心設計是為終端機。
3:57.954–4:00.840
Another word for terminal is command
終端機的另一個名稱是命令
4:00.840–4:04.336
line interface. This is the little black box and
列介面。這是那個小黑盒子,並且
4:04.336–4:07.220
to power up Clot, all you have to do after
要啟動雲端程式碼,在
4:07.220–4:12.123
installation is just type Clot. I search terminal in my Mac and
安裝後你所要做的只是輸入雲端程式碼。我在我的 Mac 中搜尋終端機,
4:12.123–4:14.480
I open the new window. If I type
我開啟新視窗。如果我輸入
4:14.480–4:18.423
cloud. Boom, cloud code is powered. As I mentioned,
cloud。Boom,Cloud Code 就啟動了。正如我所提到的,
4:18.423–4:22.000
cloud code works in four different places. The
Cloud Code 可在四個不同的地方運作。
4:22.000–4:24.898
first one is terminal. This is where I live,
第一個是終端機(Terminal)。這是我的主要工作環境,
4:24.898–4:28.280
for example. The second one is a terminal wrapper,
例如。第二個是終端機包裝器(Terminal Wrapper),
4:28.680–4:32.892
which is known as IDE, Integrated Development Environment,
也就是所謂的 IDE(整合開發環境),
4:32.892–4:35.040
Antigravity, or Cursor are all
Antigravity 或 Cursor 都是
4:35.040–4:38.565
IDEs, and they all emerge and build on top of VS Code.
IDE,它們都是建立在 VS Code 之上的。
4:38.565–4:40.860
So let me show you. This is VS Code,
所以讓我展示一下。這是 VS Code,
4:40.860–4:44.942
or Visual Studios. It's a wrapper on top of terminals.
或是 Visual Studio。它是終端機的上層包裝。
4:44.942–4:47.300
We have our folders. We have our
我們有資料夾。我們有
4:47.300–4:50.690
files inside of folders. And we have our terminal,
資料夾內的檔案。我們還有終端機,
4:50.690–4:54.000
which is Cloud Code. It looks a little bit easier,
這裡是 Cloud Code。看起來可能比較簡單,
4:54.160–4:56.786
maybe approachable. Then Cloud edits the file.
或許比較容易上手。然後 Cloud 編輯檔案。
4:56.786–4:59.280
You immediately in one place can see the file.
你可以在一個地方立即看到檔案。
4:59.580–5:01.386
Three is Agent is the King.
第三是 Agent(代理程式),它是王者。
5:01.386–5:05.900
It's just a fancy way of saying that we run Cloud Code in the clouds.
這只是說我們讓 Cloud Code 在雲端運行的花俏說法。
5:05.900–5:08.966
This way you can have cloud code abilities and
這樣你就可以擁有 Cloud Code 的功能和
5:08.966–5:11.871
all those tools that it can use, but you have
它可以使用的所有工具,但你是在
5:11.871–5:15.018
it in virtual environment, in a cloud, embedde
虛擬環境中,在雲端裡,嵌入
5:15.018–5:17.520
d in the products that people access.
在人們使用的產品中。
5:17.840–5:20.500
Four is desktop, mobile, and app.
第四是桌面、行動裝置和應用程式。
5:20.620–5:22.700
You can also access cloud code.
你也可以存取 Cloud Code。
5:22.900–5:25.160
If you have cloud desktop, this is how it looks.
如果你有雲端桌面,它看起來是這樣的。
5:25.260–5:26.980
We have home and then code.
我們有主頁,然後是程式碼。
5:27.120–5:28.680
And this is accessing cloud code.
這就是在存取 Cloud Code。
5:28.780–5:29.840
And again, same thing.
同樣地,情況一樣。
5:29.900–5:33.440
You select a folder on your computer and work in the files.
你選擇電腦上的資料夾並在檔案中工作。
5:33.440–5:40.571
The only limitation here is that you need to intentionally decide in which folder to work and
這裡唯一的限制是你需要有意識地決定在哪些資料夾中工作,
5:40.571–5:45.480
not just let cloud code access all the folders and all the files.
而不是讓 Cloud Code 隨意存取所有資料夾和所有檔案。
5:45.920–5:48.040
So the functionality is limited.
所以功能受到限制。
5:48.460–5:50.451
I already explained agent SDK, but
我已經解釋過 Agent SDK,但
5:50.451–5:52.304
this is just visually for you to u
這只是為了讓你視覺化地
5:52.304–5:54.227
nderstand that if you have your ap
理解,如果你有你的 ap
5:54.227–5:56.149
p or solution or your business inf
p 或解決方案或你的商業資訊
5:56.149–5:58.140
rastructure and you want cloud cod
基礎設施,並且你想要 cloud cod
5:58.140–5:59.993
e abilities, but you want it to wo
e 的功能,但你希望它
5:59.993–6:03.220
rk always 24-7 in the cloud, this is going to be agent SDK.
一直在雲端中 24-7 運作,這就是 Agent SDK。
6:03.440–6:05.877
and agent SDK will fetch Entropic API. So
Agent SDK 會擷取 Entropic API。所以
6:05.877–6:08.960
it's a thing sitting in the middle. And this is what I
它是位於中間的東西。這就是我所
6:08.960–6:15.220
meant when I said that businesses do not go directly through Entropic API. They actually
這就是我之前說的,企業不會直接通過 Entropic API 進行操作。他們實際上
6:15.220–6:16.370
have Cloud Code,
擁有 Cloud Code,
6:16.370–6:17.521
agentic coding a
一個
6:17.521–6:21.300
ssistant sitting in the middle with all those tools and
代理程式編碼
6:21.300–6:23.894
functionalities. Another thing, when
助手,坐在中間,擁有所有這些工具和
6:23.894–6:28.060
we say we use Cloud's subprocessors, it's actually another way
功能。另一件事,當
6:28.060–6:31.727
of saying that we run agent SDK functionality.
我們說我們使用 Cloud 的子處理程序時,這實際上是一種說法,表示我們運行代理程式 SDK 功能。
6:31.727–6:35.300
I build OpenClaw replica inside of Cloud Code
我在 Cloud Code 內部構建 OpenClaw 副本
6:35.300–6:39.611
cheap and safe. Cloud P is what allows me to control and
便宜且安全。Cloud P 允許我控制和
6:39.611–6:42.580
talk with my Cloud Code on my telegram
與我的 Cloud Code 在我的 Telegram 上對話
6:42.580–6:45.421
or call it on a phone. Another thing to understand when
或在電話上呼叫它。另一件需要理解的事情是,當
6:45.421–6:47.820
people are confused like, oh, there's models
人們感到困惑時,比如,哦,有模型
6:47.820–6:50.407
and everyone's chasing the best top model.
而且每個人都在追逐最好的頂級模型。
6:50.407–6:53.640
The reality for businesses, it's really split in two.
對於企業來說,現實情況確實分為兩部分。
6:53.640–6:58.337
There are models that you use in production in the products where speed and
有一些模型是你用於產品生產中的,在這些產品中,速度和
6:58.337–6:59.700
cost really matters.
成本確實很重要。
6:59.900–7:06.080
The Frontier AI labs with the most expensive capable models are for building for hard problems.
前沿 AI 實驗室使用最昂貴且功能強大的模型來構建解決難題。
7:06.240–7:09.927
But once you build and if that product has AI capabilities and
但一旦你構建完成,並且如果該產品具有 AI 功能,並且
7:09.927–7:13.180
it's going to be used by your teammates or other users,
它將被你的隊友或其他用戶使用,
7:13.320–7:16.340
it's going to use either cheap models or open source models.
它將使用廉價模型或開源模型。
7:16.340–7:19.930
In Cloud Code, you can access all the different models,
在 Cloud Code 中,你可以訪問所有不同的模型,
7:19.930–7:22.740
which is Hyco, Sonnet, Opus, and NeoFable,
包括 Hyco、Sonnet、Opus 和 NeoFable,
7:22.740–7:25.477
which I'm going to talk about in a second. However
我稍後會討論這些。然而
7:25.477–7:27.480
, when you are in a terminal and you do
,當你在終端中並執行
7:27.480–7:31.600
slash command model, you have these options. However
斜杠命令模型時,你有這些選項。然而
7:31.600–7:33.980
, there is a way if you don't see a
,如果你沒有看到某個
7:33.980–7:37.525
specific model, for example, you want to use Sonnet 4.
特定模型,例如,你想使用 Sonnet 4.
7:37.525–7:40.440
6 and it's not an option here, there is a way to
6,而這裡沒有這個選項,有一種方法可以
7:40.440–7:45.522
set up it custom. You can ask Cloud Code to open ZSHRC file.
自定義設置它。你可以要求 Cloud Code 打開 ZSHRC 文件。
7:45.522–7:48.380
Inside the file, there's all the
在文件內部,有所有
7:48.380–7:51.908
configuration. So it's different paths, different models,
的配置。所以有不同的路徑、不同的模型,
7:51.908–7:54.260
your API keys and stuff like that. And you
你的 API 密鑰等。並且你可以
7:54.260–7:57.722
can ask it that on every launch use this model.
要求它在每次啟動時使用這個模型。
7:57.722–8:00.000
This is what I did when they...
這就是我在他們……時所做的。
8:00.000–8:02.130
this is what i did when they launched opus 4.
這就是我在他們推出 Opus 4.
8:02.130–8:04.320
7 i didn't like it they made a default so i went
7 時所做的,我不喜歡它,他們設定了默認值,所以我去了
8:04.320–8:08.615
and in my settings in my configuration i changed it to opus 4.
並在設置和我的配置中將其更改為 Opus 4.
8:08.615–8:11.020
6 another thing you might not know
6。另一件你可能不知道的事情
8:11.020–8:17.620
that you can launch clod code which is a shell sitting on different models like haiku sonnet or
是你可以在不同模型上啟動 Cloud Code,這是一個坐在 Haiku、Sonnet 或
8:17.620–8:23.135
opus but this shell can sit on any other model as well so
Opus 等模型上的 shell,但這個 shell 也可以坐在任何其他模型上,所以
8:23.135–8:27.180
for example if i type clod deep this is my
例如,如果我輸入 clod deep,這就是我的
8:27.180–8:33.720
custom setup that means it's going through open router accessing deep seek model and i can use
自訂設定,代表它會透過 OpenRouter 存取 DeepSeek 模型,而我可以使用
8:33.720–8:36.192
now clod code with deep seek i can also
現在用 DeepSeek 搭配 Clod Code,我也可以
8:36.192–8:40.020
use clod code with a completely local model on my computer
在電腦上使用完全本地的模型搭配 Clod Code
8:40.020–8:45.060
multiple reasons to do this it's different projects with the sensitive information that's one another
這樣做有多個原因,例如處理含有敏感資訊的不同專案,這是其中一個原因。
8:45.060–8:47.923
one is that services are not reliable and
另一個原因是服務可能不可靠,
8:47.923–8:51.460
you can't access antraffic api you don't want your
如果你無法存取 Anthropic API,你不想讓你的
8:51.460–8:52.570
work to stop and
工作停擺,並且
8:52.570–8:53.681
you can use anot
你可以使用其他
8:53.681–8:57.780
her model option three is limitations if you run into your
模型選項。第三個原因是限制,如果你遇到你的
8:57.780–9:02.991
subscription limitations and you want to continue working but
訂閱限制,並且想要繼續工作,但
9:02.991–9:05.940
antraffic opus 4.8 api is expensive
Anthropic Opus 4.8 API 很昂貴。
9:05.940–9:10.429
Maybe you just route to GLM models, which are open source,
也許你只是轉向 GLM 模型,這些是開源的,
9:10.429–9:15.480
a fraction of the cost and capability on the same part as Opus 4.8.
成本只是 Opus 4.8 的一小部分,但能力卻在同一個層級。
9:15.680–9:19.160
We call it hybrid approach or fallback models.
我們稱之為混合方法或備用模型。
9:19.160–9:21.984
Also in the same setup file that I told you,
另外,在我之前告訴你的那個設定檔中,
9:21.984–9:24.809
create that in case there is an outage on tr
建立它,以防 Anthropic
9:24.809–9:28.440
affic, it will automatically default to open router.
發生停電,它會自動預設轉向 OpenRouter。
9:28.440–9:31.262
And then if OpenRouter is also not working,
然後如果 OpenRouter 也無法運作,
9:31.262–9:34.085
I can still access my files and information
我仍然可以存取我的檔案和資訊
9:34.085–9:38.240
and work with limited capabilities, but I can use local models.
並在有限的能力下工作,但我可以使用本地模型。
9:38.340–9:40.220
So this is known as fallbacks.
所以這被稱為備用方案。
9:40.380–9:43.040
Now we have a new model, which is MIFOS and Fable.
現在我們有一個新模型,即 Mifos 和 Fable。
9:43.560–9:45.982
Fable is just MIFOS with a guardrails, but
Fable 只是帶有防護措施的 Mifos,但是
9:45.982–9:49.580
you can't work on biology type of projects and cybersecurity.
你不能在生物學類型的專案和網路安全上工作。
9:50.240–9:51.955
It's really sad because
這真的很令人遺憾,因為
9:51.955–9:56.500
if you want to protect your development in your apps, you can't.
如果你想保護你的應用程式開發,你做不到。
9:56.500–10:00.807
You can't hack others. You can't also safeguard yourself.
你不能攻擊他人,你也無法保護自己。
10:00.807–10:03.620
It's also the most expensive model out
它也是目前
10:03.620–10:06.834
there. The thing to know about this next level models,
最昂貴的模型。關於這些下一級模型,你要知道的是,
10:06.834–10:09.120
remember what I said, cheap models for
記住我說過的,廉價模型用於
10:09.120–10:11.969
production, expensive models for work.
生產,昂貴模型用於工作。
10:11.969–10:15.320
Same principle applies. You never use Fable for
相同的原則適用。你永遠不會用 Fable 來處理
10:15.320–10:18.760
everything. You use Fable for two steps in the loop.
所有事情。你只在循環中的兩個步驟使用 Fable。
10:18.760–10:21.640
It is for planning and verifying. You never
它是用於規劃和驗證。你永遠
10:21.640–10:23.911
use Fable for observe or act.
不會用 Fable 來觀察或執行動作。
10:23.911–10:29.020
Here you can have way cheaper models running those commands that
在這裡,你可以使用便宜得多的模型來執行那些
10:29.020–10:30.278
are not destructive.
非破壞性的命令。
10:30.278–10:31.466
Another thing that p
另一件大
10:31.466–10:34.540
eople don't really know or think about is the effort.
眾不太知道或考慮到的事情是努力程度。
10:34.900–10:38.401
Before you switch from one model to another,
在從一個模型切換到另一個模型之前,
10:38.401–10:42.280
that is a sudden jump and huge price increase. Use
這會造成突然的跳躍和巨大的價格上漲。請
10:42.280–10:45.662
efforts to max out with your effort on one model.
盡你最大的努力,在單一模型上將效能發揮到極致。
10:45.662–10:48.960
And if their result's not good, this is when you
如果結果不理想,這時你就應該
10:48.960–10:52.569
graduate to the next model. Slash command effort,
升級到下一個模型。使用 /effort 指令,
10:52.569–10:55.920
low, medium, high, x high, max, and ultra code.
選項包括低、中、高、超高、極限和超代碼。
10:56.300–10:59.747
Next, this is for consultants and AI service providers.
接下來,這是針對顧問和 AI 服務供應商的說明。
10:59.747–11:02.020
Seven places where CloudCode can run
CloudCode 可以運行的七個地方,
11:02.020–11:05.544
and only five is where you will do it for business.
但只有五個地方是適合用於商業用途的。
11:05.544–11:08.380
Antropic API is really for developers,
Anthropic API 主要是給開發者使用的,
11:08.380–11:13.057
but not businesses. Businesses do not go directly to Antropic API.
而不是給企業直接使用的。企業不會直接連接到 Anthropic API。
11:13.057–11:14.560
In Antropic console,
在 Anthropic 的控制台裡,
11:14.560–11:18.900
So you can run cloud code instance, which is called managed agents.
你可以運行稱為「受管代理」(managed agents)的雲端代碼實例。
11:19.200–11:22.099
They're just running on Anthrofix cloud,
它們僅運行在 Anthropic 的雲端上,
11:22.099–11:25.080
not on your premises or not on your machine.
而不是運行在你的本地環境或你的機器上。
11:25.520–11:28.760
Cloud teams, you buy seats for that team.
雲端團隊(Cloud teams):你為該團隊購買席位。
11:28.760–11:34.519
This is for the very small teams who do not need a central secure login space and
這適用於非常小的團隊,他們不需要中央安全登入空間和
11:34.519–11:35.760
admin controls.
管理員控制功能。
11:35.900–11:39.809
If you don't need full infrastructure with IT departments and
如果你不需要與 IT 部門配合的完整基礎設施以及
11:39.809–11:42.140
compliance, you can use cloud teams.
合規性要求,你可以使用雲端團隊。
11:42.660–11:43.940
Now, enterprise.
現在,企業版(Enterprise)。
11:43.940–11:48.109
This is where real money is really. You need admin controls,
這裡才是真正的重點。你需要管理員控制功能,
11:48.109–11:50.860
but also higher limits and rate limits.
以及更高的限制和速率限制。
11:51.080–11:55.140
Enterprises can't afford that. Hey, you run into rate limits.
企業無法承受速率限制的問題。嘿,當你遇到速率限制時,
11:55.140–11:57.560
Oopsie. And rate limits is basically
哎呀。而速率限制基本上是指
11:57.560–12:01.371
how often you can use this product and how fast.
你可以多頻繁地使用這個產品以及速度有多快。
12:01.371–12:04.400
For the enterprises and businesses,
對於企業和商業用戶來說,
12:04.860–12:07.875
when you talk about cloud code, the number one question is,
當談到 CloudCode 時,第一個問題通常是,
12:07.875–12:09.660
do they run their business in cloud
他們的業務是運行在雲端上
12:09.660–12:11.824
or on a premise. If it's on premise,
還是本地部署(on-premise)。如果是本地部署,
12:11.824–12:15.780
meaning they have their own servers, you use cloud enterprise.
意味著他們擁有自己的伺服器,你就需要使用雲端企業版。
12:16.220–12:19.327
Next question is that if they run on cloud,
下一個問題是,如果他們運行在雲端上,
12:19.327–12:23.500
do they use Amazon, Google, or Microsoft? And depending
他們使用的是 Amazon、Google 還是 Microsoft?根據
12:23.500–12:26.978
on their answer, you will have to use Amazon Bedrock and
他們的回答,你將必須使用 Amazon Bedrock 並
12:26.978–12:29.020
access cloud code there, Google
在那裡訪問 CloudCode,或是 Google
12:29.020–12:33.243
Vertex AI, or Microsoft Azure AI Foundry. To finish up,
Vertex AI,或是 Microsoft Azure AI Foundry。最後,
12:33.243–12:36.640
I want you to walk you through the five things
我想帶你了解五個任何企業或公司都會問你的問題,
12:36.640–12:42.860
that any business or enterprise is going to ask you if it is on premise or on the cloud. And these
關於他們是本地部署還是運行在雲端上。這些
12:42.860–12:45.488
are the words that you need to know.
是你需要了解的名詞。
12:45.488–12:50.020
SSO stands for single sign on. Very simply explained is that
SSO 代表單一登入(Single Sign-On)。簡單來說就是
12:50.020–12:52.637
you have your company's domain and
你擁有公司的網域,
12:52.637–12:57.060
every person who logs in into central place can use the same
每個登入中央平台的人都可以使用相同的
12:57.060–12:58.897
domain and get access. So
網域並取得存取權。所以
12:58.897–13:00.647
it could be Mark at Antra
可能是 Antra
13:00.647–13:04.060
ffic or could be Steve at Antraffic. Antraffic
ffic 的 Mark,也可能是 Antraffic 的 Steve。Antraffic
13:04.060–13:06.902
domain is approved in one central place.
網域已在單一中央位置核准。
13:06.902–13:10.580
Skim provisioning allows you to add people, update,
自動設定檔配置(Skim provisioning)讓你能夠自動新增人員、更新或移除,因此
13:10.680–13:12.252
or remove automatically, so
你不需要手動管理這些存取權限,例如
13:12.252–13:15.920
you don't have to manually manage those access and control in case,
當員工離職時,
13:16.000–13:19.394
for example, you don't have an employee anymore.
例如你不再擁有某位員工。
13:19.394–13:22.540
RBAC, role-based access control, so now your
RBAC,基於角色的存取控制,現在你的
13:22.540–13:25.648
overall team can log in and use cloud code, but
整個團隊可以登入並使用 Cloud Code,但
13:25.648–13:28.920
maybe not everyone has the same access controls
並非每個人擁有相同的存取控制權,
13:28.920–13:31.960
and not everyone can access the same information.
也不是每個人能存取相同的資訊。
13:32.480–13:35.640
For some teams, Cloud Code can access the folder for marketing.
對於某些團隊,Cloud Code 可以存取行銷資料夾。
13:35.880–13:39.260
For another team, Cloud Code can access the folder finance.
對於另一個團隊,Cloud Code 可以存取財務資料夾。
13:39.700–13:41.440
Androfi provides compliance API,
Antrafi 提供合規性 API,
13:41.800–13:45.060
and this is a way for compliance and security and IT department
這是一種讓合規性、安全與 IT 部門
13:45.060–13:48.620
to be able to fetch instantly what happens.
能夠即時獲取發生狀況的方式。
13:48.620–13:52.460
See full traceability of who used Cloud Code,
查看完整的可追溯性,包括誰使用了 Cloud Code,
13:52.700–13:55.960
what they did, what happened, what tools have been used,
他們做了什麼、發生了什麼、使用了哪些工具,
13:55.960–13:58.840
so they can trace back if there is any problems.
以便在出現問題時進行追溯。
13:58.920–14:03.940
manage policy settings it's additional guardrails that you put on cloud code and
管理政策設定是你加諸於 Cloud Code 上的額外防護措施,
14:03.940–14:04.900
this is usually
這通常
14:04.900–14:12.220
it department will reinforce policies of how it should be used for example maybe using cloud code
由 IT 部門強化使用政策,例如可能在使用 Cloud Code
14:12.220–14:14.222
you can't go to certain domains and
時無法存取特定網域並
14:14.222–14:17.880
find information this is part of a cloud code training that we do
查找資訊。這是我們社群中進行的 Cloud Code 培訓的一部分,
14:17.880–14:20.873
in our community we are getting also cloud certified and
我們也獲得 Cloud 認證,
14:20.873–14:22.720
i'm going through cloud code badge
我正在進行 Cloud Code 徽章認證,
14:22.720–14:28.300
if you're interested to learn more we have a full dedicated classroom on cloud code beginner to pro
如果你有興趣了解更多,我們有專門的教室,涵蓋從初級到專業的 Cloud Code 課程。
14:28.300–14:32.240
We have seven day free trials, so we would love to get to know you.
我們提供七天免費試用,因此我們很希望能認識你。
14:32.400–14:34.660
If not, I'm going to see you in the next video.
如果沒有,我們在下個影片見。
14:35.060–14:35.260
Ciao!
再見!

影片筆記:10 Things They Didn't Tell You About Claude Code

一句話總結

本影片詳細介紹了 Claude Code 的架構、運作機制(觀察-規劃-執行-驗證迴圈)、多平台部署選項、模型與成本策略,以及針對企業級的合規性追蹤、權限管理與政策邊界設定。

核心重點

  1. 核心定義與運作:Claude Code 是針對「程式碼庫」(Code base)設計的代理程式輔助工具。其核心運作遵循「觀察 (Observe) -> 規劃 (Plan) -> 執行 (Act) -> 驗證 (Verify)」的迴圈機制,並透過 Task 工具追蹤進度。
  2. 工具集與功能:提供 Read, Edit, Write, Bash, Glob, Grip, Agent, Web Search, Web Fetch, Task 等工具。特別區分了檔案搜尋 (Glob) 與檔案內容搜尋 (Grip),以及網頁搜尋 (Web Search) 與網頁抓取 (Web Fetch) 的差異。
  3. 部署與執行環境:支援四種運行場所:終端機 (Terminal)、IDE (如 VS Code, Cursor, Antigravity)、雲端代理程式 (Agent in the cloud),以及桌面/行動裝置應用。
  4. 模型策略與成本
  • 區分生產環境與開發/高階問題使用的模型。
  • 提及多種模型選項:Hyco, Sonnet, Opus, NeoFable, MIFOS, Fable, Haiku, Deep Seek, GLM。
  • 支援透過設定檔 (ZSHRC) 自訂模型,並可設定備用模型 (Fallback),如使用 OpenRouter 或本地模型。
  • Fable 模型僅限用於規劃與驗證階段。
  • Effort 參數會影響成本與效能。
  1. 企業級功能
  • 針對顧問與服務提供者,解決本地 vs. 雲端部署的架構問題。
  • 整合 AWS Bedrock, Google Vertex AI, Microsoft Azure AI Foundry。
  • 提供企業級功能:Managed Agents, Cloud Teams, Enterprise。
  • 支援 SSO, SCIM Provisioning, RBAC。
  • 透過 Androfi 合規性 API 提供完整的可追溯性 (Traceability),記錄誰、何時、使用了何種工具及執行了何種操作,以便回溯。
  • IT 部門可設定政策邊界 (Guardrails),例如限制存取特定網域。
  1. 學習資源:提供從初級到進階的專屬教室資源、認證徽章 (Badge) 及七天免費試用。

詳細大綱

1. Claude Code 基礎與架構

  • 定義:針對包含檔案的資料夾(Code base)設計的代理程式輔助工具。
  • 工具解析
  • 基本工具:Read, Edit, Write, Bash。
  • 搜尋工具:
  • Glob:搜尋檔案路徑。
  • Grip:搜尋檔案內容(疑似 Grep 的變體或特定工具)。
  • Web Search:搜尋網頁資訊。
  • Web Fetch:抓取網頁內容。
  • 任務管理:Task 用於追蹤進度。
  • 運作迴圈 (The Loop)
  • 代理程式透過「觀察 -> 規劃 -> 執行 -> 驗證」的循環運作。
  • 強調「規劃模式 (Plan mode)」的重要性。
  • 子代理程式 (Helper agents) 擁有獨立的迴圈。

2. 執行環境與部署

  • 終端機 (Terminal):命令列介面操作。
  • IDE 整合
  • 支援 VS Code, Cursor, Antigravity。
  • 雲端與應用
  • 雲端代理程式 (Agent in the cloud) 與 Agent SDK。
  • 桌面與行動裝置應用。
  • 提及 Cloud PTelegram 作為可能的整合或平台。

3. 模型選擇、設定與成本策略

  • 模型選項
  • 提及模型:Hyco, Sonnet (4.6, 4.8), Opus (4.7, 4.8), NeoFable, Haiku, Deep Seek, GLM, MIFOS, Fable。
  • Fable 的限制:僅限用於規劃與驗證階段。
  • 設定與備用
  • 透過 ZSHRC 檔案進行模型設定。
  • 備用策略 (Fallback):可設定 OpenRouter、本地模型或 GLM 作為備用。
  • 成本影響
  • Effort 參數直接影響成本與效能。
  • 區分生產環境與高階模型的使用場景。

4. 企業級應用與合規性

  • 架構問題:企業客戶最常詢問本地部署 vs. 雲端部署的差異。
  • 雲端供應商整合
  • Amazon Bedrock
  • Google Vertex AI
  • Microsoft Azure AI Foundry
  • 企業級功能
  • Managed Agents, Cloud Teams, Enterprise。
  • 關鍵術語:SSO (Single Sign On), SCIM Provisioning, RBAC (Role-Based Access Control)。
  • 資訊存取控制
  • 不同團隊(如行銷、財務)可設定不同的資料夾存取權限。
  • 合規性與可追溯性 (Traceability)
  • 透過 Androfi 合規性 API,供合規、安全及 IT 部門即時獲取資訊。
  • 完整追蹤記錄:誰使用了 Claude Code、執行了什麼操作、發生了什麼事、使用了哪些工具。
  • 目的:若出現問題,可進行回溯追蹤。
  • 政策邊界 (Guardrails)
  • IT 部門可設定額外政策,例如限制使用 Claude Code 時不得存取特定網域或尋找特定資訊。
  • 認證與資源
  • 社區培訓、Cloud Code 認證、徽章 (Badge)。
  • 專屬教室資源:涵蓋從初級到進階 (beginner to pro) 的內容。
  • 七天免費試用 (seven day free trials)。

工具 / 模型 / 名詞整理

  • Claude Code:影片核心討論的代理程式輔助工具。
  • Anthropic API (逐字稿中出現為 antraffic api, antraffic):API 介面。
  • Terminal:終端機。
  • IDE:Integrated Development Environment。
  • VS Code:Visual Studios。
  • Cursor:IDE 名稱。
  • Antigravity:IDE 名稱。
  • Agent SDK:代理程式開發套件。
  • Entropic API (疑點):逐字稿原文,可能指 Anthropic API 或特定 SDK。
  • OpenClaw:產品名稱。
  • Cloud P:產品名稱。
  • Telegram:通訊軟體或整合平台。
  • 模型列表
  • Hyco
  • Sonnet (4.6, 4.8)
  • Opus (4.7, 4.8)
  • NeoFable
  • Haiku
  • Deep Seek (透過 OpenRouter)
  • GLM
  • MIFOS
  • Fable (僅限規劃與驗證)
  • OpenRouter:模型路由服務。
  • ZSHRC:設定檔。
  • Amazon Bedrock:雲端供應商服務。
  • Google Vertex AI:雲端供應商服務。
  • Microsoft Azure AI Foundry:雲端供應商服務。
  • Anthropic Console:管理控制台。
  • Managed Agents:企業級功能。
  • Cloud Teams:企業級功能。
  • Enterprise:企業級功能。
  • SSO:Single Sign On。
  • SCIM Provisioning (逐字稿中出現為 Skim provisioning):系統跨域身份管理配置。
  • RBAC:Role-Based Access Control。
  • Androfi:提供合規性 API 的服務或產品。
  • Compliance API:合規性 API。
  • Cloud Code badge:認證徽章。

操作流程整理

  1. 初始化與設定
  • 在終端機或 IDE 中啟動 Claude Code。
  • 透過 ZSHRC 檔案設定預設模型或備用模型 (Fallback)。
  1. 執行代理程式迴圈
  • 使用者提出需求。
  • 代理程式進入「觀察 -> 規劃 -> 執行 -> 驗證」迴圈。
  • 使用 Task 工具追蹤進度。
  • 若涉及子代理程式,啟動獨立迴圈。
  1. 工具調用
  • 根據需求調用 Read, Edit, Write, Bash 等工具。
  • 使用 Glob 搜尋檔案,Grip 搜尋內容。
  • 使用 Web SearchWeb Fetch 處理網路資訊。
  1. 企業級管理 (IT/合規部門視角)
  • 透過 Androfi 合規性 API 監控使用情況。
  • 設定政策邊界 (Guardrails),限制特定網域存取。
  • 根據團隊角色 (RBAC) 設定資料夾存取權限。
  • 若發生問題,透過可追溯性記錄進行回溯。
  1. 學習與認證
  • 參與從初級到進階的專屬教室資源。
  • 獲取 Cloud Code 認證與徽章。
  • 利用七天免費試用進行評估。

值得注意的限制或風險

  1. 模型版本與名稱不確定性
  • 影片中提及的模型版本(如 Sonnet 4.6/4.8, Opus 4.7/4.8)及模型名稱(Hyco, NeoFable, MIFOS, Fable)需查證是否為實際存在的版本或名稱。
  • Fable 模型僅限用於規劃與驗證,不能用於執行階段,這是一項限制。
  1. 成本影響
  • Effort 參數會影響成本,使用者需注意設定以控制開支。
  1. 企業合規性依賴
  • 企業級功能依賴 Androfi 合規性 API 及雲端供應商(AWS, Google, Azure)的整合,若這些服務不可用或配置錯誤,可能影響合規性追蹤。
  1. 政策邊界限制
  • IT 部門設定的政策邊界(如限制網域存取)可能影響代理程式的功能範圍。

逐字稿辨識疑點

  • antraffic / antraffic api:逐字稿多次出現此拼寫,推測為 Anthropic 或 Anthropic API 的聽寫錯誤,但依規則標記為「需查證」。
  • Entropic API:逐字稿提到 "Agent SDK will fetch Entropic API",此名稱與常見 AI API 名稱不符,標記為「需查證」。
  • Skim provisioning:逐字稿提到 "Skim provisioning allows you to add people...",推測為 SCIM (System for Cross-domain Identity Management) Provisioning 的聽寫錯誤,但依規則標記為「需查證」。
  • Clot / Clot code:逐字稿中出現 "type Clot", "power up Clot", "launch clod code",推測為 Cloud Code 的聽寫錯誤,但依規則標記為「需查證」。
  • Grip:逐字稿區分 Glob 與 Grip,指出 Grip 搜尋檔案內容。需確認此為特定工具名稱或聽寫錯誤(通常為 Grep)。
  • MIFOS:逐字稿提到 "MIFOS and Fable",需確認此模型名稱是否正確。
  • NeoFable:逐字稿提到 "NeoFable",需確認此模型名稱是否正確。
  • Hyco:逐字稿提到 "Hyco",需確認此模型名稱是否正確。
  • Opus 4.7 / Opus 4.6 / Opus 4.8:模型版本號需查證是否為實際存在的版本。
  • Sonnet 4.6 / Sonnet 4.8:模型版本號需查證是否為實際存在的版本。
  • Antigravity:作為 IDE 名稱出現,需查證是否為現有產品。
  • OpenClaw:作為產品名稱出現,需查證是否為現有產品。
  • Cloud P:作為產品名稱出現,需查證是否為現有產品。
  • Androfi:逐字稿中出現 "Androfi provides compliance API",此名稱較不常見,需查證是否為特定產品名稱或聽寫錯誤。
  • cloud certified:語法上略顯不完整,可能指 "Cloud Certified" 或相關認證課程。
  • cloud code badge:指稱 Cloud Code 的徽章,需確認是否為官方認證名稱。
  • cloud code beginner to pro:指稱課程等級,需確認是否為正式課程名稱。
  • seven day free trials:語法上通常為 "seven-day free trial",此處為複數形式,保留原樣。

可延伸追問

  1. 模型版本確認:Sonnet 4.6/4.8 和 Opus 4.7/4.8 是否為 Anthropic 官方發布的版本?Hyco, NeoFable, MIFOS 是否為內部或特定合作夥伴模型?
  2. 工具細節Grip 工具與標準的 Grep 命令有何具體差異?Fable 模型在規劃與驗證階段的具體表現如何?
  3. 企業整合細節Androfi 合規性 API 的具體功能與架構為何?如何與 AWS Bedrock, Google Vertex AI, Microsoft Azure AI Foundry 進行技術整合?
  4. 成本優化Effort 參數的具體數值範圍及其對成本的影響比例為何?如何最佳化備用模型 (Fallback) 策略以平衡成本與效能?
  5. 產品存在性Antigravity, OpenClaw, Cloud P 是否為現有的開發工具或產品?若為聽寫錯誤,正確名稱為何?

生字列表

生字讀音類型中文
code baseこーどべーす名詞程式碼庫
agenticえいじぇんてぃっく形容詞代理程式的、自主運作的
loopるーぷ名詞迴圈、循環
bashばっしゅ名詞Bash(指令列介面)
globぐろっぶ名詞Glob(檔案路徑匹配)
terminalたーみなる名詞終端機
IDEあいでぃー名詞整合開發環境
on premiseおんぷれみす形容詞句本地部署
SSOえすえすおー名詞單一登入
provisioningぷろビジョニング名詞配置、設定
RBACあーびーえーしー名詞基於角色的存取控制
complianceこんぷらいあんす名詞合規性、遵從
traceabilityトレーサビリティ名詞可追溯性
guardrailsがーどれいず名詞防護措施、限制條件
fallbackふぉーばっく名詞備用方案、備援
effortえふぉーと名詞努力程度、計算資源投入
rate limitれーとりみっと名詞速率限制

生字解說

code base こーどべーす

名詞 · N1

意思:程式碼庫

解說:指包含所有程式原始碼的資料夾或目錄集合。在開發中,它代表整個專案的程式碼集合。

影片原句
cloud code was built for code base, and code base is just a fancy word for a folder with files.
Cloud Code 是為程式碼庫(code base)而建構的,而程式碼庫只是帶有檔案的資料夾的別稱。
延伸例句
新しいプロジェクトを開始する前に、既存の code base を確認する必要があります。
在開始新專案之前,必須先確認現有的程式碼庫。

agentic えいじぇんてぃっく

形容詞 · N1

意思:代理程式的、自主運作的

解說:形容能夠自主觀察、規劃並執行任務的 AI 系統特性。源自 agent(代理程式)。

影片原句
Cloud code or agentic coding assistance, they actually work in that folder with files.
Cloud Code 或代理程式編碼輔助,它們實際上是在帶有檔案的資料夾中運作。
延伸例句
agentic AI はユーザーの指示を待たずに、自律的にタスクを完了させることができる。
自主型 AI 可以不等待用戶指示,自主完成任務。

loop るーぷ

名詞 · N2

意思:迴圈、循環

解說:程式設計術語,指重複執行某段程式碼的過程。在此語境中,指 AI 代理程式「觀察-規劃-行動-驗證」的循環工作模式。

影片原句
it can loop. More on looping just in a second.
它可以進行迴圈。稍後再詳細說明迴圈。
延伸例句
エラーが発生した場合、プログラムは loop を抜けて終了する。
如果發生錯誤,程式將跳出迴圈並結束。

bash ばっしゅ

名詞 · N1

意思:Bash(指令列介面)

解說:Unix/Linux 系統中常用的指令列介面工具,用於執行系統命令。

影片原句
Bash is a tool that allows Cloud Code to run actual commands on your computer.
Bash 是一個允許 Cloud Code 在你的電腦上執行實際指令的工具。
延伸例句
bash コマンドを使ってサーバーの再起動を行った。
使用 bash 命令重新啟動了伺服器。

glob ぐろっぶ

名詞 · N1

意思:Glob(檔案路徑匹配)

解說:一種用於匹配檔案名稱或路徑的模式,常用於搜尋特定格式的檔案。

影片原句
Glob is kind of like a search. It allows to find file by name.
Glob 有點像是搜尋。它允許透過名稱尋找檔案。
延伸例句
glob パターンを使って、すべての .txt ファイルを検索した。
使用 glob 模式搜尋了所有 .txt 檔案。

terminal たーみなる

名詞 · N2

意思:終端機

解說:用於輸入文字指令以控制電腦的介面。也稱為命令列介面(CLI)。

影片原句
at its core it was designed for terminal.
但其核心設計是為終端機。
延伸例句
terminal を開いて、コマンドを入力する。
打開終端機並輸入命令。

IDE あいでぃー

名詞 · N2

意思:整合開發環境

解說:Integrated Development Environment 的縮寫,提供程式碼編輯、除錯等功能的一體化軟體。

影片原句
which is known as IDE, Integrated Development Environment,
也就是所謂的 IDE(整合開發環境),
延伸例句
IDE を使用すると、コードの補完機能が使える。
使用 IDE 可以使用程式碼自動補全功能。

on premise おんぷれみす

形容詞句 · N1

意思:本地部署

解說:指軟體或服務運行在企業自己的伺服器或硬體上,而非雲端。

影片原句
do they run their business in cloud or on a premise.
他們的業務是運行在雲端上還是本地部署(on-premise)。
延伸例句
on premise のサーバーにデータを保存する。
將資料儲存於本地部署的伺服器上。

SSO えすえすおー

名詞 · N1

意思:單一登入

解說:Single Sign-On 的縮寫,允許用戶使用一組憑證存取多個相關但獨立軟體系統。

影片原句
SSO stands for single sign on.
SSO 代表單一登入(Single Sign-On)。
延伸例句
SSO を導入することで、ユーザーのログインが簡素化された。
導入 SSO 簡化了用戶的登入流程。

provisioning ぷろビジョニング

名詞 · N1

意思:配置、設定

解說:指為系統或用戶分配資源、權限或設置的過程。

影片原句
Skim provisioning allows you to add people, update, or remove automatically
自動設定檔配置(Skim provisioning)讓你能夠自動新增人員、更新或移除,
延伸例句
クラウドリソースのプロビジョニングが完了した。
雲端資源的配置已完成。

RBAC あーびーえーしー

名詞 · N1

意思:基於角色的存取控制

解說:Role-Based Access Control 的縮寫,根據用戶在組織中的角色來分配權限。

影片原句
RBAC, role-based access control, so now your overall team can log in and use cloud code
RBAC,基於角色的存取控制,現在你的整個團隊可以登入並使用 Cloud Code,
延伸例句
RBAC を設定して、管理者と一般ユーザーの権限を分けた。
設定 RBAC 以區分管理員和一般用戶的權限。

compliance こんぷらいあんす

名詞 · N1

意思:合規性、遵從

解說:指符合法規、標準或政策要求的狀態。

影片原句
Androfi provides compliance API,
Antrafi 提供合規性 API,
延伸例句
企業のコンプライアンス基準を満たす必要がある。
必須符合企業的合規性標準。

traceability トレーサビリティ

名詞 · N1

意思:可追溯性

解說:指能夠追蹤產品或服務從源頭到最終狀態的整個過程的能力。

影片原句
See full traceability of who used Cloud Code,
查看完整的可追溯性,包括誰使用了 Cloud Code,
延伸例句
食品のトレーサビリティを確保するために、供給チェーンを追跡する。
為了確保食品的可追溯性,追蹤供應鏈。

guardrails がーどれいず

名詞 · N2

意思:防護措施、限制條件

解說:比喻為保護系統或用戶免受損害的限制或規則。

影片原句
Fable is just MIFOS with a guardrails,
Fable 只是帶有防護措施的 Mifos,
延伸例句
AI の出力に guardrails を設けて、誤情報を防ぐ。
為 AI 輸出設置防護措施,以防止錯誤資訊。

fallback ふぉーばっく

名詞 · N2

意思:備用方案、備援

解說:當主要系統或服務失效時,切換到的備用系統或服務。

影片原句
We call it hybrid approach or fallback models.
我們稱之為混合方法或備用模型。
延伸例句
メインサーバーがダウンした場合、fallback サーバーに切り替える。
當主要伺服器當機時,切換到備用伺服器。

effort えふぉーと

名詞 · N2

意思:努力程度、計算資源投入

解說:在此語境中,指 AI 模型在處理任務時所分配的計算資源或「思考」深度。

影片原句
Use efforts to max out with your effort on one model.
請盡你最大的努力,在單一模型上將效能發揮到極致。
延伸例句
高い effort を設定して、複雑な問題を解決する。
設定高努力程度以解決複雜問題。

rate limit れーとりみっと

名詞 · N2

意思:速率限制

解說:限制單位時間內請求次數或數據傳輸量的機制。

影片原句
but also higher limits and rate limits.
以及更高的限制和速率限制。
延伸例句
API の rate limit に達すると、エラーが表示される。
達到 API 的速率限制時,會顯示錯誤。

句型解說(含實例)

~は~のために設計されている

意思:~是為~而設計的

接續:N1 は N2 のために 設計されている

解說:表示某事物是專門為了某個目的或對象而構建的。被動語態強調其設計初衷。

影片原句
at its core it was designed for terminal.
但其核心設計是為終端機。
實例
  1. このアプリは高齢者のために設計されている。
    這個應用程式是為老年人設計的。
  2. 新しいシステムはセキュリティのために設計されている。
    新系統是為安全性而設計的。

~を可能にする

意思:使~成為可能

接續:N1 は N2 を 可能にする

解說:表示某事物賦予了執行某項動作的的能力或機會。

影片原句
Bash is a tool that allows Cloud Code to run actual commands on your computer.
Bash 是一個允許 Cloud Code 在你的電腦上執行實際指令的工具。
實例
  1. インターネットは世界中の人々を結びつけることを可能にした。
    互聯網使世界各地的人們能夠聯繫起來。
  2. この技術は遠隔医療を可能にする。
    這項技術使遠程醫療成為可能。

~を待たずに

意思:不等待~

接續:N1 を 待たずに Vる

解說:表示在沒有收到某個指示或信號的情況下,直接進行某個動作。

影片原句
agentic AI はユーザーの指示を待たずに、自律的にタスクを完了させることができる。
自主型 AI 可以不等待用戶指示,自主完成任務。
實例
  1. 彼は確認を待たずに、すぐに行動を起こした。
    他沒有等待確認,立即採取了行動。
  2. 許可を待たずに、データを削除してしまった。
    沒有等待許可,就刪除了資料。

~に基づいて

意思:基於~

接續:N1 に 基づいて Vる

解說:表示根據某個標準、數據或規則進行判斷或行動。

影片原句
RBAC, role-based access control, so now your overall team can log in and use cloud code
RBAC,基於角色的存取控制,現在你的整個團隊可以登入並使用 Cloud Code,
實例
  1. 最新のデータに基づいて、計画を立てた。
    基於最新數據制定了計劃。
  2. 法律に基づいて、判決を下した。
    基於法律做出了判決。

~を確保する

意思:確保~

接續:N1 を 確保する

解說:表示保證某事物的存在、質量或供應。

影片原句
トレーサビリティを確保するために、供給チェーンを追跡する。
為了確保食品的可追溯性,追蹤供應鏈。
實例
  1. 品質を確保するために、厳格な検査を行う。
    為了確保品質,進行嚴格的檢查。
  2. 供給を確保するために、在庫を増やす。
    為了確保供應,增加庫存。

~に切り替える

意思:切換到~

接續:N1 に 切り替える

解說:表示從一種狀態、系統或模式轉換到另一種。

影片原句
メインサーバーがダウンした場合、fallback サーバーに切り替える。
當主要伺服器當機時,切換到備用伺服器。
實例
  1. 新しいシステムに切り替えた。
    切換到了新系統。
  2. 英語に切り替えて話す。
    切換到英語進行說話。

~を分ける

意思:區分~

接續:N1 を 分ける

解說:表示將事物區分為不同的類別、等級或群體。

影片原句
RBAC を設定して、管理者と一般ユーザーの権限を分けた。
設定 RBAC 以區分管理員和一般用戶的權限。
實例
  1. 重要なタスクとそうでないタスクを分ける。
    區分重要任務和非重要任務。
  2. 個人情報を公開情報と秘密情報に分ける。
    將個人資訊區分為公開資訊和機密資訊。