GengDaPeng/dsh-agent-message

dsh-agent-message lets Agent sessions running in the same DSH process 'message' each other like chat: list_peer_agents lists every sendable independent session (non-archived, excluding actual subagents while retaining ordinary forks) with id, title, working directory, and runtime status; send_agent_message delivers to a session id — ordinary messages enter a new independent turn, and offline targets are resumed automatically through Harness's public API and kept loaded until teardown; check_delivery queries receipts (pending/claimed/discarded/unknown) with the target's runtime status. It also reuses Harness's structured @ session reference (stable Session ID + bounded read-only snapshot marked untrusted) and renders messages as left-aligned Agent message cards with 'From Session · <name>:' provenance. Typical use: orchestrator dispatching to a developer agent, relay collaboration, supervisor watching workers.

Agent Capabilities ★ 5 updated 2026-09-15 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add dsh-agent-message

npm dsh-agent-message 1.6.0 verified 2026-09-01 (README EN edition; repo GengDaPeng/dsh-agent-message). Cross-session Agent communication plugin: different Agent sessions in the same process send and receive messages to each other.

Compatibility

DSH profile (single process hosting multiple Agent sessions); MIT.

Details

Recent updates

list_peer_agents / send_agent_message / check_delivery tools; auto-resume of offline targets; @ session references; Agent message cards.

FAQ

Can I message an offline session?
Yes — if the target is offline (not loaded since the last process restart), the plugin resumes it through Harness's public API, delivers the message, and keeps the handle loaded until teardown.
What modes does send_agent_message support?
Explicit modes are followup (default, new independent turn), inject, and steer.
How do I check delivery?
check_delivery returns receipts (pending/claimed/discarded/unknown); explicit message ids remain queryable after restart.

Alternatives

Noelune/dsh-agent-relay · Jesse-njx/dsh-crosstalk · dpskh/dsh-a2a

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins