Skip to main content

Command-line companion to deepseek-harness. `dsh chat`, `dsh probe`, `dsh validate`, `dsh doctor`.

Project description

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.

Project details


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.2.0.tar.gz (5.5 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.2.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for deepseek_harness_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d61a7de5d4317d2e1e541c79724f977a2dd772e7eebd99acebcb71abee1e03d6
MD5 e34f0d587d492e4388622aea80299501
BLAKE2b-256 9b710957be7990ce36fea039d8fcb4c109a6cba596b140d894c126ed5dea4df8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepseek_harness_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1e2ce125f1f1968d354ce9cdd73bc7d349e4b2a0f33e568df48b6644d69919a
MD5 28b995492c58c93a09c9fad18cf782a3
BLAKE2b-256 0b3ad046b34bbf1fe69718b855517c4d515ec5757e3b66e6e8edb24f91034cee

See more details on using hashes here.

Supported by

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