Chat with a local DeepSeek Harness (DSH) agent through the dsh-openai-gateway OpenAI-compatible API. Each call runs in a real agent session with tools and a workspace: attached files are uploaded into the workspace, and files generated during the turn (Excel, CSV, PDF, ...) are returned as downloadable attachments. Supports session-level and user-level sticky agent sessions.
A Dify tool plugin that chats with a local DeepSeek Harness (DSH) agent through the dsh-openai-gateway OpenAI-compatible API. Every call runs inside a real agent session with tools and a workspace — the agent can execute code, browse, and produce deliverable files that come back into the conversation as downloadable attachments.
Simplified Chinese documentation: readme/README_zh_Hans.md
Install and run DeepSeek Harness (dsh 0.2.x), logged in with your DeepSeek account.
Install the gateway plugin into DSH and restart DSH:
The gateway ships with + by default, so the agent can run code and write files out of the box.
Get the gateway address and API key:
Docker note: inside a container is not the host machine. On Linux, add to the Dify containers in , or use the host's LAN IP directly.
DSH must be running (desktop app started) — the gateway is a DSH plugin and lives in its process. Each DSH machine generates its own API key.
Add the DeepSeek Harness Chat tool node in a Chatflow / Workflow / Agent app.
Sessions are managed automatically by the plugin (create / reuse / recreate after gateway eviction).
The tool yields one text message (the reply), zero or more file attachments, and a JSON message with fields for downstream workflow references: , , , , , , , .
Package: (requires the dify-plugin-daemon CLI), or cut a GitHub Release and let GitHub Actions package it.
This project is licensed under the MIT License. See LICENSE file for full license text.
*No outbound calls found
Last checked 11/23/2026 07:00 AM · version 0.0.1