Plugin directory / Developer / dsh-plugin-lmstudio
dsh-plugin-lmstudio
Verified · install-tested on dsh starlightzfy
What it does
A plugin in the Developer category for DeepSeek Harness.
Works — verified, early-stage project
A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-plugin-lmstudio
Use a model served by LM Studio as a chat model inside the
DeepSeek Harness (DSH) web GUI.
LM Studio exposes an OpenAI-compatible endpoint (http://127.0.0.1:1234/v1 by
default). This plugin seeds DSH's built-in llm-pi-ai adapter with that route,
so the model picker shows your local model — no cloud API quota consumed.
中文说明 · MIT
Requirements
- DSH CLI + pnpm (see the DSH docs)
- LM Studio with Developer → Start Server running (default port
1234) - At least one model loaded in LM Studio
Install
dsh plugin --profile web add dsh-plugin-lmstudio
The package declares dsh.bundle, so dsh plugin automatically adds it to the
profile's bundle layers. Then restart the web app (dsh web) and refresh
http://127.0.0.1:3080.
Configuration
The plugin ships a default provider route under the lm-studio provider key:
| Field | Default | Meaning |
|---|---|---|
baseURL |
http://127.0.0.1:1234/v1 |
LM Studio OpenAI-compatible endpoint |
api |
openai-completions |
Wire protocol |
models |
one example model | Replace with what you actually load |
The bundled route is a base layer: anything you write under thellm-pi-ai: section of $DSH_HOME/settings.yaml merges over it per provider,
so your own models and endpoints win. No API key is required for a local LM
Studio server; if you enable key auth in LM Studio, add apiKeyEnv or anAuthorization header in your settings layer.
Point it at your actual model
- In LM Studio, load the model you want.
- Find the exact model id:
curl http://127.0.0.1:1234/v1/modelsand read theidfield (usuallyowner/name, e.g.qwen/qwen3.5-9b). - Either edit the route in Settings → Models (the "ask the endpoint"
button discovers models for you), or override it in$DSH_HOME/settings.yaml:
llm-pi-ai:
providers:
lm-studio:
models:
- id: qwen/qwen3.5-9b
name: Qwen3.5 9B (LM Studio)
contextWindow: 8192
maxTokens: 4096
settings.yaml hot-reloads — no dsh web restart needed.
Usage
Refresh the page, open the model picker above the composer, and choose your
LM Studio model (it appears under "LM Studio (本地)"). Traffic goes to127.0.0.1:1234 only; your DeepSeek API balance is untouched.
Tip: for plain conversation without any agent tools, create a "chat" agent
preset (an emptyagent.cordis.yml) and pick it on the new-session screen —
that applies to every model, local or cloud.
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-plugin-lmstudio for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:starlightzfy/dsh-plugin-lmstudio Headless (CLI) profile:
dsh plugin --profile headless add github:starlightzfy/dsh-plugin-lmstudio Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.