Back to directory

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.

DeepSeek Harness Tutorial

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.

More in Coding agents

See all 793
  • The City

    github.com

    A native macOS app that shows Claude Code runs as a city, with each project as a building, each team as a floor of robots, and every animation driven by a real event from the claude CLI's stream.

  • rig

    tryrig.ai

    A small, single-binary agent runtime that points at any OpenAI-compatible model, local or hosted, reads and edits a repository's code, runs its tests and remembers what it learned, with a loop implemented in a few hundred lines.

  • Jauvex

    jauvex.reindent.com

    An Electron desktop app that puts Claude Code, Codex and Grok coding-agent sessions side by side and lets you steer them by voice, with a small model handling fast routing decisions.