happyren/dsh-agent-messaging ↗★ 5
dsh-agent-messaging
Cross-session agent-to-agent messaging for DeepSeek Harness: claims, verification and a decision ledger, so two agent sessions don't repeat, contradict or deadlock each other.
AI Analysis
适合多智能体协同任务,防止多个会话间出现重复、矛盾或死锁。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:happyren/dsh-agent-messagingREADME
Read the full README ↗Configuration
Override in your profile's cordis.patch.yml:
- id: agent-messaging
config:
inbound: accept
spoolOffline: true
| Key | Default | Meaning |
|---|---|---|
inbound | accept | accept, hold (await operator release), or refuse |
peerAuthority | inform | act lets authorised peers be acted on directly |
trustedPeers | [] | Peers authorised by peerAuthority: act, matched exactly |
capabilities | all on | Which optional tool groups register |
groups | {} | Named groups and their topology (mesh or star) |
maxFanout | 8 | Recipients one group send may reach |
stateRoot | $DSH_HOME/agent-messaging | Presence records, claims, cards, ledger, spool |
includeSubagents | false | Make subagent children addressable |
spoolOffline | true | Hold messages for sessions that are not running |
spoolMaxAgeMs | 86400000 | Discard a spooled message older than this |
spoolMaxPerSession | 20 | Spool depth per recipient |
rateMaxPerWindow | 10 | Messages one sender may deliver per window |
rateWindowMs | 60000 | Rate window |
duplicateWindowMs | 30000 | Identical bodies dropped inside this window |
maxHeld | 100 | Held messages retained per session |
deliveryTimeoutMs | 5000 | Wait for a peer host's receipt |
metrics | true | Record the cost/catch counts npm run report reads |
a2aEndpoints | {} | External Agent2Agent peers |
To stop receiving entirely, set inbound: refuse. To stop sending, deny the tools in
your permission rules.