AI Agent Hub
Back to plugins
🤖

dsh-llm-kimi

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install phillarmonic/dsh-llm-kimi

Paste the following prompt into your AI chat to install this plugin:

Install the plugin in DeepSeek Harness by running dsh plugin install phillarmonic/dsh-llm-kimi (source: https://github.com/phillarmonic/dsh-llm-kimi), then add a kimi-code provider entry to cordis.yml and supply your Kimi Code API Key to start streaming completions.

About this plugin

DeepSeek Harness exposes a unified LlmAdapter seam for every upstream provider, yet teams wanting to call Moonshots Kimi K3 family had to hand-roll the integration. dsh-llm-kimi ships a ready-made direct-fetch adapter that streams Kimi Code chat completions in their OpenAI-compatible dialect and maps every token into standard Harness StreamChunks, so orchestration layers stay provider-agnostic.

Under the hood the adapter resolves base URL, model catalog, and credential on every request, meaning a rotated key or a new endpoint takes effect on the next call with zero restarts. Image input is first-class: the adapter inlines base64 data URLs through the Harness attachment service and enforces pixel and byte budgets before any network I/O. Reasoning effort is exposed as low / high / max for the K3 family and locked on for the coding models. During multi-turn tool sessions the adapter replays the Harness reasoning block into the reasoning_content field Kimi expects, keeping conversations valid. Production safeguards include a five-attempt retry policy, a 300-second stream idle timeout, and a 131K default output cap that yields to per-model limits.

It is aimed at engineering teams whose pipeline already plugs into the Harness llm seam and who need Kimi K3 or Kimi for Coding with multimodal image support, multi-step tool orchestration, and hot-reloadable configuration. Adding a provider entry to cordis.yml is the only integration step required.

Use Cases

  • Streaming Kimi K3 completions inside DeepSeek Harness for code generation and completion
  • Replaying reasoning blocks in multi-turn tool sessions to keep Kimi API calls valid
  • Inlining base64 images and enforcing pixel/byte budgets in multimodal inference pipelines

Best For

  • Engineering teams already plugged into the DeepSeek Harness LLM seam
  • Orchestration developers routing across DeepSeek and Kimi multi-model backends
  • Platform teams building multimodal AI pipelines with image-input support