AI Agent Hub
Back to plugins
🧰

dsh-peer-relay

Web Tools Updated 2026.08.24

Run the following command in DeepSeek Harness:

dsh plugin install klpzj/dsh-peer-relay

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

Run dsh plugin install klpzj/dsh-peer-relay in DeepSeek Harness to install this plugin; the source repository is at https://github.com/klpzj/dsh-peer-relay , and it will be loaded on the next Host startup.

About this plugin

When running multiple top-level Agent sessions under DSH Host, there is no native channel between them—an agent cannot hand off a task to another or receive an async result. dsh-peer-relay closes that gap. It lives entirely inside Host (no Client or Web UI required) and turns peer-to-peer task dispatch into a simple function call via five lightweight tools.

The core mechanism is duplex delivery. If the target session is idle, the task queues as a next-turn wake-up for a fresh conversation turn; if the target is actively running, the message injects via next-step straight into the current turn. Both sides receive each other messages in real time without waiting for a turn boundary. All collaboration is scoped to the same working directory (cwd), so peer_create always drops the new session under the primary session path, preventing cross-project misdelivery.

It is aimed at developers who run multiple top-level sessions for the same project in DSH Host and want agents to collaborate directly without manual relay. The plugin carries no ACL, storage adapter, or interactive protocol surface—just a minimal, purpose-built peer channel inside Host.

Use Cases

  • Dispatch subtasks between multiple top-level agent sessions on the same project
  • Inject real-time instructions into a running peer session without waiting for a turn boundary
  • Dynamically create new same-cwd peer sessions to offload parallel workloads

Best For

  • Developers running multiple top-level sessions in parallel under DSH Host
  • Users building automated workflows that require direct agent-to-agent hand-off
  • Minimalist users who want lightweight in-Host communication without extra Client or storage layers