Rust libraries with Python bindings that turn Messages, Chat Completions, and Responses API requests into the exact prompt format DeepSeek V4 and V4.1 expect, and parse the models' thinking, tool-call, and JSON output back out, including apply_patch, tool namespaces, and V4.1's image preprocessing. It is the serving-side counterpart to DeepSeek Harness: the contract any third-party host needs to reproduce the official endpoint. Released with V4.1-Flash on September 10, 2026 under MIT; 275 stars on day one.

Library

Language Rust
License MIT
infrastructureagentsopen-source

Related