Skip to main content

deepseek-harness-cli

dsh — command-line companion to deepseek-harness.

pip install deepseek-harness-cli
export DEEPSEEK_API_KEY=sk-...

dsh doctor                       # verify env + 1-token live call
dsh doctor --node                # 12 witness probes for the official Node harness (@deepseek-ai/dsh)
dsh chat                         # interactive REPL with all guards on
dsh chat -r                      # enable thinking mode
dsh validate path/to/msgs.json   # offline contract audit (no API call)
dsh estimate path/to/msgs.json   # offline cache-hit estimate (no API call)
dsh probe probe_2 --n 3          # run a probe by name
dsh version

Why use this over a vanilla OpenAI client: the harness enforces all 10 contract rules from the DeepSeek V4 spec by default — saving you from the documented 400 reasoning_content, V8 Invalid string length crashes, parallel-tool-delta misalignment, and dual cache-field invisibility.

dsh doctor --node checks an installed @deepseek-ai/dsh for what its own tooling does not report. That covers session-log seq gaps (it reads the v4 .zstd logs; pip install deepseek-harness-cli[zstd] or have the zstd CLI), env vars silently scrubbed from subagents, Files API cross-install deletion, and multimodal turns left without a reply. It also measures model behaviour live, such as deepseek-v4-pro making spurious tool calls with thinking off. Probes whose defect upstream has fixed read the installed version and stop reporting it. Per-release record: HISTORY.md.

License: MIT.

Metadata

Release files for deepseek-harness-cli 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepseek-harness-cli 0.8.0
File Size Uploaded Provenance Actions
deepseek_harness_cli-0.8.0.tar.gz 39.4 kB Without provenance Details for deepseek_harness_cli-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deepseek-harness-cli 0.8.0
File Interpreter ABI Platform Actions
deepseek_harness_cli-0.8.0-py3-none-any.whl Python 3 none any Details for deepseek_harness_cli-0.8.0-py3-none-any.whl

Total release size: 85.4 kB

Release files / deepseek_harness_cli-0.8.0.tar.gz

Download URL deepseek_harness_cli-0.8.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d93bf0098619b8ca4c7981de7ef96b7b2fe312f09e3401632352ddcf74131f7
BLAKE2b-256 checksum
How to use checksums
c0b266148f5b3b6c0e0de3af4c5d8fd7b3e7916c02a478c5358384f093c27de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / deepseek_harness_cli-0.8.0-py3-none-any.whl

Download URL deepseek_harness_cli-0.8.0-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d96d6062fa5496f1fe4c58575237d9a9b57a3ba371d9bf8c45cdc45a16e75b71
BLAKE2b-256 checksum
How to use checksums
fd818fc69f889a31268e2baadd1b2c0fb494de1a9cc33fb53d8dbfffad71ac3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for deepseek-harness-cli 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page