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.

Metadata

Release files for deepseek-harness-cli 0.7.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.7.0
File Size Uploaded
deepseek_harness_cli-0.7.0.tar.gz 30.7 kB Details

Built distribution (wheel)

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

Total release size: 68.0 kB

Release files / deepseek_harness_cli-0.7.0.tar.gz

Download URL deepseek_harness_cli-0.7.0.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dd82484614bb9a0bd9060ed366f0434a7729b5badf7b2263de888f66ac22980a
BLAKE2b-256 checksum
How to use checksums
87dc7303c81e0ff3c91fbe36e71da569b80482a685d2e4c33cfb0aa75d841771
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.7.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

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