Back to directory

dsh-data-agent

Curated pickMaintenance: Active

omdsh-dev/dsh-data-agent

Connect DSH to your database for conversational data analysis and actionable business insights.

View on GitHub
$ dsh plugin --profile web add @yejiming/dsh-data-agent

189

stars

15

forks

JavaScript

Language

MIT

License

2026-08-11

Created

2026-08-31

Last push

A native DSH plugin that turns DeepSeek Harness into a conversational data analyst: connect a DB, ask in natural language, get SQL-backed conclusions and HTML reports. Supports 9+ engines with read-only protection. Install via `dsh plugin --profile web add @yejiming/dsh-data-agent`.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-08-23

License

MIT

01What can it help you accomplish?

  • Analyze data by conversation: connect a database and ask business questions in plain language

    DSH views the schema, writes and runs SQL against real data, iterates, and returns clear data conclusions and business insights; analysis reports save as offline HTML

    Analysts and engineers who run DeepSeek Harness and want to query MySQL/PostgreSQL/SQLite/Oracle/ClickHouse/SQL Server etc. by talking to the agent

02How to install into DeepSeek Harness

Prerequisites

  • DeepSeek Harness with the `dsh plugin` command
  • Database client installed for your engine (mysql/psql/sqlcmd etc.) and network access to the target DB

Installation steps

  1. 01

    Run `dsh plugin --profile web add @yejiming/dsh-data-agent` (or from GitHub: `dsh plugin --profile web add github:omdsh-dev/dsh-data-agent`)

    $ dsh plugin --profile web add @yejiming/dsh-data-agent

  2. 02

    Start the web UI with `dsh --profile web`, create a session, pick the '数据模式' (Data Mode) preset, then connect a database in the workbench

    $ dsh --profile web

Verify the integration

Not specified by the author

Rollback

  • Uninstall with `dsh plugin --profile web remove @yejiming/dsh-data-agent` (also `remove` for desktop and dsh-tui profiles); clear the preset with `rm -rf "$DSH_HOME/.agent-presets/data-agent"` if needed.

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH plugin that connects databases and lets DeepSeek Harness analyze data by conversation (auto SQL, business insights, HTML reports, read-only protection).

  • Conversational data analysis

    Natural-language business questionsDSH writes and executes SQL, iterates on real results, returns conclusions and business insights

    When not in read-only mode the agent can run update/management statements at your request
  • AI data governance (catalog)

    Database schema, columns, comments, relationsAI-proposed business meanings per table/column, confirmed by the user; later queries read them via catalog-search/catalog-get/metric-get

    Catalog persists only desensitized source summaries, metadata, versions and human curated meanings — no passwords, credentials, query results or sample rows
  • HTML analysis reports (render-analysis)

    Analysis resultsVersioned offline HTML reports (metric/line/bar/pie/scatter/table) saved under analysis-reports/ in the working dir

    Reports are atomically saved to the session working dir; the full dashboard is self-contained (inline data/styles/SVG) and opens offline
  • 18-tool data protocol

    Same 8-tool protocol across web/desktop/dsh-tui/headlesssql-query, sql-write, sql-cmd, render-analysis, catalog-search, catalog-get, metric-get plus str_replace_editor for files

    Host/community tools like describe_image and ssh_* do not enter Data Mode

04Who is it for? When not to use it?

Good for

  • Analysts and engineers who run DeepSeek Harness and want to query MySQL/PostgreSQL/SQLite/Oracle/ClickHouse/SQL Server etc. by talking to the agent

Not for

  • The plugin and its ecosystem adapters run in-process inside DSH — not an OS, process or realm sandbox. Ecosystem permission only negotiates admission; it does not replace DB account privileges, network isolation or host security policy.
  • For production databases, use a read-only DB account and enable read-only mode in the connection form; otherwise the agent can run update/management statements.
  • Each engine needs its own CLI client (mysql/psql/sqlcmd/clickhouse HTTP); SQL Server needs Microsoft ODBC sqlcmd 18.x and only supports SQL Login (no Windows/Entra/DSN/named instances).

05Compatibility, maintenance and safety notes

  • The plugin and its ecosystem adapters run in-process inside DSH — not an OS, process or realm sandbox. Ecosystem permission only negotiates admission; it does not replace DB account privileges, network isolation or host security policy.
  • For production databases, use a read-only DB account and enable read-only mode in the connection form; otherwise the agent can run update/management statements.
  • Each engine needs its own CLI client (mysql/psql/sqlcmd/clickhouse HTTP); SQL Server needs Microsoft ODBC sqlcmd 18.x and only supports SQL Login (no Windows/Entra/DSN/named instances).
2026-08-112026-08-20v0.1.1

MIT · 由 facts pack 抓取(README 分支 main)

06Frequently asked questions

How do I install dsh-data-agent?

Run `dsh plugin --profile web add @yejiming/dsh-data-agent` (or `github:omdsh-dev/dsh-data-agent`), then `dsh --profile web`. In a new session pick the 'Data Mode' preset and connect a database in the workbench.

Which databases are supported?

MySQL, PostgreSQL, SQLite, Oracle, Hive, Impala, ClickHouse, Apache Doris and SQL Server. Each needs its own CLI client; SQL Server requires Microsoft ODBC sqlcmd 18.x and SQL Login only.

Is my database safe?

The plugin runs in-process inside DSH (not a sandbox), so for production use a read-only DB account and enable read-only mode in the connection form. Otherwise the agent can run update statements at your request.

What do the analysis reports look like?

The render-analysis tool writes versioned, self-contained HTML reports (metric/line/bar/pie/scatter/table) to analysis-reports/ in the session working dir; they open offline and persist with the session log.

08Data and sources

  • Author-claimedgithub.comb34f01f6ccaa…

    dsh-data-agent是DeepSeek Harness(DSH)的数据分析插件。

  • Author-claimedgithub.comb34f01f6ccaa…

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

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-23. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.