YouTube2Text

DeepSeek's Super-agent Explained (Plug it into Claude Code) — Transcript

by Rob Shocks - Switch Dimension · 2,822 words · 403 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Okay, so what did DeepSeek actually
  2. 0:01build? So, you might have heard of
  3. 0:02DeepSeek Harness, it's their open-source
  4. 0:04agent harness. Their super agent is a
  5. 0:07prototype and design for running agents
  6. 0:09on top of it. And DSH super agent is the
  7. 0:12prototype that goes with it. But don't
  8. 0:14worry, if you're not into DeepSeek, I'm
  9. 0:15going to show you how you can set it up
  10. 0:16with Claude Code, Open Code, whatever
  11. 0:18you want later. It's the principles
  12. 0:19we're going to take away. It's basically
  13. 0:20template for their idea of a super
  14. 0:22agent, which can work a lot more
  15. 0:24autonomously. I've gone and
  16. 0:25deconstructed it, so you can use it with
  17. 0:27Claude Code, Open Code, Cursor, whatever
  18. 0:29you want. And I'll show you how I did
  19. 0:30that later on in the video, so you could
  20. 0:31try it out yourself. Now, in my last
  21. 0:33video, I showed how I use Grokbot as the
  22. 0:35manager for my coding agents. One agent
  23. 0:38I talk to, and then the workers behind
  24. 0:39it doing all the code, either Claude
  25. 0:41Code or Codex or Cursor, whatever you
  26. 0:43want. And that's one way around this
  27. 0:44block. But what I like here is this is a
  28. 0:47completely build-your-own, run-your-own
  29. 0:49system. So, if you are work in an
  30. 0:50enterprise, in your own company, you're
  31. 0:52running multiple agents, you've got a
  32. 0:53team, etc., you can basically take what
  33. 0:56DeepSeek have here and apply it
  34. 0:58specifically to your workflows without
  35. 0:59being tied into any other kind of
  36. 1:01proprietary setup. So, the argument of
  37. 1:03DeepSeek's agent here is the models
  38. 1:05aren't the thing that's slowing us down
  39. 1:06anymore, it's us, the meat proxies, the
  40. 1:08humans, the slow humans in the middle.
  41. 1:10Every agent you add is just another tab
  42. 1:12you have to watch, it's another diff to
  43. 1:14read, another question waiting on you.
  44. 1:16We talked about this in a video a couple
  45. 1:18of weeks ago from Anthropic and their
  46. 1:19SDLC, where they talked about review
  47. 1:21being the big bottleneck. So, anyway,
  48. 1:22DeepSeek open-sourced a research
  49. 1:24prototype on this on the 31st of
  50. 1:26October, and it picked up a ton of
  51. 1:27GitHub stars in just 2 days, and it's
  52. 1:29growing. So, it's built around this one
  53. 1:31principle, which is take as little human
  54. 1:34attention as possible. So, if we can't
  55. 1:36read every line anymore, where does the
  56. 1:38human go? So, DeepSeek's approach to
  57. 1:40this is a little bit different from what
  58. 1:42we've seen in other videos on the topic.
  59. 1:44So, essentially, here's DeepSeek's
  60. 1:45argument. The idea is that over the last
  61. 1:48year or so, particularly in the last 6
  62. 1:49months, the models are just getting so
  63. 1:51much better at completing tasks, they
  64. 1:53don't need as much babysitting. But how
  65. 1:54are working the workflows, the tools,
  66. 1:56they're still treating one session as a
  67. 1:58unit of work. You open a chat, you give
  68. 2:00it a task, it's your brain space that
  69. 2:02remembers what's in it. You open five of
  70. 2:04these if you're working synchronously in
  71. 2:06parallel, and now you are the router
  72. 2:08between all these conversations. You are
  73. 2:10the project manager and the memory for
  74. 2:12all of them. They also talk about how
  75. 2:13bolting on MCP servers and CLIs doesn't
  76. 2:17necessarily fix this. You're still the
  77. 2:18one that's unblocking sessions and long
  78. 2:21jobs. Mentally, all the context from
  79. 2:23different tasks is getting mixed
  80. 2:24together, and then of course when your
  81. 2:25laptop stops or goes to sleep,
  82. 2:27everything stops. So, the idea is one
  83. 2:29continuous agent instead of a pile of
  84. 2:32sessions. Lots of companies that are
  85. 2:33trying to really move fast with agents
  86. 2:35are hitting the same kind of walls right
  87. 2:36now. So, quick one before we carry on,
  88. 2:38Klein Desktop is a free, open-source app
  89. 2:41for working with AI models, and it's not
  90. 2:42only for coding. You can use it for
  91. 2:44research and working through files as
  92. 2:46well as building apps. The biggest
  93. 2:47reason to try it is the choice of
  94. 2:49models. You can use over 300 models
  95. 2:51through the Klein provider. You can run
  96. 2:53local models or bring your own API keys
  97. 2:56from more than 50 providers. That's huge
  98. 2:58flexibility. There are free models, too,
  99. 3:00so you can try it without paying
  100. 3:01anything. I've got my 8-year-old son set
  101. 3:03up on this, he loves to vibe code apps.
  102. 3:05If you've got a big architecture choice
  103. 3:06to make, you can get different opinions
  104. 3:08from different models all in the same
  105. 3:09app. If you've started a job in Cloud
  106. 3:12Code or CodeX, you can just import that
  107. 3:14session and carry on in Klein really
  108. 3:15simply. You can easily run agents
  109. 3:17side-by-side with session management,
  110. 3:19one building a feature, another one
  111. 3:20researching an API. I can also schedule
  112. 3:22a task that searches the web each
  113. 3:24morning and summarize the news on the
  114. 3:26tools that I cover. For models, you can
  115. 3:27use Klein Pass. It's an optional at
  116. 3:29$9.99 a month subscription for
  117. 3:31open-weighted models like DeepSeek,
  118. 3:33Kimmy, and GLM, which gets you about
  119. 3:35five times the usage limit on standard
  120. 3:37API access. Download Klein Desktop for
  121. 3:39free in the link in the description down
  122. 3:40below.
  123. 3:41Anyway, with this one continuous agent,
  124. 3:43they give it four traits: continuous,
  125. 3:46productive, proactive, and persistent.
  126. 3:48So, it's the same agent wherever you
  127. 3:50talk to it, it runs tasks in parallel,
  128. 3:52it doesn't wait to be asked, and it's
  129. 3:54always on. So, this is kind of the
  130. 3:56open-source version of the Grok Bot
  131. 3:57implementation I talked about in a video
  132. 3:59a couple of days ago. So, the trick that
  133. 4:01makes this work is splitting the agent
  134. 4:03into two. At the top, there is a router.
  135. 4:06It's long-lived, persistent, and it
  136. 4:08handles every conversation with humans.
  137. 4:11And then, it hands out the work to the
  138. 4:12other agents. It never does the work
  139. 4:14itself. It can work without a bash tool
  140. 4:16at all, and a lighter, faster model is
  141. 4:19usually enough. Again, similar to what
  142. 4:20we're seeing with Grok bot. So,
  143. 4:21underneath are the workers. Each one
  144. 4:23gets its own content, a full set of
  145. 4:25tools, one task, and the strongest model
  146. 4:28you can give it. The workers will never
  147. 4:29talk to you directly. back to the
  148. 4:31router, and the router does all the
  149. 4:33talking. Again, very similar to the Grok
  150. 4:35bot setup we looked at a couple of days
  151. 4:37ago. What's interesting about this whole
  152. 4:38system is this is very flexible. It's
  153. 4:41something if you're building out an
  154. 4:42enterprise system in your own company,
  155. 4:43you're working with number of different
  156. 4:45developers, you can learn a lot from
  157. 4:46this and apply it exactly to your tools
  158. 4:48in your workflow. So, there's one line
  159. 4:50in here that really is, I guess, the
  160. 4:52manifesto for the whole repository.
  161. 4:54Sessions should be an implementation
  162. 4:56detail of the system. They shouldn't be
  163. 4:58a mental burden on its users. The second
  164. 5:01big approach here is a change in how
  165. 5:03it's being driven. If you remember, a
  166. 5:05while back we talked about how Anthropic
  167. 5:07approaches their SDLC, they use an
  168. 5:09intent.md file to gather all of the
  169. 5:11intent about what needs to be done,
  170. 5:13whether that's messages, emails,
  171. 5:15calendars, Jira, Sentry support
  172. 5:18messages, all that kind of stuff. The
  173. 5:20super agent here takes a similar
  174. 5:21approach. It's not based on you typing
  175. 5:24prompts anymore. It's coming from group
  176. 5:26chat messages, emails, Sentry, Jira,
  177. 5:30linear, code review comments, and
  178. 5:32continuous integration results. And they
  179. 5:34call all of these triggers. Now, most of
  180. 5:36all this intent coming in is going to be
  181. 5:38noise. So, it gets filtered twice. For
  182. 5:40the first check, just using code is who
  183. 5:42sent it and from where, are they
  184. 5:44authorized? And then, only what gets
  185. 5:46through goes to the model, which then
  186. 5:47will check it against policies written
  187. 5:49as prompts, which isn't as secure as I'd
  188. 5:51like it, but let's keep going. So, once
  189. 5:53a worker picks up a pull request, it
  190. 5:55goes and subscribes to the pull request
  191. 5:57thread. Every follow-up comment goes
  192. 5:59straight to that worker without going
  193. 6:01through the router. The idea that
  194. 6:02keeping the same worker alive for this
  195. 6:04is going to save a lot on cash tokens.
  196. 6:07Because if you know your fundamentals,
  197. 6:08every new agent, every new session
  198. 6:10requires a whole context drop in order
  199. 6:12to get started, and that's initially
  200. 6:14going to cost you more tokens and more
  201. 6:15money. The other thing the worker does
  202. 6:17is it works and acts ahead. In Deep Seek
  203. 6:19test, they set up a policy called
  204. 6:21silently reproduce and fix. When someone
  205. 6:24reports a bug, the agent tries to
  206. 6:26reproduce it and find a fix in the
  207. 6:27background. Now, we've seen something
  208. 6:29simple from Lauren Tan's approach to
  209. 6:31this. It's called fix and fuzz. An agent
  210. 6:33will pick up on a bug, see if it can be
  211. 6:35replicated, and then go ahead and try
  212. 6:37and fix it. So, in Deep Seek's approach
  213. 6:38here, the worker is only going to speak
  214. 6:40up once it's confirmed the issue and
  215. 6:42found a simple fix. Otherwise, it just
  216. 6:44stays quiet. Again, we're not
  217. 6:45overloading the human with decisions
  218. 6:47unless they're required. A separate
  219. 6:49watchdog session checks whether each
  220. 6:50worker is actually making any progress
  221. 6:52or if it's drifted off the goal. So, the
  222. 6:54question is, does it beat one agent with
  223. 6:56a load of sub-agents attached? So, they
  224. 6:57tested it, and about 300 messages from a
  225. 7:00group chat from GitHub and continuous
  226. 7:02integration. Only about 20 of those were
  227. 7:04actually real work requests. So, in
  228. 7:06their test, they just used a tool which
  229. 7:08had a set amount of time to run, and
  230. 7:10they gave it to the sub-agents and then
  231. 7:11to Deep Seek's approach. This is really
  232. 7:13just to measure the coordination because
  233. 7:15with non-deterministic agents, they
  234. 7:16might have gone and taken different
  235. 7:17approaches, and it wouldn't be a fair
  236. 7:18test. So, each design ran five times.
  237. 7:21So, with this super agent approach, it
  238. 7:23finished tasks in about 12 minutes at
  239. 7:25the median and 15.7 minutes for the
  240. 7:27slowest runs. A single session with a
  241. 7:29sub-agent tool and a neutral prompt took
  242. 7:31about 20 to 29 minutes. Okay, so you'd
  243. 7:34expect a single router in this setup to
  244. 7:36choke when things got busy. Let's say
  245. 7:38you're sending lots of different things
  246. 7:39to this model in order to get it to
  247. 7:41delegate to the others. So, it actually
  248. 7:43seems to do the opposite. Events that
  249. 7:45pile up during one turn get batched into
  250. 7:47the next call. So, that goes from one
  251. 7:49trigger a minute up to about 40, and the
  252. 7:51time per decision drops from about 6.4
  253. 7:53seconds to 1.6. So, in this experiment,
  254. 7:56there is a trade-off, and you kind of
  255. 7:58need to make that decision for yourself.
  256. 8:00Because we're running lots of
  257. 8:01independent sessions here, the super
  258. 8:03agent used about 23 million cash free
  259. 8:05tokens in a run against about million
  260. 8:08that you'd use for a single session. So,
  261. 8:10what they're doing here is trading
  262. 8:11tokens for shorter and more stable
  263. 8:14completion times. So, the big question
  264. 8:15from the start of the video is, can we
  265. 8:18take all this brain frying human
  266. 8:20verification out of each of these steps?
  267. 8:22Can we move it further up the chain?
  268. 8:24According to Deep Sea's conclusion, yes.
  269. 8:26Once the system handles the sessions and
  270. 8:28the context, people can move further up
  271. 8:30the chain from execution details to
  272. 8:33higher level decisions and sign off. And
  273. 8:35the prototype is built really to protect
  274. 8:36your attention. It only acts when
  275. 8:38someone it's allowed to listen to asks
  276. 8:40it or when a rule from the team allows
  277. 8:42it. It only pipes up when a person needs
  278. 8:45to act or can use a result and it's only
  279. 8:47going to ask one question at a time not
  280. 8:49overwhelm you. So, the important thing
  281. 8:50here is the human isn't disappearing,
  282. 8:52it's just moving around in the chain of
  283. 8:54decisions. You want to take yourself
  284. 8:55away from the small decisions and keep
  285. 8:57working on the big ones. You're moving
  286. 8:59up to the parts that only you can do, to
  287. 9:01deciding what's worth building, setting
  288. 9:02the rules, signing off, almost more
  289. 9:04product engineering than anything else.
  290. 9:06So, I think that's where the growth
  291. 9:07potential is to be ambitious. A team
  292. 9:09with a super agent watching their chat,
  293. 9:12their pull requests, and their CI aren't
  294. 9:14capped by a small amount of sessions
  295. 9:16anymore. Agent starts to become more
  296. 9:17proactive. Now, to be clear, this is a
  297. 9:19research prototype. It is not a product
  298. 9:21of any kind. It is purely for research
  299. 9:23only. Before you go installing anything
  300. 9:26like this in the deployment, doc both
  301. 9:28the router and the workers run with
  302. 9:30dangerous full access, which is a big
  303. 9:32no-no unless you've got your system
  304. 9:34locked down. So, it's advised that you
  305. 9:36run this in a sandbox or a dedicated OS
  306. 9:39account. Highly recommend you do that.
  307. 9:41Now, the other big issue I see with
  308. 9:42moving fast like this is the more events
  309. 9:45and the more input you open your agent
  310. 9:47up to, the more untrusted input it can
  311. 9:49read, the more prompt injection it opens
  312. 9:51to, or any kind of malicious plugins or
  313. 9:53nefarious actors can feed in
  314. 9:56instructions that you just don't want.
  315. 9:57Okay, so for those of you who are
  316. 9:59interested, here's how I set up my own
  317. 10:00version of this, which I can run with
  318. 10:02Claude Code, Open Code, etc. Now, I
  319. 10:04didn't install the Deep Sea harness. I
  320. 10:06basically got my agent to read the
  321. 10:07design docs and prompts, keep the best
  322. 10:09ideas, and built a small version of my
  323. 10:12own in TypeScript. In my setup, it
  324. 10:13watches a GitHub repo. When someone on
  325. 10:16the allow list mentions the bot on an
  326. 10:18issue, a gate that's written in code
  327. 10:20decides whether to act before any model
  328. 10:22runs, cuz I don't want to waste a lot of
  329. 10:24tokens. So, nothing typed in a comment
  330. 10:26can grant permission. So, each request
  331. 10:28becomes a ticket with its own branch,
  332. 10:30work tree, and an agent session. And
  333. 10:32then, again, and just like we talked
  334. 10:34about, any follow-up goes back into the
  335. 10:36same session. The agent can't post to
  336. 10:38GitHub itself. It goes through a tiny
  337. 10:40command called SA, and then the host
  338. 10:42checks every message, keeps it short,
  339. 10:44and stamps it as written by an automated
  340. 10:46agent. Because this is just a shell
  341. 10:48command, you can swap out Claude code
  342. 10:49for open code in just one line of
  343. 10:51config. From a security standpoint, I
  344. 10:53got it to run in a Docker container as a
  345. 10:55non-root user with no access to my home
  346. 10:57directory or my SSH keys. It's got its
  347. 10:59own GitHub bot account, which I set
  348. 11:02permissions in the token so it can only
  349. 11:03reach one sandbox repo, and you can add
  350. 11:05more if you like. And just add the
  351. 11:07permissions of the repo and the
  352. 11:09workflow, so it can run what you need
  353. 11:10to. So, in the first real run, I opened
  354. 11:12an issue. I asked it to fix a spelling
  355. 11:14mistake in the readme. It replied once,
  356. 11:15fixed the typo, ran the tests, and
  357. 11:17opened a pull request about 30 seconds
  358. 11:19end-to-end and about 10 cents using
  359. 11:21Haiku from Claude code. So, I've set it
  360. 11:23so that it can't merge its own work. It
  361. 11:25just sits in a panel that says needs
  362. 11:27you. I can just check in on this panel
  363. 11:28whenever I want. Now, to be honest, if
  364. 11:30you're a solo dev with an agent already
  365. 11:33open, the gain is going to be small with
  366. 11:34this kind of workflow. The coding is
  367. 11:36essentially going to be the same. It's
  368. 11:37the same kind of agent. There's nothing
  369. 11:39special here. The difference here is the
  370. 11:41mindset that we have this kind of a
  371. 11:43quite teammate running as a service in
  372. 11:45the background. This is DeepSeek's a
  373. 11:47super agent pattern. If you want to
  374. 11:49build your own version of this, I'll put
  375. 11:50a link in the description with the
  376. 11:51instructions you can pass straight to
  377. 11:52your agent to get it set up for you.
  378. 11:54Now, I'm well aware that a lot of the
  379. 11:55workflows we see here are possible with
  380. 11:57other third-party agents that you plug
  381. 11:59in. But, what I like here is this is a
  382. 12:01completely build-your-own, run-your-own
  383. 12:03system. So, if you are work in an
  384. 12:05enterprise, in your own company, you're
  385. 12:07running multiple agents, you've got a
  386. 12:08team, etc., you can basically take what
  387. 12:10DeepSeek have here and apply it
  388. 12:12specifically to your workflows without
  389. 12:14being tied into any other kind of
  390. 12:16proprietary setup. If you want to build
  391. 12:18a setups like these alongside other
  392. 12:19people, learn the fundamentals and the
  393. 12:21advanced parts, that's what the Switch
  394. 12:22Dimension course and community are for.
  395. 12:24The link is in the description. So, I
  396. 12:25know this one was a little bit advanced.
  397. 12:27I like to keep track of exactly what's
  398. 12:29happening on the edge. If it was useful,
  399. 12:30subscribe because there's a lot more
  400. 12:32coming on agents like this. And if you
  401. 12:34want to see how I've been playing with
  402. 12:35using Rock bot as my manager for my own
  403. 12:37coding agents, watch that one

About this transcript

This page contains the full transcript of DeepSeek's Super-agent Explained (Plug it into Claude Code) by Rob Shocks - Switch Dimension, generated from the public captions YouTube serves with the video. The transcript has 2,822 words across 403 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.