DeepSeek's Super-agent Explained (Plug it into Claude Code) — Transcript
Full transcript
- 0:00Okay, so what did DeepSeek actually
- 0:01build? So, you might have heard of
- 0:02DeepSeek Harness, it's their open-source
- 0:04agent harness. Their super agent is a
- 0:07prototype and design for running agents
- 0:09on top of it. And DSH super agent is the
- 0:12prototype that goes with it. But don't
- 0:14worry, if you're not into DeepSeek, I'm
- 0:15going to show you how you can set it up
- 0:16with Claude Code, Open Code, whatever
- 0:18you want later. It's the principles
- 0:19we're going to take away. It's basically
- 0:20template for their idea of a super
- 0:22agent, which can work a lot more
- 0:24autonomously. I've gone and
- 0:25deconstructed it, so you can use it with
- 0:27Claude Code, Open Code, Cursor, whatever
- 0:29you want. And I'll show you how I did
- 0:30that later on in the video, so you could
- 0:31try it out yourself. Now, in my last
- 0:33video, I showed how I use Grokbot as the
- 0:35manager for my coding agents. One agent
- 0:38I talk to, and then the workers behind
- 0:39it doing all the code, either Claude
- 0:41Code or Codex or Cursor, whatever you
- 0:43want. And that's one way around this
- 0:44block. But what I like here is this is a
- 0:47completely build-your-own, run-your-own
- 0:49system. So, if you are work in an
- 0:50enterprise, in your own company, you're
- 0:52running multiple agents, you've got a
- 0:53team, etc., you can basically take what
- 0:56DeepSeek have here and apply it
- 0:58specifically to your workflows without
- 0:59being tied into any other kind of
- 1:01proprietary setup. So, the argument of
- 1:03DeepSeek's agent here is the models
- 1:05aren't the thing that's slowing us down
- 1:06anymore, it's us, the meat proxies, the
- 1:08humans, the slow humans in the middle.
- 1:10Every agent you add is just another tab
- 1:12you have to watch, it's another diff to
- 1:14read, another question waiting on you.
- 1:16We talked about this in a video a couple
- 1:18of weeks ago from Anthropic and their
- 1:19SDLC, where they talked about review
- 1:21being the big bottleneck. So, anyway,
- 1:22DeepSeek open-sourced a research
- 1:24prototype on this on the 31st of
- 1:26October, and it picked up a ton of
- 1:27GitHub stars in just 2 days, and it's
- 1:29growing. So, it's built around this one
- 1:31principle, which is take as little human
- 1:34attention as possible. So, if we can't
- 1:36read every line anymore, where does the
- 1:38human go? So, DeepSeek's approach to
- 1:40this is a little bit different from what
- 1:42we've seen in other videos on the topic.
- 1:44So, essentially, here's DeepSeek's
- 1:45argument. The idea is that over the last
- 1:48year or so, particularly in the last 6
- 1:49months, the models are just getting so
- 1:51much better at completing tasks, they
- 1:53don't need as much babysitting. But how
- 1:54are working the workflows, the tools,
- 1:56they're still treating one session as a
- 1:58unit of work. You open a chat, you give
- 2:00it a task, it's your brain space that
- 2:02remembers what's in it. You open five of
- 2:04these if you're working synchronously in
- 2:06parallel, and now you are the router
- 2:08between all these conversations. You are
- 2:10the project manager and the memory for
- 2:12all of them. They also talk about how
- 2:13bolting on MCP servers and CLIs doesn't
- 2:17necessarily fix this. You're still the
- 2:18one that's unblocking sessions and long
- 2:21jobs. Mentally, all the context from
- 2:23different tasks is getting mixed
- 2:24together, and then of course when your
- 2:25laptop stops or goes to sleep,
- 2:27everything stops. So, the idea is one
- 2:29continuous agent instead of a pile of
- 2:32sessions. Lots of companies that are
- 2:33trying to really move fast with agents
- 2:35are hitting the same kind of walls right
- 2:36now. So, quick one before we carry on,
- 2:38Klein Desktop is a free, open-source app
- 2:41for working with AI models, and it's not
- 2:42only for coding. You can use it for
- 2:44research and working through files as
- 2:46well as building apps. The biggest
- 2:47reason to try it is the choice of
- 2:49models. You can use over 300 models
- 2:51through the Klein provider. You can run
- 2:53local models or bring your own API keys
- 2:56from more than 50 providers. That's huge
- 2:58flexibility. There are free models, too,
- 3:00so you can try it without paying
- 3:01anything. I've got my 8-year-old son set
- 3:03up on this, he loves to vibe code apps.
- 3:05If you've got a big architecture choice
- 3:06to make, you can get different opinions
- 3:08from different models all in the same
- 3:09app. If you've started a job in Cloud
- 3:12Code or CodeX, you can just import that
- 3:14session and carry on in Klein really
- 3:15simply. You can easily run agents
- 3:17side-by-side with session management,
- 3:19one building a feature, another one
- 3:20researching an API. I can also schedule
- 3:22a task that searches the web each
- 3:24morning and summarize the news on the
- 3:26tools that I cover. For models, you can
- 3:27use Klein Pass. It's an optional at
- 3:29$9.99 a month subscription for
- 3:31open-weighted models like DeepSeek,
- 3:33Kimmy, and GLM, which gets you about
- 3:35five times the usage limit on standard
- 3:37API access. Download Klein Desktop for
- 3:39free in the link in the description down
- 3:40below.
- 3:41Anyway, with this one continuous agent,
- 3:43they give it four traits: continuous,
- 3:46productive, proactive, and persistent.
- 3:48So, it's the same agent wherever you
- 3:50talk to it, it runs tasks in parallel,
- 3:52it doesn't wait to be asked, and it's
- 3:54always on. So, this is kind of the
- 3:56open-source version of the Grok Bot
- 3:57implementation I talked about in a video
- 3:59a couple of days ago. So, the trick that
- 4:01makes this work is splitting the agent
- 4:03into two. At the top, there is a router.
- 4:06It's long-lived, persistent, and it
- 4:08handles every conversation with humans.
- 4:11And then, it hands out the work to the
- 4:12other agents. It never does the work
- 4:14itself. It can work without a bash tool
- 4:16at all, and a lighter, faster model is
- 4:19usually enough. Again, similar to what
- 4:20we're seeing with Grok bot. So,
- 4:21underneath are the workers. Each one
- 4:23gets its own content, a full set of
- 4:25tools, one task, and the strongest model
- 4:28you can give it. The workers will never
- 4:29talk to you directly. back to the
- 4:31router, and the router does all the
- 4:33talking. Again, very similar to the Grok
- 4:35bot setup we looked at a couple of days
- 4:37ago. What's interesting about this whole
- 4:38system is this is very flexible. It's
- 4:41something if you're building out an
- 4:42enterprise system in your own company,
- 4:43you're working with number of different
- 4:45developers, you can learn a lot from
- 4:46this and apply it exactly to your tools
- 4:48in your workflow. So, there's one line
- 4:50in here that really is, I guess, the
- 4:52manifesto for the whole repository.
- 4:54Sessions should be an implementation
- 4:56detail of the system. They shouldn't be
- 4:58a mental burden on its users. The second
- 5:01big approach here is a change in how
- 5:03it's being driven. If you remember, a
- 5:05while back we talked about how Anthropic
- 5:07approaches their SDLC, they use an
- 5:09intent.md file to gather all of the
- 5:11intent about what needs to be done,
- 5:13whether that's messages, emails,
- 5:15calendars, Jira, Sentry support
- 5:18messages, all that kind of stuff. The
- 5:20super agent here takes a similar
- 5:21approach. It's not based on you typing
- 5:24prompts anymore. It's coming from group
- 5:26chat messages, emails, Sentry, Jira,
- 5:30linear, code review comments, and
- 5:32continuous integration results. And they
- 5:34call all of these triggers. Now, most of
- 5:36all this intent coming in is going to be
- 5:38noise. So, it gets filtered twice. For
- 5:40the first check, just using code is who
- 5:42sent it and from where, are they
- 5:44authorized? And then, only what gets
- 5:46through goes to the model, which then
- 5:47will check it against policies written
- 5:49as prompts, which isn't as secure as I'd
- 5:51like it, but let's keep going. So, once
- 5:53a worker picks up a pull request, it
- 5:55goes and subscribes to the pull request
- 5:57thread. Every follow-up comment goes
- 5:59straight to that worker without going
- 6:01through the router. The idea that
- 6:02keeping the same worker alive for this
- 6:04is going to save a lot on cash tokens.
- 6:07Because if you know your fundamentals,
- 6:08every new agent, every new session
- 6:10requires a whole context drop in order
- 6:12to get started, and that's initially
- 6:14going to cost you more tokens and more
- 6:15money. The other thing the worker does
- 6:17is it works and acts ahead. In Deep Seek
- 6:19test, they set up a policy called
- 6:21silently reproduce and fix. When someone
- 6:24reports a bug, the agent tries to
- 6:26reproduce it and find a fix in the
- 6:27background. Now, we've seen something
- 6:29simple from Lauren Tan's approach to
- 6:31this. It's called fix and fuzz. An agent
- 6:33will pick up on a bug, see if it can be
- 6:35replicated, and then go ahead and try
- 6:37and fix it. So, in Deep Seek's approach
- 6:38here, the worker is only going to speak
- 6:40up once it's confirmed the issue and
- 6:42found a simple fix. Otherwise, it just
- 6:44stays quiet. Again, we're not
- 6:45overloading the human with decisions
- 6:47unless they're required. A separate
- 6:49watchdog session checks whether each
- 6:50worker is actually making any progress
- 6:52or if it's drifted off the goal. So, the
- 6:54question is, does it beat one agent with
- 6:56a load of sub-agents attached? So, they
- 6:57tested it, and about 300 messages from a
- 7:00group chat from GitHub and continuous
- 7:02integration. Only about 20 of those were
- 7:04actually real work requests. So, in
- 7:06their test, they just used a tool which
- 7:08had a set amount of time to run, and
- 7:10they gave it to the sub-agents and then
- 7:11to Deep Seek's approach. This is really
- 7:13just to measure the coordination because
- 7:15with non-deterministic agents, they
- 7:16might have gone and taken different
- 7:17approaches, and it wouldn't be a fair
- 7:18test. So, each design ran five times.
- 7:21So, with this super agent approach, it
- 7:23finished tasks in about 12 minutes at
- 7:25the median and 15.7 minutes for the
- 7:27slowest runs. A single session with a
- 7:29sub-agent tool and a neutral prompt took
- 7:31about 20 to 29 minutes. Okay, so you'd
- 7:34expect a single router in this setup to
- 7:36choke when things got busy. Let's say
- 7:38you're sending lots of different things
- 7:39to this model in order to get it to
- 7:41delegate to the others. So, it actually
- 7:43seems to do the opposite. Events that
- 7:45pile up during one turn get batched into
- 7:47the next call. So, that goes from one
- 7:49trigger a minute up to about 40, and the
- 7:51time per decision drops from about 6.4
- 7:53seconds to 1.6. So, in this experiment,
- 7:56there is a trade-off, and you kind of
- 7:58need to make that decision for yourself.
- 8:00Because we're running lots of
- 8:01independent sessions here, the super
- 8:03agent used about 23 million cash free
- 8:05tokens in a run against about million
- 8:08that you'd use for a single session. So,
- 8:10what they're doing here is trading
- 8:11tokens for shorter and more stable
- 8:14completion times. So, the big question
- 8:15from the start of the video is, can we
- 8:18take all this brain frying human
- 8:20verification out of each of these steps?
- 8:22Can we move it further up the chain?
- 8:24According to Deep Sea's conclusion, yes.
- 8:26Once the system handles the sessions and
- 8:28the context, people can move further up
- 8:30the chain from execution details to
- 8:33higher level decisions and sign off. And
- 8:35the prototype is built really to protect
- 8:36your attention. It only acts when
- 8:38someone it's allowed to listen to asks
- 8:40it or when a rule from the team allows
- 8:42it. It only pipes up when a person needs
- 8:45to act or can use a result and it's only
- 8:47going to ask one question at a time not
- 8:49overwhelm you. So, the important thing
- 8:50here is the human isn't disappearing,
- 8:52it's just moving around in the chain of
- 8:54decisions. You want to take yourself
- 8:55away from the small decisions and keep
- 8:57working on the big ones. You're moving
- 8:59up to the parts that only you can do, to
- 9:01deciding what's worth building, setting
- 9:02the rules, signing off, almost more
- 9:04product engineering than anything else.
- 9:06So, I think that's where the growth
- 9:07potential is to be ambitious. A team
- 9:09with a super agent watching their chat,
- 9:12their pull requests, and their CI aren't
- 9:14capped by a small amount of sessions
- 9:16anymore. Agent starts to become more
- 9:17proactive. Now, to be clear, this is a
- 9:19research prototype. It is not a product
- 9:21of any kind. It is purely for research
- 9:23only. Before you go installing anything
- 9:26like this in the deployment, doc both
- 9:28the router and the workers run with
- 9:30dangerous full access, which is a big
- 9:32no-no unless you've got your system
- 9:34locked down. So, it's advised that you
- 9:36run this in a sandbox or a dedicated OS
- 9:39account. Highly recommend you do that.
- 9:41Now, the other big issue I see with
- 9:42moving fast like this is the more events
- 9:45and the more input you open your agent
- 9:47up to, the more untrusted input it can
- 9:49read, the more prompt injection it opens
- 9:51to, or any kind of malicious plugins or
- 9:53nefarious actors can feed in
- 9:56instructions that you just don't want.
- 9:57Okay, so for those of you who are
- 9:59interested, here's how I set up my own
- 10:00version of this, which I can run with
- 10:02Claude Code, Open Code, etc. Now, I
- 10:04didn't install the Deep Sea harness. I
- 10:06basically got my agent to read the
- 10:07design docs and prompts, keep the best
- 10:09ideas, and built a small version of my
- 10:12own in TypeScript. In my setup, it
- 10:13watches a GitHub repo. When someone on
- 10:16the allow list mentions the bot on an
- 10:18issue, a gate that's written in code
- 10:20decides whether to act before any model
- 10:22runs, cuz I don't want to waste a lot of
- 10:24tokens. So, nothing typed in a comment
- 10:26can grant permission. So, each request
- 10:28becomes a ticket with its own branch,
- 10:30work tree, and an agent session. And
- 10:32then, again, and just like we talked
- 10:34about, any follow-up goes back into the
- 10:36same session. The agent can't post to
- 10:38GitHub itself. It goes through a tiny
- 10:40command called SA, and then the host
- 10:42checks every message, keeps it short,
- 10:44and stamps it as written by an automated
- 10:46agent. Because this is just a shell
- 10:48command, you can swap out Claude code
- 10:49for open code in just one line of
- 10:51config. From a security standpoint, I
- 10:53got it to run in a Docker container as a
- 10:55non-root user with no access to my home
- 10:57directory or my SSH keys. It's got its
- 10:59own GitHub bot account, which I set
- 11:02permissions in the token so it can only
- 11:03reach one sandbox repo, and you can add
- 11:05more if you like. And just add the
- 11:07permissions of the repo and the
- 11:09workflow, so it can run what you need
- 11:10to. So, in the first real run, I opened
- 11:12an issue. I asked it to fix a spelling
- 11:14mistake in the readme. It replied once,
- 11:15fixed the typo, ran the tests, and
- 11:17opened a pull request about 30 seconds
- 11:19end-to-end and about 10 cents using
- 11:21Haiku from Claude code. So, I've set it
- 11:23so that it can't merge its own work. It
- 11:25just sits in a panel that says needs
- 11:27you. I can just check in on this panel
- 11:28whenever I want. Now, to be honest, if
- 11:30you're a solo dev with an agent already
- 11:33open, the gain is going to be small with
- 11:34this kind of workflow. The coding is
- 11:36essentially going to be the same. It's
- 11:37the same kind of agent. There's nothing
- 11:39special here. The difference here is the
- 11:41mindset that we have this kind of a
- 11:43quite teammate running as a service in
- 11:45the background. This is DeepSeek's a
- 11:47super agent pattern. If you want to
- 11:49build your own version of this, I'll put
- 11:50a link in the description with the
- 11:51instructions you can pass straight to
- 11:52your agent to get it set up for you.
- 11:54Now, I'm well aware that a lot of the
- 11:55workflows we see here are possible with
- 11:57other third-party agents that you plug
- 11:59in. But, what I like here is this is a
- 12:01completely build-your-own, run-your-own
- 12:03system. So, if you are work in an
- 12:05enterprise, in your own company, you're
- 12:07running multiple agents, you've got a
- 12:08team, etc., you can basically take what
- 12:10DeepSeek have here and apply it
- 12:12specifically to your workflows without
- 12:14being tied into any other kind of
- 12:16proprietary setup. If you want to build
- 12:18a setups like these alongside other
- 12:19people, learn the fundamentals and the
- 12:21advanced parts, that's what the Switch
- 12:22Dimension course and community are for.
- 12:24The link is in the description. So, I
- 12:25know this one was a little bit advanced.
- 12:27I like to keep track of exactly what's
- 12:29happening on the edge. If it was useful,
- 12:30subscribe because there's a lot more
- 12:32coming on agents like this. And if you
- 12:34want to see how I've been playing with
- 12:35using Rock bot as my manager for my own
- 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.