YouTube2Text

NEW DeepSeek Harness -  Super Agent! — Transcript

by Sam Witteveen · 3,332 words · 484 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Okay, so this past weekend DeepSeq
  2. 0:02released something that a lot of people
  3. 0:04out there are calling the answer to
  4. 0:05Claude code. It's an agent that sits on
  5. 0:08a GitHub repo. It watches the issues and
  6. 0:10pull requests. And when someone on your
  7. 0:12team asks it to do something, it then
  8. 0:15goes off into its own session, does the
  9. 0:17work, and comes back with a PR. Now,
  10. 0:20while that's cool in itself, that's not
  11. 0:22really the part that I want to talk
  12. 0:24about here. The part that I find really
  13. 0:26interesting is how they built it. The
  14. 0:28whole thing is just a set of plugins
  15. 0:31dropped into their agent harness. And to
  16. 0:34understand why that matters, we need to
  17. 0:36go back and actually look at the harness
  18. 0:38itself. So, when the DeepSeq harness
  19. 0:40came out back in August, I didn't
  20. 0:42actually cover it. And honestly, the
  21. 0:43reason for that was I just got so busy
  22. 0:45playing with it and trying out new ideas
  23. 0:47with it all the time. I kept putting off
  24. 0:49making the video because I felt like
  25. 0:51there were so many things that I wanted
  26. 0:52to show. For me, the whole plugin
  27. 0:55architecture of that harness is really
  28. 0:57cool, and it just allows you to do a
  29. 1:00whole bunch of things like this new
  30. 1:01super agent enables. Now, obviously in
  31. 1:04the meantime, a lot of people ended up
  32. 1:05covering it. It's turned out to be one
  33. 1:07of the most starred projects on GitHub
  34. 1:09this year. So, in this video, I'm going
  35. 1:10to do a sort of catch-up on that and
  36. 1:13look at some of the new stuff that
  37. 1:14they've actually built on top of this.
  38. 1:16All right, so the new thing that DeepSeq
  39. 1:17has launched is called super agent. And
  40. 1:19along with the repos that they launched,
  41. 1:21they basically written an article on X
  42. 1:23called exploring super agent design
  43. 1:26towards a more autonomous agent system.
  44. 1:29And in that article and the repo,
  45. 1:30they're very up front about that this is
  46. 1:33a research prototype. It's not an
  47. 1:35official DeepSeq product. And they even
  48. 1:37mention that it grew out of their own
  49. 1:39day-to-day development work. And that a
  50. 1:41lot of the ideas and the engineering
  51. 1:43here were actually written by coding
  52. 1:45agents themselves. So, the basic idea is
  53. 1:48this. Instead of you opening a session
  54. 1:51and talking to an agent, the agent
  55. 1:53listens to where your team already
  56. 1:55works. And the example that they've
  57. 1:56launched now, that happens to be GitHub.
  58. 1:59It also happens to be an app called Face
  59. 2:01Shu, which is ByteDance's sort of Slack
  60. 2:03equivalent. Now, when someone who's
  61. 2:05allowed to asks it for something, it
  62. 2:08opens up a work item, it spins up its
  63. 2:11own session in its own directory, does
  64. 2:14all of the work, replies back to the
  65. 2:16original conversation, and then usually
  66. 2:19in that reply, it's going to have a pull
  67. 2:21request in there. And in many ways, you
  68. 2:23can kind of think of this as building on
  69. 2:25the whole ideas of software factories,
  70. 2:28of automated software generation and
  71. 2:30stuff that we've seen a lot of people
  72. 2:31being talking about over the past couple
  73. 2:33of months. Now, Deep Seek themselves say
  74. 2:35that they've been running an internal
  75. 2:37version of this continuously. It's been
  76. 2:40reproducing and fixing bug issues,
  77. 2:42responding to code review comments, and
  78. 2:44it's actually been making improvements
  79. 2:46to the Deep Seek harness itself. So,
  80. 2:49before I go into showing you the how of
  81. 2:51how it actually all works, I want to
  82. 2:53show you why the harness layer matters
  83. 2:55so much. Recently on the Venture B
  84. 2:57podcast Beyond the Pilot, which I
  85. 2:59co-host, we've interviewed a number of
  86. 3:01interesting people, including the CTO of
  87. 3:03Instacart and the CTO of Box. Now, both
  88. 3:06of those episodes are coming up over the
  89. 3:08next couple of weeks or so, but one of
  90. 3:10the questions that I put to both of them
  91. 3:13was basically, what's more important
  92. 3:15now, the model or the harness? Both of
  93. 3:18them came back on the side of the
  94. 3:19harness, and I'll leave it for you to
  95. 3:21watch the full interviews cuz it was
  96. 3:23fascinating conversations. But clearly
  97. 3:25now, a lot of the innovation has moved
  98. 3:27away from just the model itself to the
  99. 3:30actual harnesses. And maybe it will
  100. 3:32swing back in the future as we get
  101. 3:34better models, but currently you need to
  102. 3:36be focused on where the harnesses are
  103. 3:38going. All right, so one of the things
  104. 3:39that my team and I are trying to do
  105. 3:41right now is increase the coverage and
  106. 3:43the number of videos that we're doing.
  107. 3:45It would really help if you just support
  108. 3:46the channel by clicking that subscribe
  109. 3:48button. We know that most of you are
  110. 3:50watching a lot of the videos and still
  111. 3:52not subscribed. Anyway, back to why the
  112. 3:55harness is so important. So, this is the
  113. 3:57Frontier harness chart and result table.
  114. 4:00So, these aren't my numbers. This comes
  115. 4:02from a benchmark called Frontier Harness
  116. 4:04Eval. And what they did was take one
  117. 4:07model, the Kim e K3, and run it through
  118. 4:09nine different coding agent harnesses,
  119. 4:1212 configurations in total. Codex,
  120. 4:15Claude Code, Pi, Open Code, DeepSeek
  121. 4:18Harness, etc. They then gave it the same
  122. 4:2130 tasks, same model, same runtime. The
  123. 4:24only thing that changed here was the
  124. 4:26harness. Now, you could make the
  125. 4:28argument that it's not a totally fair
  126. 4:29comparison, that Claude Code is
  127. 4:31optimized for its models, that Codex is
  128. 4:34optimized for the models, but it's
  129. 4:35really interesting to see the results
  130. 4:37that they got here. Codex came out on
  131. 4:40top with 66.7 pass rate. But if you look
  132. 4:43at that next row, DeepSeek Harness in
  133. 4:46its creator configuration and Claude
  134. 4:49Code both scored 63.3%.
  135. 4:53That's the same pass rate, same model,
  136. 4:56but the DeepSeek Harness run cost only
  137. 4:58about $3.28 per successful task, and
  138. 5:02Claude Code cost about $18.34.
  139. 5:05Now, across the whole table, the gap
  140. 5:07between the cheapest and most expensive
  141. 5:10configurations was actually about 17.5x.
  142. 5:14Now, I'd be careful reading too much
  143. 5:15into the exact configurations here. It's
  144. 5:1830 tasks, so one task is worth about
  145. 5:20three and a third points. The difference
  146. 5:22between Codex and DeepSeek is literally
  147. 5:25just one task here. But I do think the
  148. 5:27big picture holds true here, that the
  149. 5:29harness isn't just a wrapper. It changes
  150. 5:32the cost, the caching, the speed, and
  151. 5:35the success rate, even when the model is
  152. 5:38held constant. So, if you're evaluating
  153. 5:40a model, I'd try and do it in two or
  154. 5:43three harnesses before deciding whether
  155. 5:46the model is any good. Otherwise, you
  156. 5:48might be just blaming a model for what
  157. 5:49actually is the harness's
  158. 5:51responsibility. All right, so what is
  159. 5:53DeepSeek Harness, and why does it do
  160. 5:55well here? So, DeepSeek Harness, or DSH,
  161. 5:58came out on August 13th, alongside the
  162. 6:01initial release of DeepSeek version 4
  163. 6:04Pro. It's MIT licensed and there's web
  164. 6:06UI. So, you can start with just one NPX
  165. 6:09command and a desktop app. It's not
  166. 6:12locked to the Deep Seek models. I think
  167. 6:14that's really important to stress here.
  168. 6:16It works with other providers and even
  169. 6:18with OpenAI compatible endpoints. The
  170. 6:21key tagline here though that sort of
  171. 6:23sums this up is that everything is a
  172. 6:25plugin and they mean that very
  173. 6:28literally. In most agent frameworks,
  174. 6:30you've got a core, the agent loop, the
  175. 6:33model calls, the tool handling, and then
  176. 6:36plugins sort of hang off on the side. In
  177. 6:39DSH, the router itself is a plugin, the
  178. 6:43tool registry, a plugin, the session
  179. 6:45log, a plugin, even the agent loop
  180. 6:48itself is a plugin. Underneath all of
  181. 6:50this is a framework called Cordis and
  182. 6:53there's a paper behind that from three
  183. 6:55researchers at the Beijing University.
  184. 6:57And this framework, Deep Seek called a
  185. 6:59programming paradigm for spatio-temporal
  186. 7:02composability. Now,
  187. 7:04that sounds like a lot, but the two
  188. 7:06ideas here are actually pretty simple.
  189. 7:08The first is what they call temporal
  190. 7:09composability. When you remove a
  191. 7:11component, everything it did gets
  192. 7:13completely undone. If a plugin
  193. 7:16registered a tool or a hook into event,
  194. 7:18unloading it reverses all of that. The
  195. 7:21simplest way to think about this is that
  196. 7:23you can unplug something really cleanly.
  197. 7:26The second element here is spatial
  198. 7:27composability. Components declare what
  199. 7:30they depend on and the runtime activates
  200. 7:33or deactivates them as those
  201. 7:35dependencies come and go. So, you can
  202. 7:37basically plug in things safely and
  203. 7:39unplug them safely as well. Now, why
  204. 7:41does an agent harness need this? Because
  205. 7:43systems are changing constantly. You're
  206. 7:45swapping models, you're adding tools,
  207. 7:47you're turning things on and off per
  208. 7:49permission. And if every one of those
  209. 7:51changes sort of leaves junk behind,
  210. 7:54things get messy really quickly. We saw
  211. 7:57this even when people sort of reverse
  212. 7:58engineered how Claude code was working.
  213. 8:01Everyone that's making agent harnesses
  214. 8:03at the moment is moving at such a fast
  215. 8:05pace. It's just a simple fact that often
  216. 8:07code gets left behind. Anyway, so how
  217. 8:10does this look in practice? Well,
  218. 8:11running DSH is actually a tree of
  219. 8:13plugins which gets composed when it
  220. 8:16boots up from layers. First come bundles
  221. 8:19which are package sets of plugins plus
  222. 8:21their configs, then your profiles patch
  223. 8:23a YAML file called cordis.patch, then
  224. 8:26you've got a home level patch, and then
  225. 8:28anything you pass in on the command
  226. 8:30line. So, each layer here can target any
  227. 8:33plugin by its ID and replace its config
  228. 8:36or insert new ones. They've even got a
  229. 8:39command in there for dump config that
  230. 8:41just prints out the whole tree that your
  231. 8:43machine is booting from, and every row
  232. 8:45in that can be overwritten. Now, in the
  233. 8:47UI, they've got four modes and they work
  234. 8:50in the same way. You've got standard,
  235. 8:52PGC, minimal, and creator. And those
  236. 8:54themselves are just different sets of
  237. 8:57plugins. The creator mode is sort of the
  238. 8:59logical end point for this. You can
  239. 9:01describe a plugin in chat and the agent
  240. 9:04will write it, install it, and then
  241. 9:07check that it's actually live. So, you
  242. 9:09can kind of think of this as while
  243. 9:11everyone's been focused on just
  244. 9:12continual learning for models, this is
  245. 9:15bringing continual learning into the
  246. 9:17harness. Another thing that's worth
  247. 9:19knowing here is that the core repo here
  248. 9:21isn't taking outside pull requests now.
  249. 9:23They're pointing people to discussions
  250. 9:26and building plugins instead, which
  251. 9:29actually makes total sense for this
  252. 9:31design, right? If there's no core to
  253. 9:33patch, then plugins are how you
  254. 9:36contribute. And that's what brings us
  255. 9:38back to the whole super agent. So, if
  256. 9:40you open the super agent repo, one of
  257. 9:42the first files you'll see is the
  258. 9:43cordis.patch.yaml file. And that file is
  259. 9:46basically the whole integration. Inserts
  260. 9:48a core super agent plugin, a GitHub
  261. 9:51watcher plugin, and a facial watcher
  262. 9:53plugin by default. Now, obviously if
  263. 9:55you're not using those, you could just
  264. 9:56turn those off. But the way super agent
  265. 9:58works is that it defines a separate
  266. 10:00preset for the workers. You can think of
  267. 10:03it as DSH's standard preset with a bunch
  268. 10:06of things stripped out. No asking the
  269. 10:08person questions, no plan mode, no web
  270. 10:11fetch, no spinning off sub agents, etc.
  271. 10:14And the shell is set so that any command
  272. 10:16running longer than 5 seconds gets
  273. 10:18pushed to a background job. That way a
  274. 10:20long build doesn't stop the worker from
  275. 10:22noticing that someone just left a new
  276. 10:24command as it's going through.
  277. 10:26Obviously, that can be one of the
  278. 10:27frustrating things with Claude code and
  279. 10:29Codex is once it starts going, you're
  280. 10:32sitting there waiting to basically
  281. 10:33update it and you perhaps want to inject
  282. 10:35a prompt in while it's still going as
  283. 10:38you realize it's going in the wrong
  284. 10:39direction. So, what you're looking at in
  285. 10:41this agent is a fairly different system
  286. 10:43entirely. It's built from configurations
  287. 10:46and plugins. There's no forking of the
  288. 10:48harness and really that's the whole
  289. 10:50payoff of the DSH design that we've just
  290. 10:53talked about. Now, DSH itself did
  291. 10:55actually have an experimental agent
  292. 10:57teams feature with a roster, a task
  293. 11:00board, a mailbox. So, why build this?
  294. 11:03Well, you can think about agent teams is
  295. 11:05about coordinating agents inside one
  296. 11:08job. The super agent is about handling
  297. 11:11lots of independent jobs that arrive
  298. 11:14from the outside world over perhaps a
  299. 11:16long period of time and also from lots
  300. 11:18of different people posting here. It's
  301. 11:20actually addressing a different problem
  302. 11:22than what the teams feature did. And one
  303. 11:24cool practical detail here is that the
  304. 11:26router and the workers can each be given
  305. 11:28a different model. So, I'll come back to
  306. 11:30that in a second. Now, if we look at the
  307. 11:32architecture here, this basically has
  308. 11:35two layers to it. On top there's one
  309. 11:37long running session that they call the
  310. 11:39router. It handles all the human
  311. 11:41interaction, keeps the big picture
  312. 11:43context, hands out work to perhaps
  313. 11:45different plugins or different agents.
  314. 11:48Underneath are those worker agents, each
  315. 11:50running in their own isolated session.
  316. 11:53Workers never have to talk to people
  317. 11:54directly. They report back to the
  318. 11:56router. The router does all the
  319. 11:58communication. Everything going in from
  320. 12:00the outside is a trigger. A new issue, a
  321. 12:03review comment, a chat message, etc.
  322. 12:06Each trigger first goes through a gate,
  323. 12:08which is plain code and not even a
  324. 12:10model. And that gives you a
  325. 12:11deterministic feature to basically
  326. 12:14check, is this person even on the
  327. 12:16allowed list to be able to comment or to
  328. 12:19be able to file a pull request, etc. It
  329. 12:21also helps it to answer things like, did
  330. 12:23they actually address the agent? Now,
  331. 12:25only when those checks are passed does
  332. 12:27the model actually get to look at it and
  333. 12:29decide, you know, whether it's real
  334. 12:30work. If it is, it becomes a ticket with
  335. 12:33what they call a mandate. That's a
  336. 12:35record of who asked for it, under which
  337. 12:37rules, how far the work is allowed to
  338. 12:39go, etc. That ticket and the mandate
  339. 12:41then get passed to a worker. Now, here's
  340. 12:44a really cool detail that they've got in
  341. 12:46there. Once a worker owns a ticket, it
  342. 12:48subscribes to that conversation. So,
  343. 12:51when someone comments on the PR that it
  344. 12:53opened, that comment goes straight to
  345. 12:55the worker. It skips the router
  346. 12:57entirely. And you can think about that
  347. 12:59skipping of that orchestration layer and
  348. 13:01going straight through just saves you a
  349. 13:03huge amount on tokens, etc. In fact,
  350. 13:06when they turned off this in their
  351. 13:07experiments, router decisions actually
  352. 13:10went up by 30% and obviously the amount
  353. 13:13of tokens went up with it. For me
  354. 13:15though, the part that I find most
  355. 13:16interesting here though is about the
  356. 13:18router as the bottleneck. So, we would
  357. 13:20assume that one central session that's
  358. 13:22doing the orchestration, handing
  359. 13:23everything out, would just get
  360. 13:25overwhelmed as things get busy. It
  361. 13:28actually turns out here that it kind of
  362. 13:30does the opposite. When triggers arrive
  363. 13:32while the router is in mid-inference,
  364. 13:35they pile up and they get handled
  365. 13:37together in the next call. And because
  366. 13:39the way that they've structured that
  367. 13:40router's job to be sort of long input
  368. 13:43and short on output, it actually allows
  369. 13:46it to batch these things really cheaply.
  370. 13:48Now, in Deep Six stress test, they
  371. 13:50pushed the trigger rate from about one a
  372. 13:52minute to about 40 a minute. Average
  373. 13:55batch size went from one to 2.8. And
  374. 13:58sure, each call did get a bit slower
  375. 14:00from about 2.5 seconds to 3.9, but the
  376. 14:04time per decision, because it's being
  377. 14:06done now in batches, actually drops from
  378. 14:086.4 seconds down to 1.6 seconds. So, it
  379. 14:12got more efficient under load. They also
  380. 14:15say that the router job is often simpler
  381. 14:17than you'd expect and a lighter model
  382. 14:20usually handles it fine. That kind of
  383. 14:22goes against the grain for a lot of
  384. 14:24thinking of where people have been
  385. 14:25thinking that your orchestrator needs to
  386. 14:27have the best model and that your sub
  387. 14:29agents can get away with simpler models.
  388. 14:31It turns out that that router doesn't
  389. 14:33even need a bash tool. So overall that
  390. 14:35router can use a fast, cheap model. You
  391. 14:38can actually use the stronger model for
  392. 14:40some of your workers. And this is
  393. 14:41something that I definitely want to test
  394. 14:43more with open models going forward.
  395. 14:45Anyway, on top of this they have this
  396. 14:47philosophy, which I think is a really
  397. 14:49useful part. The principle is take as
  398. 14:52little human attention as possible and
  399. 14:55give as much value as possible. And I
  400. 14:57kind of feel as we're building agents,
  401. 14:59it's really hard to argue against that.
  402. 15:01You want an agent that only acts when
  403. 15:03someone allowed asks for it or when a
  404. 15:05rule the team wrote actually allows it.
  405. 15:08Interestingly, even in there, when work
  406. 15:09nobody asked for starts, it actually
  407. 15:12starts in a mode where it just records
  408. 15:15what it would have done. It then
  409. 15:16confirms itself whether or that would
  410. 15:18have actually worked and then only
  411. 15:20speaks up when there's a result or a
  412. 15:22decision that somebody needs to make. I
  413. 15:24really think there are a lot of lessons
  414. 15:26in here that all of us can take away for
  415. 15:28how we build our own agents. Okay, so
  416. 15:31what's missing here? Let me go through a
  417. 15:33few caveats here. First, this is a
  418. 15:35prototype and they say that really
  419. 15:37clearly. The published code isn't
  420. 15:39identical to their internal version.
  421. 15:41Some designs in the article are actually
  422. 15:43future directions that aren't in the
  423. 15:45repo yet. And from what I can see,
  424. 15:47things like the watchdog session perhaps
  425. 15:49isn't fully there yet and I'm sure there
  426. 15:51are others that are missing as well.
  427. 15:53Second, this is all kind of narrow. It's
  428. 15:55one GitHub repo. They haven't set this
  429. 15:57up to work with Slack or with email. But
  430. 16:00actually I'm not really worried about
  431. 16:01that because everything is basically a
  432. 16:03plugin. They've also included a cookbook
  433. 16:06for adding your own source code in
  434. 16:07there. So my guess is very quickly we'll
  435. 16:09see forks of this with lots of other
  436. 16:11integrations in there. Third up, the
  437. 16:13thing that we should be a little bit
  438. 16:14concerned about is that the super agent
  439. 16:17experiments that they ran on and
  440. 16:19reported their benchmarks on are
  441. 16:21actually run on synthetic workloads in a
  442. 16:23simplified environment. And they say
  443. 16:25themselves that this is basically just a
  444. 16:27preliminary reference. And on things
  445. 16:29like the 30 tasks, this is just a small
  446. 16:31sample. So, just treat those rankings as
  447. 16:33a rough guide. Finally, the big thing to
  448. 16:35be a little bit concerned about here is
  449. 16:37security. They do list the problems of
  450. 16:40prompt injection, credentials leaking,
  451. 16:42permissions across devices, etc. as
  452. 16:44things that they haven't fully solved
  453. 16:46yet. So, naturally, you probably want to
  454. 16:48be a bit careful about how you use this.
  455. 16:51But, if you are using it with local
  456. 16:52models in a totally locked-down
  457. 16:53environment, you probably don't have a
  458. 16:55lot to really worry about here. All
  459. 16:57right. So, overall, while I think super
  460. 16:59agent is a really interesting product
  461. 17:01here, what is even more interesting here
  462. 17:04is just basically the proof of design.
  463. 17:06Deep Seek has built something which is
  464. 17:08quite a different agent system on top of
  465. 17:10their own harness with just a few patch
  466. 17:12files and plugins without touching the
  467. 17:15core of the harness at all. And for me,
  468. 17:17the bigger point here is just showing
  469. 17:18you how much harnesses are evolving at
  470. 17:21such a quick pace at the moment. Anyway,
  471. 17:23as always, I've put the links to the
  472. 17:25repos, the paper, the benchmark, all of
  473. 17:27that's in the description. Let me know
  474. 17:29in the comments what you think. Do you
  475. 17:31see the future of the harnesses of being
  476. 17:34these composable plugins where different
  477. 17:36people create different ideas in
  478. 17:39different ways, and we're not just
  479. 17:41reliant on the same coding agent
  480. 17:43interfaces that we've seen up until now?
  481. 17:46As always, if you found the video
  482. 17:47useful, please click like and subscribe,
  483. 17:49and I'll talk to you in the next video.
  484. 17:50Bye for now.

About this transcript

This page contains the full transcript of NEW DeepSeek Harness -  Super Agent! by Sam Witteveen, generated from the public captions YouTube serves with the video. The transcript has 3,332 words across 484 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.