Run Antigravity and Codex inside DSH with SSH workspaces, native approval cards, cross-engine subagents, and read-only /btw threads.
Install
# from npm (prebuilt)
dsh plugin --profile web add @gufch3/dsh-multi-agent
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/gufch3/dsh-multi-agent/releases/latest/download/dsh-multi-agent.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:gufch3/dsh-multi-agent
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
简体中文 | English
Run Antigravity or Codex in native DeepSeek Harness (DSH) conversations, with independent sign-in for local and SSH hosts, cross-engine subagents, and read-only /btw side threads.
Screenshots
| Settings & SSH Hosts | Unified Local / SSH Workspace Picker |
|---|---|
![]() |
![]() |
Native Approval Card, Tool Trajectory & /btw Side Thread |
|---|
![]() |
Features
- Two engines. Connect Antigravity via
agy acpor Codex viacodex app-server. Choose a default model and reasoning effort per engine and control model visibility. - Focused settings. Common settings save as you change them without interrupting active turns. Advanced options are grouped separately, and SSH mounts appear on their host cards. All client UI strings follow DSH's
ctx.localein English and Simplified Chinese. - SSH workspaces. The enhanced workspace directory picker browses local and SSH directories. Import SSH hosts from
~/.ssh/configor enter a target manually. Opening a mounted workspace routes the session to that SSH host. - Native permissions, approvals, and questions. Maps DSH permission presets and Plan Mode to ACP and Codex policies, rendering native DSH approval cards and interactive question prompts with per-session FIFO serialization.
- Native child conversations and automation. Use supported DSH services to delegate work across engines and hosts (
dsh_list_targets,dsh_spawn_subagent,dsh_send_subagent_message). An independent, off-by-default automation switch enables persistent schedules and background monitoring (dsh_schedule,dsh_job) where the profile provides the corresponding services. - Side questions.
/btw <question>opens a native read-only[BTW]child conversation in the right sidebar. Continue asking there without waking the parent. Use the dock to insert or send the result back, or promote the branch to a standalone conversation. You can target a supported engine or host with, for example,/btw @codex <question>. - Main-chat attachments, native change review, and clickable file links. Both engines pass images and file attachments through; local
file://links stream into native DSH path links that open and jump to lines in the right sidebar, SSH remote files open directly in a workspace-fenced right-sidebarReadBlocktab, and edited files appear below replies as a native collapsed changed-files card with hover previews and right-sidebarDiffBlockreview tabs.
Requirements
- Node.js
>=20and DSH>=0.2.2-rc.1 <0.3.0. - At least one installed engine CLI (
agyorcodex) on the machine where it will run. - OpenSSH client on the DSH host for SSH workspaces. The SSH host needs POSIX
shandbase64, pluspython3for remote MCP.
Installation
Use the profile that your DSH Web or Desktop instance actually runs. Choose one installation method.
DSH Plugin Market. In the market provided by the
dsh-marketproject (distributed asdshmarket), search fordsh-multi-agentand install it in the active profile once it is listed. DSH Plugin MarketCLI install (npm or GitHub Release tarball). Replace
<profile>with your active DSH profile, such asweb. DSH CLI referencedsh plugin --profile <profile> add @gufch3/dsh-multi-agentOr install the prebuilt
.tgzdirectly from GitHub Releases (no local build step required):dsh plugin --profile <profile> add https://github.com/gufch3/dsh-multi-agent/releases/download/v0.1.1/gufch3-dsh-multi-agent-0.1.1.tgzLocal development. Run
npm run build:clientandnpm packin your checkout, then install the resulting local tarball withdsh plugin --profile <profile> add /path/to/gufch3-dsh-multi-agent-0.1.1.tgz. This uses the package'scordis.patch.ymland client manifest. For host-only development using an overlay, copy the two entries from that patch into the profile's patch and set the plugin row'snameto your entry URL, for examplefile:///path/to/dsh-multi-agent/src/index.js. Use the packaged bundle to test the browser client as well. DSH bundle documentation
The bundle registers the External Agent preset and enhances the workspace directory picker with SSH browsing. It leaves the profile's default preset and default model in place. The left-sidebar shortcut is off by default and can be enabled under Advanced settings. Host self-restart (enableHostRestart) is off by default.
Quick start
- Open Settings → External Agents. In Engines and models, enable an installed engine and select its model.
- In Hosts, open the local card or add an SSH host. Test the connection and sign in to the engine on that host. Codex offers browser OAuth, device code and API key sign-in.
- In Add workspace, choose a local directory or a directory on a configured SSH host. You can also manage remote mounts on the SSH host card. Open an External Agent conversation in that workspace and select the external model.
Security and permissions
External CLIs run as the local DSH user or the remote SSH user. DSH permission choices map to CLI and protocol controls. Trust the executable and host with the workspace and files you attach. Automation is opt-in. All automation writes (job starts/kills and schedule changes) in Standard mode require server-side approval for both engines, and Plan mode rejects them. See the security policy for SSH tunnel isolation, credential paths, OAuth, restart safeguards, and vulnerability reporting.
Troubleshooting and uninstall
| Symptom | What to check |
|---|---|
| SSH key prompts for a passphrase | Load the key with ssh-agent and ensure the DSH host process can use that agent. Test the same SSH target as the DSH user. |
| CLI missing | Check that agy or codex is available in the execution host's environment. Set the CLI path on the host card if DSH or non-interactive SSH sees a different PATH. |
| Codex browser sign-in cannot bind port 1455 | Free port 1455 on the DSH host, complete sign-in using the callback URL if prompted, or try Codex device-code sign-in. When the browser runs on a different machine, use the callback URL or device code. |
SSH server has AllowTcpForwarding no |
The bridge retries the main conversation without remote MCP. Child-conversation and automation tools exposed through the remote tunnel are unavailable on that connection. |
For a full uninstall:
- Save any data you want to keep. Cancel or remove DSH schedules and jobs created through the plugin, sign out on the relevant host cards, and remove the SSH mounts while the plugin is still available.
- Run
dsh plugin remove @gufch3/dsh-multi-agent(ordsh-multi-agentif installed fromv0.1.0) for the installation profile, or remove it through the market. For an overlay installation, remove the two entries you added fromcordis.patch.yml. - To erase plugin data, remove the configured
dataDir. The default is$DSH_HOME/plugins-data/dsh-multi-agent/or~/.dsh/plugins-data/dsh-multi-agent/whenDSH_HOMEis unset. Check any custom local cache and sign-in directories, including copies left by migration. On each SSH host, remove the plugin-owned engine directories under~/.dsh-agent-bridge/auth/clients/<anonymousClientId>/<hostId>/for this installation, or check any configured or migrated legacy location. Keep other clients' data, regular CLI profiles, and your workspace files.
Development
Run these commands from a Git checkout with Git on PATH.
npm run build:client
npm run check:client
npm test
In the source checkout, see Contributing for the code layout and PR checks. See the changelog for release history.
Links
More in this category
loopx-project/loopx#dsh-loopx-plugin★ 6786
LoopX, a provider-neutral, local-first state kernel and control plane for long-horizon agents: keeps Goal, Todo, gate, evidence, quota, recovery, and handoff state above DeepSeek Harness, while the plugin bootstraps the CLI and skills, admits bounded same-session continuation, and adds a loopback GoalBar for the exact bound loop. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Q00/ouroboros#integrations/dsh-plugin★ 6396
Config-only bundle that mounts Ouroboros through the DSH MCP client, exposing 36 interview, Seed, execution, evaluation, and evolution workflow tools in DSH.
chuspeeism/dashi-taskboard#deepseek-harness★ 3557
Embeds the active installed Codex Taskboard runtime in the DeepSeek Harness sidebar, using its launcher runtime descriptor instead of a fixed port.
NanmiCoder/dsh-agent-teams★ 3164
AgentTeams multi-agent teams.
EthanYoQ/AI-Novel-Writer#dsh-ai-novel-writer★ 3020
Installs a dedicated AI novel-writing preset and workbench: revisioned local project assets, a compact side drawer, and native approval-gated single-file changes.
shanliuling/dsh-image-gen★ 1931
Native conversational image generation for DeepSeek Harness: ask the agent to create an image, and it handles generation and keeps the result directly in the conversation.



Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.