dsh-semble: A DSH plugin for Semantic Code Retrieval in DeepSeek Harness
codeintegrity/dsh-semble
Brings Semble's semantic code index to DeepSeek Harness as two native MCP tools, search and find_related, so a DSH plugin agent locates code by behaviour instead of guessing file names.
dsh-semble plugs Semble's code index into DeepSeek Harness, surfacing it in every session as two native MCP tools. It targets the case where you know how code behaves but cannot recall the file name: instead of remembering an exact string, you describe a behaviour and get ranked locations with snippets. After installation the tools sit next to read and grep, the agent decides when the index is worth a call, and /semble exposes reporting subcommands.
How to Install
dsh plugin --profile web add dsh-semble- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- codeintegrity
- Distribution
- Plugin
dsh-semble Key Features
dsh-semble Repo Summary
What Does It Do?
Semble is a DSH plugin for DeepSeek Harness that brings Semble's code index into every session as two native MCP tools. It solves the problem of knowing how code behaves but not what the file is called: grep needs a string you already remember, while this needs a sentence describing behaviour, such as where the retry policy is applied when a request fails. After installation the tools sit next to read and grep, and the agent decides when the index is worth a call.
Core Features
- Semantic search:
mcp__semble__searchtakes a sentence describing the code or where it lives and returns rankedfile:linehits with snippets. - Related lookup:
mcp__semble__find_relatedtakes one known location and returns its neighbours — other implementations, callers, and tests. - Multi-repo and content filters: the
repoargument accepts an absolute path, anhttps://git URL, or a list of repositories, whilecontentselects code, docs, config, or all. - Tunable results:
top_kdefaults to 5 and can be raised to 10–20 when the first pass misses;max_snippet_linesdefaults to 10 and0returns locations only. - Index reuse: the first query against a repository builds its index (slow, one-time) and later queries reuse it; a score near 0.0x usually means nothing relevant is there.
- Slash command:
/sembleexposes the two reporting subcommands MCP does not cover,/semble savingsand/semble file-types.
How to Use This Plugin?
Once enabled in DSH, ask the agent where a piece of logic lives; it calls search for candidate locations, opens them with read, and answers from the source instead of guessing file names. The repo argument is required and accepts a repository path or git URL; raise top_k to widen the search, and set content to all to index docs and config too. The plugin requires uv on PATH because uvx launches Semble, and the first start downloads the package and embedding model (about 1–2 minutes, one-time, offline afterwards); restart DSH once after installing. The semble-mcp row in Settings lets you adjust args and env, for example HF_ENDPOINT on restricted networks or SEMBLE_CACHE_LOCATION to move the index. The plugin is maintained by CodeIntegrity under the MIT license.
How to Troubleshoot This Plugin?
After installation the settings row may read as pending restart; restarting DSH once resolves it. If the first query seems to hang, the package and embedding model are still downloading, so let it finish. When a restricted network blocks the model download, configure a mirror endpoint in the environment settings and retry.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: codeintegrity/dsh-semble. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
