DeepSeek Harness was just released with MIT license. The current 0.1.0 version is a developer preview, and may still have many rough edges. Feedback is welcome! DeepSeek Harness
Flaq AI Agent Guide
Practical Guide for Using DeepSeek Harness with Flaq AI's OpenAI-Compatible API
Run the open-source DeepSeek Harness Web UI with Flaq AI's OpenAI-compatible endpoint, then connect a supported DeepSeek v4 model for repository analysis and coding workflows. DeepSeek Harness follows an “everything is a plugin” architecture: model adapters, tools, the agent loop, session storage, permissions, sandboxing, telemetry, and the Web UI can be composed or replaced through plugins and configuration.
Install
Run DeepSeek Harness
DeepSeek Harness requires Node.js 22.19+ or a 24+ release. Start it from the project directory you want to use as the default filesystem location; the official npm command launches the Web UI at http://127.0.0.1:3080 by default.
Run the DeepSeek Harness Web UI
Use the official npm package to start the Web UI. Keep this terminal running while you use DeepSeek Harness.
The first run downloads the current @deepseek-ai/dsh package and initializes the Web UI profile.
Official npm command
Repository: Review the latest installation instructions, releases, compatibility notes, and source code in the official DeepSeek Harness GitHub repository.
Configure
Connect DeepSeek Harness to Flaq AI
Open Settings → Models in DeepSeek Harness, add Flaq AI as a custom provider, and enter your Flaq API key. The Provider ID is permanent after saving, so use flaq unless you intentionally need a different route name. After saving the provider, choose a workspace before starting a session.
Recommended DeepSeek v4 Pro model for repository analysis, coding tasks, and workflows that benefit from stronger reasoning.
Faster and more affordable DeepSeek v4 Flash model for routine code questions, summaries, and lightweight repository tasks.
In Settings → Models, select Add provider → Add a custom provider. Enter the values below and add the selected model ID manually instead of using Fetch available models. Save the provider, then select that model for a new session. DeepSeek Harness treats manually entered models as text-only unless additional modalities are declared.
- Use the exact Flaq base URL and
openai-completionsprotocol. - Replace the placeholder with your Flaq API key, and keep the model ID exactly as shown.
Flaq AI custom provider
- Use the exact Flaq base URL and
openai-completionsprotocol. - Replace the placeholder with your Flaq API key, and keep the model ID exactly as shown.
Flaq AI custom provider
Verify
Verify Flaq in DeepSeek Harness
Open the Web UI, choose the project directory where you started DeepSeek Harness, select the configured Flaq model, and create a new session. The composer stays unavailable until a workspace is selected.
- DeepSeek Harness prints the active URL in the terminal.
- The default local address is shown below.
Open the Web UI
- DeepSeek Harness prints the active URL in the terminal.
- The default local address is shown below.
Open the Web UI
- Send a read-only task first.
- A normal answer that reflects the selected workspace confirms that DeepSeek Harness can reach the Flaq endpoint and use the configured model.
Test repository access
- Send a read-only task first.
- A normal answer that reflects the selected workspace confirms that DeepSeek Harness can reach the Flaq endpoint and use the configured model.
Test repository access
Plugin Example
Install a DeepSeek Harness Plugin
Use DSH OpenPencil as a concrete example of DeepSeek Harness's “everything is a plugin” architecture. Complete the Flaq provider configuration and verification above, stop the running Web UI, then add the plugin to the web profile and restart the same DeepSeek Harness version. DSH OpenPencil adds tools for creating, previewing, inspecting, and editing .op design documents inside a conversation.
Install DSH OpenPencil
Add the public OpenPencil package to the web profile with the DeepSeek Harness version currently tested by the plugin. Run this command from the same project directory you use for DeepSeek Harness.
Install DSH OpenPencil
Repository: Review the source code, setup requirements, releases, and compatibility notes in the DSH OpenPencil GitHub repository.
Install DSH OpenPencil
Repository: Review the source code, setup requirements, releases, and compatibility notes in the DSH OpenPencil GitHub repository.
Restart the Web UI
Start the tested DeepSeek Harness version again so the web profile loads DSH OpenPencil. Keep this terminal running while you reopen the Web UI.
Restart the Web UI
Restart the Web UI
Test DSH OpenPencil with Flaq AI
Select the configured Flaq model and workspace, start a new session, and send the request below. When the OpenPencil binary is available, the plugin should create an .op document and present an editable preview in the conversation.
Test DSH OpenPencil with Flaq AI
Test DSH OpenPencil with Flaq AI
Open Source
Explore the Official DeepSeek Harness Repository
DeepSeek Harness is an open-source agent harness developed by DeepSeek AI. Visit the official repository to review the source code, follow releases and compatibility changes, read the latest documentation, and report issues during the developer preview.
Open the official DeepSeek Harness repository for source code, setup documentation, development notes, discussions, and project updates.
Open-Source Guide
Explore Flaq AI's Open-Source DeepSeek Harness Guide
Go beyond the initial setup with Flaq AI's independent, community-maintained guide to DeepSeek Harness. Learn how its plugin tree, profiles, bundles, patch layers, replaceable agent loop, model adapters, tools, session services, permission policies, sandboxes, and Web UI extensions support custom agent workflows.
Explore practical architecture notes, a usage handbook, plugin development recipes, multilingual documentation, and reusable agent skills for understanding, extending, and building on DeepSeek Harness.
Troubleshooting
DeepSeek Harness FAQ
DeepSeek Harness Discussions on X (Twitter)
Explore discussions by developers and early participants about DeepSeek Harness (DSH), an open-source agent harness, covering its “Everything is a Plugin” architecture, composable runtime, plugin ecosystem, and hands-on experiences.
DeepSeek Harness 内测结束 有幸认识一群特别有意思的技术大佬 问就是表情包收藏了好几页 很荣幸 OpenPencil 作为第一批插件入驻 DSH 插件名 dsh-openpencil 希望大家支持 🤗 咱们小黑鲸见~ 🐳 “下次还一起组乐队” #deepseek #deepseekharness #dsh #openpencil #harness
有幸一个月前就被 @tianyi 拉进了仓库。当时 DSH 还是一个只实现了 core framework 的毛坯房。过去一个月,基本上每次 pull 代码,都是上千个 commits 的速度在涨。 说一下我对 DSH 的一些理解,不一定对: 1. 首先是怎么理解 DeepSeek Harness 这个东西。我觉得 DSH 既是一个可以直接运行的 Coding
DeepSeek Harness was just released with MIT license. The current 0.1.0 version is a developer preview, and may still have many rough edges. Feedback is welcome! DeepSeek Harness
有幸参与了 DeepSeek Harness 的内测, 现在官方终于将 DSH 开源,也终于可以分享一些自己的看法了~ 一周前第一次拿到源码、把整体架构梳理完时,我最大的感受是:DSH 甚至很难只被称作一个 Agent Harness。 它更像一个 Agent Runtime,甚至已经呈现出某种 Agent OS
