deepseek-harness guide

Overview

deepseek-harness (dsh) is an open-source AI agent harness created by DeepSeek AI on top of the Cordis plugin framework (A Programming Paradigm for Spatiotemporal Composability). The lmctl-ai/deepseek-harness repository tracks upstream with zero runtime code diverges while recording durable architectural notes, arm64 build instructions, and RPC protocol details required by lmctl's dsh provider.

Why lmctl-ai maintains this fork

The lmctl team maintains lmctl-ai/deepseek-harness for three practical engineering reasons documented in durable-memory/why-this-fork.md:

Wire protocol, environment overrides, and headless execution

When running dsh in automated pipelines or mock E2E qualification suites (such as provider-mock-e2e):

Web UI and development workflow

Running npx @deepseek-ai/dsh web or pnpm dsh web launches the local Web UI on http://127.0.0.1:3080. On a local desktop session it opens the default browser automatically; over SSH or when --no-open is passed, it prints the loopback URL without launching a browser. For live plugin and frontend development, pnpm run dev:web builds, serves, and hot-reloads client bundles in one terminal.