AI Agent Hub
Back to plugins
🧰

dsh-llm-proxy

Web Tools Updated 2026.08.23

Run the following command in DeepSeek Harness:

dsh plugin install Ye-Yu-Mo/dsh-llm-proxy

Paste the following prompt into your AI chat to install this plugin:

Install the plugin in DeepSeek Harness by running the command dsh plugin install Ye-Yu-Mo/dsh-llm-proxy from the GitHub repository at https://github.com/Ye-Yu-Mo/dsh-llm-proxy.

About this plugin

When using DeepSeek Harness (dsh) to send LLM requests, developers often encounter a frustrating issue: dsh relies on node's undici, which by default does not read proxy settings from environment variables like HTTP_PROXY. This means if your LLM endpoint requires an HTTP proxy for access, dsh will attempt a direct connection, leading to timeouts or connection failures.

The dsh-llm-proxy plugin addresses this pain point by globally hijacking the fetch proxy routing within the dsh process. Using undici's setGlobalDispatcher and EnvHttpProxyAgent, it ensures all LLM requests automatically route through your specified proxy address. Key capabilities include: configurable proxy settings with hot-swapping (changes take effect instantly without restart), reversibility (the plugin restores the baseline dispatcher upon deactivation, leaving no process-level residue), and observability (APIs to check the current proxy mode and test connectivity).

This plugin is ideal for dsh users operating in corporate networks, firewalled environments, or anywhere HTTP proxies are necessary to access external services. Whether you're a regular dsh user or a system administrator, it simplifies proxy configuration, ensuring LLM requests reliably traverse proxy channels, enhancing both stability and debugging convenience.

Use Cases

  • Configure proxy to access LLM endpoints in corporate networks
  • Hot-swap proxy settings during debugging without restart
  • Ensure LLM requests reliably pass through firewalls

Best For

  • Developers using DeepSeek Harness
  • System administrators managing network configurations
  • dsh users working in restricted environments