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.0.tar.gz (15.1 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.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepseek_harness_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 15.1 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.0.tar.gz
Algorithm Hash digest
SHA256 92a5f20936647a12d953d4d587a34fd99c7578a558fa55690c597004fe157611
MD5 29a91dbbba05031f92a18332f9c10d19
BLAKE2b-256 d004d14db9d5e9eadf54b7528e6495fb0f2de37c8202cd56aeb2b1cb0fdb19f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepseek_harness_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a96ab4cbe924692125b005272a4814935a33b414d7a62b8e2c6b80220aae6328
MD5 a4d6a3a199cbd419c7e25c265a21e79c
BLAKE2b-256 fd92a7319e3634a2d781ac10e0b966c46595ca9013b4bad8ebf4346c5bd54cf6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

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