AI Agent Hub
Back to plugins
🖥️

zen-useragent

Client Updated 2026.08.23

Run the following command in DeepSeek Harness:

dsh plugin install jiujiezongheti/zen-useragent

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

To install this plugin in DeepSeek Harness, use the command dsh plugin install jiujiezongheti/zen-useragent, with the source code available at https://github.com/jiujiezongheti/zen-useragent.

About this plugin

When using DeepSeek Harness (DSH) to access OpenCode ZEN free models, users frequently encounter a 429 FreeUsageLimitError that throttles their requests. This happens because DSH's default request headers identify the client as deepseek-harness, while OpenCode ZEN enforces strict rate limiting based on client type, allowing only opencode clients. This plugin addresses the issue by automatically patching DSH's request header handling, enabling user-configured headers like User-Agent to override the default attribution information. As a result, API requests are correctly identified as opencode clients, bypassing the rate limit. The plugin's core capability lies in its idempotent and self-healing mechanism: it disables the native entry point and inserts a wrapper module, ensuring the patch remains effective even after DSH upgrades without disrupting normal behavior for providers without custom headers. It is ideal for developers and users who rely on OpenCode ZEN free models for testing and development, especially those facing persistent 429 errors needing a quick and stable fix. With a focus on reliability, the plugin uses atomic writes and triple validation, requiring only simple configuration and a restart after installation for a seamless experience.

Use Cases

  • Encountering 429 FreeUsageLimitError when using DeepSeek Harness to call OpenCode ZEN free models.
  • Needing to configure custom User-Agent headers in DSH to mimic the opencode client.
  • Automatically patching request header filtering issues to avoid manual code modifications.

Best For

  • Users who develop with DeepSeek Harness.
  • Developers relying on OpenCode ZEN free models for testing.
  • Programmers encountering 429 rate limit errors and needing quick fixes.