gistigo

Summary in English

DeepSeek Harness (DSH) explained – Everything Is a Plugin

ChannelHugging Face (opens YouTube)
Video
35 min
On YouTube since

Introduction

The material discusses DeepSeek Harness (DSH) in detail, an agent management system where everything is a plugin. The author explains how the modular architecture allows for deep modification of the agent loop, tools, and context.

Key takeaways 5

The gist of the content in a few sentences

  • The system is based on the Cordis framework, where every element, including the agent loop, is an interchangeable plugin.
  • The application offers various modes, including PTC mode, which generates scripts to run tools instead of making single calls.
  • Thanks to Creator mode, the agent can independently design and implement new plugins in TypeScript or JavaScript.
  • Plugins can act as guards that block dangerous commands, such as rm -rf, in the bash tool.
  • The system enables easy integration with various providers, including Hugging Face, via a custom API.
Video chapters 21Click and the video will play from the selected moment

Summary

First 3 of 21 parts

DeepSeek Harness architecture and features

The speaker presents DeepSeek Harness as a system based on an innovative architecture where the plugin system plays a key role. According to the author, in this solution everything is a plugin, which includes not only tools and LLM model providers, but also the agent loop and the injected context. This design allows for deep modification and updates to the system by the user or the agent themselves.

The application is available in two versions: as a web solution running locally on localhost and as a newer desktop application based on the Electron framework, which acts as a wrapper for the web version. Both versions offer a similar interface with a chat window and session history, but they are distinguished by the ability to choose different operating modes, which load different sets of plugins.

Overview of application operating modes

Several modes with different characteristics are available in the system. Standard mode runs a regular coding agent, while Minimal mode limits the amount of added context to a minimum. Creator mode is similar to standard, but possesses additional capabilities and context that allow for independent system updates.

Particular attention is given to PTC mode, which differs from standard in the way it invokes tools. Instead of procedurally calling each tool individually and waiting for a result, this mode generates scripts in which tools are executed. This allows for the parallel execution of multiple operations or calling multiple tools within a single request, which, according to the speaker, resembles the original way agents worked in the Small Agents project.

Modular architecture and plugin creation

According to the speaker, DeepSeek Harness is based on the concept that every system element is a plugin. This includes not only tools, but also the agent loop, LLM model providers, and the injected context, allowing the user to modify and update the system at a deep level.

During a demonstration in Creator mode, the speaker instructs the system to create a plugin that registers a new "Hello World" type tool, designed to greet the user by name. The result of this process is the creation of a directory containing a package.json configuration file and an index.js file. These plugins are files written in TypeScript or JavaScript that implement specific functionality and define the necessary dependencies for the plugin system.

Read the full summary – for free

18 parts of text left, key takeaways, facts, questions and answers, action items – with the source minute for every passage. Plus search, collections and the AI assistant.

Keep reading for free

Free, in a minute. Have an account? Log in

Free account

Read them in full – for free

  • 2 649 summaries in full – the gist, chapters, facts and takeaways
  • Full-text search, collections and an AI chat about every video
  • New videos from your channels summarized automatically, with an email notification