Introduction¶
When running multi-agent or collaborative workflows in DeepSeek Harness (DSH), a common practice is for each agent to maintain its own context and communicate via temporary files or chat windows. As projects grow, document sharing, inbox-style communication, and task progress reporting become disconnected from the “model and account currently in use within the session.” If one separately launches an employee CLI or configures an LLM Provider within this plugin, permission and identity boundaries become harder to control.
Here we introduce dsh-agent-mailbox: a DSH plugin maintained by polaris-smart that bridges existing DSH sessions to the local agent-mailbox v0.8. It uses a project-private session connection file to bind “one employee ↔ one project” and exposes agent-mailbox authorized project_* MCP tools within the session. The plugin does not launch an additional employee CLI, nor does it configure model providers for you; it has no npm dependencies other than the host-provided @deepseek-ai/cordis at runtime, and requires Node >= 22.18 (candidate version 0.8.0, MIT license).
What is this¶
dsh-agent-mailbox is a project-scoped agent-mailbox adapter layer: upon activation, it discovers and registers the backend-authorized project_* MCP tools and their real schemas. The current v0.8 focuses on capabilities related to context, shared memory/resources, inbox and replies, and task progress for assigned tasks. The session file pins one DSH employee to a specific project; reading mail does not automatically mark tasks as accepted or completed, nor do ordinary messages automatically open tasks; the manual acceptance flow remains separated from the tool bridge.
Unlike the older “global mailbox bridge,” 0.8 no longer exposes legacy mailbox_* aliases, identity overrides, or managed task wake-up tools; old configurations like agentId, home, runner, uvxFrom, pythonSrc, etc., will be rejected with a migration prompt, and old global inboxes will not be automatically imported.
Core Features (v0.8)¶
Based on the repository README, verifiable capabilities include:
- Project-level MCP tools: Each plugin instance manages its own connection and lifecycle; startup or discovery failures will fail explicitly, and tools are unregistered and subprocesses closed upon destruction. The plugin itself does not read tokens or databases.
- Collaboration semantics: Joining projects, sharing approved documents, exchanging messages via mailbox, and reporting task progress all occur within the DSH session using that employee’s own model and account.
- Identity and subagents: Subagents report to the parent agent; do not share private session files with subagents. The application-side automatic notification capability is separate from this tool bridge.
- Workbench dependency: The agent-mailbox workbench must remain open; it can be restarted on a different local port. If membership expires or is revoked, you must reconnect and export a new connection file.
Installation and Activation (v0.8 Migration Path)¶
The path given in the official README is: first install agent-mailbox v0.8 locally and open its workbench, then register your DSH employee within agent-mailbox, join a project, and export the project’s private session connection file. Then, install this plugin in your DSH environment and inject configuration via an overlay (paths must be absolute; do not write secrets or bearer tokens into the overlay, repository, or chat):
- insert:
- id: dsh-agent-mailbox
name: dsh-agent-mailbox
config:
sessionFile: /absolute/path/to/private/employee-session.json
executable: /absolute/path/to/agent-mailbox
Notes:
executablepoints to the installed agent-mailbox command/backend, not the DMG container path.- If installed via Python, you can set
executable: /absolute/path/to/pythonand useexecutableArgs: ['-m', 'agent_mailbox']; arguments are passed as an array without shell expansion.
Follow the profile/patch process of your host environment to start a new DSH session using this overlay; the documentation does not claim hot-update configuration for conversations already in progress. The npm publication channel is named dsh-agent-mailbox (maintainer polaris-smart); please do not confuse it with the unrelated unscoped npm package agent-mailbox.
Typical Usage (Reproducible Flow)¶
- Install agent-mailbox v0.8, open the workbench, and complete employee registration and project joining.
- Export the private employee-session.json (or what the README calls the private session connection file).
- Fill in
sessionFileandexecutable(and optionalexecutableArgs) in the DSH plugin configuration. - After starting a new DSH session, call the registered
project_*tools in the conversation: view shared resources, handle inbox and replies, update assigned task progress, etc. (Specific tool names depend on the schema discovered at activation).
Use Cases and Cautions¶
Suitable for: Teams already using DSH for long-session development who want to align with agent-mailbox project members, shared documents, and task progress; those needing a lightweight bridge with “zero additional runtime npm dependencies, Node 22+”.
Important Notes:
- The plugin runs with the current dsh process permissions; you should review the GitHub source code and the MIT license before installing and enabling it (the agent-mailbox application itself is Apache-2.0, including NoFox attribution; installing the adapter does not change the respective licenses).
- The materials do not provide a unified one-line command like
dsh plugin add github:...; follow the README’s overlay + new session flow. - The community directory page (skillhub.cn plugin entry) is an independent site and has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem philosophy is “everything is a plugin,” and the facts in this article are based on the repository README and package metadata.
Conclusion¶
dsh-agent-mailbox connects the running session in DSH to the project-private connection of agent-mailbox, using MCP tools to complete mailbox and task progress collaboration without configuring another set of Providers or an employee CLI within this plugin. To view categorization and introduction, you can open the directory page polaris-smart/dsh-agent-mailbox; for implementation details and migration instructions, see the GitHub repository.