# Oh My DSH [中文](README.zh.md) Agent Teams for DeepSeek Harness. One Lead coordinates durable teammates, peer messages, and a shared compare-and-set task graph while every member works in the same project checkout. Windows users can optionally add native vision desktop perception and approval-gated control. > Early access: DeepSeek Harness currently keeps Agent Teams in private experimental workspace packages. Oh My DSH pins and launches the upstream implementation at commit [`b150a55`](https://github.com/deepseek-ai/deepseek-harness/commit/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e), released as DSH 0.1.1-rc.2, until those packages enter an official release. ## Quick Start Prerequisites: Node.js 22.19 or newer, pnpm, `curl`, `tar`, and `DEEPSEEK_API_KEY`. ```sh pnpm add -g github:secretxuan/oh-my-dsh oh-my-dsh setup ``` The setup command installs the pinned Harness runtime once under `~/.oh-my-dsh`. Then run Oh My DSH from any project directory: ```sh cd my-project oh-my-dsh "Use Agent Teams. Have a researcher inspect the code, an implementer make the change, and a reviewer audit the result." ``` Your current directory remains the team's shared workspace. The Lead creates teammates only when your request explicitly asks for Agent Teams or teammates. Run `oh-my-dsh doctor` to check the local prerequisites, API key, and managed runtime. ### Add Windows computer-use On Windows, install the optional desktop tools into Oh My DSH's managed profile: ```powershell oh-my-dsh setup --computer-use oh-my-dsh doctor oh-my-dsh "Use Agent Teams to inspect this app, operate it with computer-use, and verify the result." ``` This adds [dsh-computer-use-win 0.7.0](https://github.com/secretxuan/dsh-computer-use-win/releases/tag/v0.7.0): 18 tools for screenshots, window and UI Automation discovery, OCR/text-model observation, and mouse/keyboard input. Select `DeepSeek-V4-Flash-Vision-Exp` and `computer_screenshot` sends the real screenshot through DSH's native image pipeline; text-only models keep the structured OCR flow. Input-injecting tools remain approval-gated by default. The option is explicit because Windows input affects the global desktop. ## What You Get - Durable named teammates with fresh or completed-prefix fork context. - Quiet peer messages and waking follow-up tasks with stable delivery ids. - A shared task DAG with dependencies, ownership, revisions, and advisory write scopes. - Lead-only interruption plus status-aware waiting without polling loops. - Crash-aware roster, mailbox, and task recovery in the Lead session log. - The upstream Agent Team policy and ten scoped collaboration tools, unchanged. ## Prompts That Work Well ```text Use Agent Teams. Split this feature into repository research, implementation, and regression review. Keep write scopes disjoint and have the Lead run the final tests before answering. ``` ```text Use three teammates to investigate these independent failures in parallel. Create one shared task per failure, report root causes to the Lead, and do not edit files until the Lead assigns non-overlapping write scopes. ``` ## How It Works Oh My DSH is a distribution layer, not a second Agent Team runtime. [`cordis.patch.yml`](cordis.patch.yml) enables the upstream experimental Team domain and scoped tools, replaces conflicting legacy continuation controls, selects the standard `spawn` and `fork` providers, and disables the RPC type graph that headless tasks do not consume. The launcher preserves your project as `cwd` while executing the pinned Harness source runtime. The upstream implementation remains the source of truth. Once DeepSeek Harness publishes Agent Teams, this project will remove the managed source checkout and become a normal `dsh plugin --profile add` bundle. ## Safety and Limits - Every teammate shares one checkout. Write scopes coordinate work but do not lock files; Bash, formatters, and generators can still overlap. - The Lead must inspect the final diff and run tests before answering. - The first setup downloads DeepSeek Harness and installs the headless runtime dependency closure. Set `GITHUB_TOKEN` when a network requires authenticated GitHub archive access. - Agent Teams is experimental and its API may change with the pinned upstream commit. - Set `OH_MY_DSH_RUNTIME` to use an existing compatible Harness source tree. Setup installs its headless production dependencies and writes only a managed `.oh-my-dsh` overlay inside it. - Oh My DSH uses an isolated profile and session directory at `~/.oh-my-dsh/home`; set `OH_MY_DSH_HOME` to relocate it. It does not modify an existing `~/.dsh` installation. - `--computer-use` is Windows-only. Elevated applications may reject input from a non-elevated process, and UI Automation coverage depends on the target application's accessibility metadata. ## Project Status The initial release tracks the official experimental implementation rather than the unrelated npm package named `oh-my-dsh`. Issues and field reports are welcome, especially around setup portability, teammate coordination, and useful default workflows. ## License MIT. DeepSeek Harness and its Agent Team implementation are maintained by their upstream authors under the same license.