ChatGPTClaudeGrok / X / CursorGemini

dsh-data-agent: A DeepSeek Harness Plugin for Conversational Database Analysis

omdsh-dev/dsh-data-agent

Data & KnowledgeVerified
Listed on 2026-11-02
Page last updated 2026-11-19

DSH Data Agent connects DeepSeek Harness to your databases, turning natural-language questions into executed SQL, charts, dashboards and offline reports with actionable business insights.

dsh-data-agent is a data analysis plugin for DeepSeek Harness that turns a database connection into a natural-language conversation. It removes the need to hand-write SQL, decode cryptic column names, or assemble charts and reports manually: the AI inspects schemas, writes and runs queries, drills down through follow-up questions, and produces line, bar, or multi-dimensional dashboards exported as offline HTML reports. Released under the MIT license, it works from both the web console and the terminal, runs queries locally in read-only mode, and keeps credentials scoped to the current session.

How to Install

install
npmdsh plugin --profile web add @yejiming/dsh-data-agent

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Data & Knowledge
Platform
DSH Plugin
Author
omdsh-dev
Distribution
Plugin

dsh-data-agent Key Features

Natural language to executed SQLAuto charts and multi-dim dashboardsOne-click offline HTML reportsAI-generated business glossaryRead-only mode protects production data
Listed on dsh-plugin.org

dsh-data-agent Repo Summary

What Does It Do?

DSH Data Agent is a DSH plugin for DeepSeek Harness that turns a database connection into a conversational analysis workflow. It solves the problem of writing SQL by hand, guessing what cryptic table and column names mean, and stitching charts and reports together manually, letting the AI inspect schemas, run queries, and drill down through follow-up questions. Maintained by omdsh-dev under the MIT license, it runs locally in read-only mode and works from both the web console and the terminal.

Core Features

  • Conversational analysis: ask in plain business language and the AI interprets intent, explores tables, writes and executes SQL, then states its conclusions.
  • Automatic charts and dashboards: produces line, bar, pie, and scatter charts or multi-dimensional dashboards, and exports standalone offline HTML reports into the analysis-reports/ directory.
  • AI-assisted data governance: scans schemas and generates plain-language business definitions for tables and fields, with manual review and metric definitions.
  • Broad data source support: covers MySQL, PostgreSQL, SQLite, Oracle, and SQL Server, plus analytical warehouses such as ClickHouse, Doris, Hive, and Impala.
  • Read-only safety: a read-only account and read-only mode block write, update, and delete statements, and credentials are used only within the current session.
  • Dual experience: configure and browse charts in the web workbench, or switch into data mode and connect from the terminal.

How to Use This Plugin?

After enabling it in DSH, start a new session and pick the data mode, then open the connection settings from the workbench or the database icon above the input box, fill in the connection details, and test the connection. Once connected, ask a business question such as comparing channel conversion rates over the last 30 days; the AI runs the query and returns charts with conclusions, and you can keep asking follow-ups like breaking results down by province or switching chart types. Terminal users switch to the data mode, connect the database, and start asking. If startup reports a missing persona prefix, back up the preset file, set prefix to the same prompt as the original text, and restart.

How to Troubleshoot This Plugin?

  • Startup reports $.prefix missing required value: the existing preset lacks the persona prefix field required by newer DSH versions; back up the preset file, set prefix to the same prompt as the original text, and restart.
  • Preset not applied or the mode is unavailable: confirm preset installation was not disabled and that the host can read the preset directory; customized presets are not overwritten automatically and must be aligned with the new fields by hand.
  • Connection fails: use the test connection in the workbench to verify the address and account, confirm the target database is reachable from the local machine, and check for permission restrictions beyond read-only mode.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: omdsh-dev/dsh-data-agent. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ