perrylink/dsh-local-ai
Ollama local model access: ollama_list/pull/remove/show and health check, register Ollama routing with the official LlmAdapter and divert traffic according to model_route rules (offline priority/long text/privacy), and automatically fall back to the cloud if failure occurs; /ollama command one-click overview; npm dsh-local-ai has been released
Gives DSH agent tools access to locally running Ollama models. ollama_list reports installed models, running models and disk usage; ollama_show returns parameter size, quantization and context length; ollama_pull and ollama_remove manage the local library. A separate health check probes two independent signals — process liveness via the ollama CLI and API responsiveness via /api/version — and Ollama routes can be registered into DSH's model selection from the profile patch.
Install
dsh plugin --profile web add dsh-local-ainpm package dsh-local-ai 0.2.9 (registry-verified 2026-09-10; registry repository field -> github.com/PerryLink/dsh-local-ai). The README also documents a git channel (dsh plugin --profile web add "github:PerryLink/dsh-local-ai#main") and a tarball channel. After installing, configure the Ollama routing row in the profile patch (cordis.yml) and restart; verify with dsh --profile web --dump-config | grep -A2 'id: dsh-local-ai'. If pnpm reports ERR_PNPM_IGNORED_BUILDS, add allowBuilds: { esbuild: true } to pnpm-workspace.yaml.
Compatibility
DeepSeek Harness dsh-v0.1.5-rc.1 (README adapted 2026-09-09). Requires a local Ollama install. The dsh plugin command requires pnpm on PATH.
Details
- Repo: perrylink/dsh-local-ai
- Category: Plugin Markets & Managers
- Stars: 5
- Version: npm dsh-local-ai 0.2.9 (registry-verified 2026-09-10)
- Last push: 2026-09-03
- First seen: 2026-08-17
FAQ
- How do I install dsh-local-ai?
- Run: dsh plugin --profile web add dsh-local-ai (npm channel), configure the Ollama routing row in your profile patch and restart. A git channel (github:PerryLink/dsh-local-ai#main) and a tarball channel are also documented.
- What does dsh-local-ai add to DSH?
- Ollama model access from the agent: ollama_list, ollama_show, ollama_pull and ollama_remove tools, plus a health check that reports process liveness and API responsiveness separately.
- Do I need Ollama installed?
- Yes — the plugin drives a local Ollama server. The health check tells you whether the process is alive and whether its API is answering.
Alternatives
imsai-sh/awesome-deepseek-harness-plugins · LX2000WASD/dsh-web-plugin-manager · 2BingLing/dsh-market