Introduction¶
When conversing with models in DeepSeek Harness (DSH), complex estimations, solution comparisons, and process explanations often remain as long blocks of Markdown or static tables. Readers have to mentally adjust parameters, cross-reference columns, or copy Mermaid code blocks elsewhere for preview. Approaches like ChatGPT Intelligent UI and Claude Artifacts embed controls, charts, and diagrams directly into the conversation during streaming output. dsh-intelligent-ui (npm package name @rakutek/dsh-intelligent-ui) is a DSH plugin maintained by rakutek with a similar goal: the model writes component tags and reactive expressions within Markdown, and the client renders them in real-time within the browser as interactive mini-apps and themed Mermaid diagrams.
Below is an overview of its positioning, capabilities, installation methods, and typical use cases. For facts, please refer to the GitHub Repository README; the community directory page can be found at skillhub.cn (an independent site with no official affiliation with DeepSeek / High-Flyer).
What is this¶
Intelligent UI for DeepSeek Harness injects brief instructions into the system prompt to guide the model to output “Standard Markdown + JSX-style component tags + reactive state” in appropriate scenarios, rather than just plain text walls. The plugin parses and renders in-place within the conversation interface of both the Desktop and Web UI; simple Q&A can still remain as plain text. The project is licensed under MIT, and the current npm version is 0.1.0.
Core Features¶
Real-time Interactive Mini-apps¶
Controls such as sliders, number inputs, dropdowns, and switches can instantly recalculate formulas, statistics, and charts within the browser. The README states that no further backend requests are required.
Built-in Component Library¶
Documented capabilities include: layout (box, row, grid, etc.), typography and data display (stat, table, badge, etc.), charts (chart types bar/line/pie/area), progress bars, segmented controls, and an overall description of over 20 built-in elements.
Themed Mermaid¶
Fenced mermaid code blocks are converted into diagrams featuring rounded nodes, coordinated light/dark themes, and hierarchical typography (the README screenshots include an example of an autonomous canary deployment flowchart).
Bidirectional Interaction¶
Action buttons can send the current configuration back to the agent as the next round of user input via GenUI.issueNewTurn(...), allowing conversation to continue with a single click.
Triggers and Security¶
The model tends to generate UI only in scenarios involving calculation, comparison, or workflows; expressions are executed in a sandboxed AST interpreter without using eval, without DOM access, and without network permissions; form state remains in the local browser until the user clicks an action button to send the values back to the model.
Installation and Activation¶
Environment requirements: DeepSeek Harness 0.2.x or higher (the README compatibility table specifies v0.2.0-rc.1 or newer; Desktop or dsh web). Node engine requirement is >=22.13.0 (see package.json).
GUI (Recommended)¶
- Open DeepSeek Harness.
- Go to Plugins → Add plugin.
- Enter either the package name or repository URL:
@rakutek/dsh-intelligent-ui
or
https://github.com/rakutek/dsh-intelligent-ui
- Click Install; the README states that it can be used immediately after installation without a restart.
Command Line¶
Please quit the Desktop application before using it with Desktop; use the web profile for the Web side:
# Desktop profile:
dsh plugin --profile desktop add @rakutek/dsh-intelligent-ui
# Web server profile:
dsh plugin --profile web add @rakutek/dsh-intelligent-ui
To temporarily disable the interactive UI and revert to plain text responses: simply turn off the plugin in Plugins.
Typical Usage¶
After installation, simply ask questions in natural language; example directions provided in the README include:
- Simulation and Estimation: e.g., requesting a SaaS pricing simulator where team seats and monthly/annual payments can be adjusted to see the impact of discounts.
- Product Comparison: e.g., comparing battery life, weight, price, and development experience of multiple laptops with interactive filters.
- Process and Architecture Diagrams: e.g., drawing a flowchart of a GitHub PR moving through CI, Review, to deployment.
- Finance and Planning: e.g., a mortgage calculator (loan amount, interest rate slider, amortization chart).
Example output format on the model side (excerpted from README): use {@body ...} to declare useState, then combine <box>, <slider>, <stat>, <button> and other tags to build the interface; for the full list of components and syntax tables, see the Supported Components & Syntax section in the repository.
Use Cases and Notes¶
Who is it for: Agent users who need to perform on-the-spot calculations, comparison tables, and visualized workflows within the DSH workflow, and want to minimize copy-pasting and switching to secondary tools; categorized as a “Workflow” plugin in the community.
Compatibility and Models: The README claims testing on Claude 3.5/3.7 Sonnet, GPT-4o / GPT-6.1, DeepSeek-V3 / R1, etc.; actual performance still depends on whether the current session model writes component Markdown according to the plugin prompts.
Security and Permissions: The plugin runs with the permissions of the current DSH process; it is recommended to read the source code and the MIT license before installation. External links are handled via DSH’s native secure URL handling; external images only load HTTPS URLs specified by the model.
Conclusion¶
dsh-intelligent-ui brings “Generative UI” into the DSH conversation stream: streaming responses can now feature clickable and adjustable interfaces and themed Mermaid diagrams, and hand over state to the next round via GenUI.issueNewTurn upon user confirmation. Directory and details:
- Community Directory: https://www.skillhub.cn/plugins/rakutek/dsh-intelligent-ui
- GitHub: https://github.com/rakutek/dsh-intelligent-ui