42ch-dev/dsh-rust-sdk
42ch-dev★ 2Rust最后同步: 2026-08-16
Rust SDK for DSH(Deepseek Harness)
README 摘要
deepseek-harness-sdk English 中文 See the CHANGELOG for the release history. Rust client SDK for the DeepSeek Harness (DSH) runtime: it spawns the official runtime as a subprocess and speaks its stdio JSON-RPC 2.0 protocol. One crate, two layers: the high-level Python-parity API ( DeepSeekHarness / Session::run / RunResult ) and the low-level protocol client ( HarnessClient ). The crate is the design twin of the official Python SDK, sharing the same runtime peer, wire protocol, and layering; the Python SDK surface is the alignment baseline for every public type and error. The TypeScript SDK's divergences are documented (notably RunResult , see below). This crate is a pure client . It contains no agent, LLM, or persistence logic — the spawned runtime process does all of that. The runtime binary is bring-your-own: this crate never downloads, bundles, or ships one. Installation or in Cargo.toml : Pre-release note: 0.1.0-alpha.1 is a pre-release version — request it explicitly (with @0.1.0-alpha.1 or the full version string). A bare cargo add deepseek-harness-sdk will not resolve to a pre-release. The API may still change before 0.1.0 . Two prerequisites before the first run: a DSH runti…
在 GitHub 查看完整 README →