---
type: "raw_signal"
id: "companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228"
slug: "companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228"
title: "Companion deepseek-recipe (MIT) handles Chat Completions, Messages, and Responses protocol parity with the official DeepSeek API."
description: "DeepSeek publishes deepseek-recipe for API-format conversion DeepSeek’s public deepseek-recipe repository describes an MIT-licensed collection of Rust libraries and Python bindings for converting requests and responses across Chat Completions Messages and Responses formats. It converts those"
retrieval_nugget: "DeepSeek publishes deepseek-recipe for API-format conversion DeepSeek’s public deepseek-recipe repository describes an MIT-licensed collection of Rust libraries and Python bindings for converting requests and responses across Chat Completions Messages and Responses formats. It converts those"
observed_at: "2026-10-20"
record_date: "2026-10-20"
date_kind: "observed_at"
why_it_matters: "Source: https://github.com/deepseek-ai/deepseek-recipe"
novelty: "notable"
verification_level: "source-linked"
signal_type: "release"
source_platform: "github.com"
topics: []
entities: ["DeepSeek","deepseek-recipe","DeepSeek V4","DeepSeek V4.1"]
related_patterns: []
source_url: "https://github.com/deepseek-ai/deepseek-recipe"
source_urls: ["https://github.com/deepseek-ai/deepseek-recipe"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "signal:companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/signals/companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228/","markdown":"https://newruntime.com/signals/companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228.md","json":"https://newruntime.com/signals/companion-deepseek-recipe-mit-handles-chat-completions-messages-4a9228.json"}
---

# Companion deepseek-recipe (MIT) handles Chat Completions, Messages, and Responses protocol parity with the official DeepSeek API.

## Retrieval answer

DeepSeek publishes deepseek-recipe for API-format conversion DeepSeek’s public deepseek-recipe repository describes an MIT-licensed collection of Rust libraries and Python bindings for converting requests and responses across Chat Completions Messages and Responses formats. It converts those

## DeepSeek publishes deepseek-recipe for API-format conversion

DeepSeek’s public `deepseek-recipe` repository describes an MIT-licensed collection of Rust libraries and Python bindings for converting requests and responses across Chat Completions, Messages, and Responses formats. It converts those requests into a Conversation representation, renders prompts for DeepSeek models, and can encode conversations as token IDs when used with a tokenizer.

The documented scope includes streaming and complete responses, tool calls, images, reasoning content, and structured-output formats. The repository says callers must provide model inference, tool execution, and HTTP transport; the project is a set of components rather than a complete serving API. The README also documents model-specific behavior, including image handling differences between DeepSeek V4 and V4.1.

Source: https://github.com/deepseek-ai/deepseek-recipe

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- collection: [Raw Signals](https://newruntime.com/signals.json): Open every source-linked raw signal.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
