# DeepSeek Harness Tutorial

A Chinese-language, source-code-based tutorial that walks developers through the DeepSeek Harness (dsh) agent framework chapter by chapter, from basic concepts to writing your own plugin.

This repository is a systematic Chinese-language tutorial on DeepSeek Harness (dsh), organized in teaching order and cross-referenced to the real packages in the official repository so readers can check the source alongside each chapter. A beginner's guide introduces agent concepts in plain language before the fourteen main chapters, which progress from overall architecture and the underlying Cordis plugin framework, through the core agent loop, LLM adapters, execution capabilities such as shell and sandboxed code runtimes, tool and data capabilities like the filesystem, LSP, and MCP, orchestration features such as subagents and scheduling, human-collaboration features, persistence, startup and bundling, external APIs and SDKs, and finally how to extend dsh with new tools, providers, and adapters.

It targets developers who want to understand the dsh source code, plugin authors adding capabilities to it, and integrators assembling their own agent applications on top of it. It assumes familiarity with modern JavaScript/TypeScript and requires Node.js and pnpm. The tutorial notes that dsh is still in developer preview and its interfaces may change without notice.

Website: https://github.com/ht426/deepseek-harness-tutorial
