Skip to content

DeepSeek Harness in Practice

A hands-on handbook for building agent applications with DeepSeek Harness · By Guo Tao and Li Yongyong

Start readingDownloadsSource code

This manual is a companion reader to Large Model Agent Application Development (《大模型Agent应用开发》, Tsinghua University Press).

DeepSeek Harness (CLI name dsh) is DeepSeek’s open-source agent substrate. Its design philosophy fits in one sentence — everything is a plugin: model adapters, tool invocation, session management, even the agent loop that drives the whole thing, are all replaceable plugins.

This is a hands-on handbook for developers. It follows four threads — getting started and architecture, deployment and multi-model access, plugin development and agent construction, and real-world case studies — and uses one running example throughout: ShuTongBuddy, an exam-prep assistant for college students. Chapter 5 builds its plugin package; Chapter 8 turns it into a complete web application, ShuTongBuddy Studio.

The book is aimed at engineers, researchers and students who already program and want to get productive with agent applications quickly. You only need basic TypeScript and Python reading ability, plus some experience calling an LLM API.


Translation status: the site chrome, front matter and utility pages are available in English. The eight chapters are still Chinese only and fall back to the original text with a notice — translation is in progress.

Read online · Downloads · Contact: guotao3s@163.com