DeepSeek Harness Python SDK

August 10, 2026 · View on GitHub

English | 中文

Python packages for driving DeepSeek Harness as a subprocess. The client SDK communicates with the bundled runtime over newline-delimited JSON-RPC on stdio.

Packages

DirectoryDist / moduleRole
sdkdeepseek-harness-sdk / deepseek_harnessHigh-level turns API and lower-level JSON-RPC client
sdk-runtimedeepseek-harness-runtime-bin / deepseek_harness_runtimeBundled runtime binaries and default agent configuration

Behavior

The SDK starts the matching bundled runtime unless the caller selects an explicit channel. The client selects the channel and supplies default configuration; the runtime itself always requires an explicit configuration. The SDK reference and runtime carrier reference own the complete runtime-selection and configuration contracts.

Contributor workflows

The Python contributor workflows cover building runtime artifacts, validating the packages, source-mode development, and distribution.