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.4.0.tar.gz (21.0 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.4.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepseek_harness_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 21.0 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.4.0.tar.gz
Algorithm Hash digest
SHA256 c7a162becfb4017738c6d50f06eb2234aea77b453963ca7d6fbaf02783f8dca3
MD5 851f25135abe9896ae22dae12b81b12c
BLAKE2b-256 82c0af37610d8965464c529db37867cd00d8e33d4e382937d51cde237e9a0865

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepseek_harness_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f892dc97e3f38bf358acea101b3c351dc141cc141f5105a63ef4be83df3f78b7
MD5 3e4530878806d142940e976a3661591b
BLAKE2b-256 332d58ced10e41e1be9de66786d82dc6fd652580c42a621f52771465d62d93e1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.2

2 files

0.3.1

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