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 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.

License: MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepseek_harness_cli-0.3.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepseek_harness_cli-0.3.1-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file deepseek_harness_cli-0.3.1.tar.gz.

File metadata

  • Download URL: deepseek_harness_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for deepseek_harness_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0a60efdc7abb0c7a5979f0732f7a53de4a1660cb33098a72074f5c279de67606
MD5 2e0427524f82a38495a6f4902821fdf0
BLAKE2b-256 edb4d0642c0b2617fb17dce3400d1a8a9c4303bc8d34984fd4025ee09c74c480

See more details on using hashes here.

File details

Details for the file deepseek_harness_cli-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deepseek_harness_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3e17f02a3868c02c216632284474d97d8d4263333a6c1cd7df7a3a5dbc5fc4
MD5 8d609e3c3dd771afca92a8c3a08a222e
BLAKE2b-256 e27d7d7f6b3a2cf82d807380742a970f3ec800c1fed6a6dcf9ab5e9f587a09f8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.2

2 files

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page