deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English · 简体中文
Describe what you want to build, fix or investigate. Agent Swarm brings a team of collaborating agents into DeepSeek Harness, with shared objectives, visible activity, independent review and a clear path back to your project.
/agent-swarm Fix the duplicate search results. Preserve the API, add regression tests, and independently verify the change.
The primary agent inspects your project, organizes the work and chooses the team and resource budgets. You follow the mission in the sidebar and inspect the result when it is ready.
v0.7.0 · MIT · Local Git projects · Native Harness integration
Get started · See the UI · How it works · 中文介绍
| Your goal | How the team helps |
|---|---|
| Fix a difficult bug | Investigate the cause, implement a repair and have another member check the edge cases. |
| Deliver a feature across several parts of a project | Split independent work, coordinate dependencies and assemble a reviewed result. |
| Understand unfamiliar code | Gather evidence, compare findings and produce an analysis without changing the code when requested. |
You describe the outcome. The primary agent manages the collaboration. There is no required team-size form or token-budget setup before each mission. Members can exchange findings, ask questions, challenge evidence and hand off partial work within the mission's scope.
Existing edits remain part of the baseline, so they are not presented as new swarm output. Detected merge conflicts are reported before applying changes.
The sidebar answers three practical questions: Who is working? What just changed? What needs attention?
The UI follows host state without making model requests to render updates. Operation activity is a liveness signal, not a guarantee that useful work has finished.
Captured on September 15, 2026 with simulated tasks and events. The surrounding page is a local preview shell, not the Harness application. Click an image to enlarge it.
Current plugin components — these screenshots render the actual ActivityPanel with simulated data.
Design previews — the shared avatars and live activity components are integrated into the plugin. The complete simplified layout below remains a renderer prototype.
A long task needs more than a launch button. Agent Swarm keeps assignments, evidence, decisions and recovery state on disk so the team can continue through supported interruption and restart paths.
Repair without losing the task's purpose. Replacement tasks carry the original acceptance criteria, and dependent work follows the replacement. A repaired implementation can unblock integration without rebuilding the whole plan.
Bring decisions back to the primary agent. Rejections, blocked work, provider problems and exhausted limits can generate durable notices. The primary agent can revise the plan, arrange a repair or adjust a budget with a recorded reason. Ordinary recovery decisions do not require you to configure the swarm again.
Keep resource use visible. The primary agent chooses team size, task limits, step and token budgets, recovery allowances and verification timeouts. Usage is tracked across the team, with cache and output breakdowns and the primary conversation's usage shown separately. Resuming does not reset consumption.
Recovery runs within the mission's limits. Notifications remain queued while the primary agent is offline, and a stuck native model call may delay when it can process them. Provider-reported usage and estimates for requests still in flight can also allow a budget overshoot.
The primary agent chooses the direction. The runtime coordinates the work. Harness runs the agents.
flowchart TD
G["Your goal"] --> P["Primary agent · plan, team and budgets"]
P -->|Plan and decisions| R["Swarm runtime · durable coordination"]
R -->|Decision notices| P
R -->|Ready assignments| W["Native workers · parallel collaboration"]
W -->|Submitted artifact and evidence| V["Independent review + host checks"]
V -->|Verdict or repair needed| R
R -->|Accepted deliverable| D["Inspect changes · apply to your project"]
Freedom inside a clear contract. Workers share evidence and propose further work; the runtime checks scope, dependencies and review requirements. Peer messages cannot expand permissions, raise budgets or waive independent review.
Recovery is part of coordination. Durable state links each task to its attempt, artifact and decisions. When an attempt is interrupted, the runtime fences stale writes and uses the supported checkpoint, retry or reassignment path. Cases that need judgment return to the primary agent. Accepted replacements become the prerequisites for downstream work.
Native execution, one visible mission. Harness supplies model execution, sessions, the inbox, tools and sandboxing. The plugin owns mission coordination and verification policy; the sidebar projects mission state and observed activity. Collaboration messages use the native inbox and session log, while coordination records live in SQLite. No Harness core fork is required.
For the implementation contracts and their origins, see design notes.
Agent Swarm currently ships as a source plugin. You need:
^22.19.0 || >=24.0.0, Git, and macOS or Linux. Work happens in local Git repositories.0.1.5-rc.1; 0.1.3-alpha.2 and 0.1.2-rc.1 are also listed in the exact compatibility matrix.git clone https://github.com/TT-Wang/dsh-agent-swarm.git
cd dsh-agent-swarm
export DSH_HARNESS_ROOT="/absolute/path/to/deepseek-harness"
npm run link:dsh
npm run build
node "$DSH_HARNESS_ROOT/apps/cli/lib/bin.js" plugin --profile web add "link:$PWD"
Start Harness from the project you want to work on:
cd /absolute/path/to/your-project
node "$DSH_HARNESS_ROOT/apps/cli/lib/bin.js" --profile web
Open the authenticated launch URL printed by Harness, choose a model in a conversation, and enter /agent-swarm followed by your goal. The command appears in native autocomplete.
On the supported 0.1.5-rc.1 host, Agent Swarm lives in the native right sidebar beside Files. Earlier supported hosts use Better Sidebar when available, or the plugin's dock. The UI supports English, Chinese, light and dark themes.
For bundle installation, upgrades, startup recovery and configuration, see the operations guide.
authorizedWorkspaces; a matched grant is recorded as workspaceGrantRoot. Agents cannot grant themselves a new root through swarm tools. Confinement follows Harness's sandbox; the plugin adds no independent network or credential isolation.Details and residual risks are documented in known limitations. Integration evidence is recorded in validation; scripted-provider tests are not model-quality or speed benchmarks.
| Read more | What you will find |
|---|---|
| Operations guide · 中文指南 | Installation, supported hosts, storage, configuration, recovery and development commands. |
| Design notes | Collaboration contracts, authority boundaries and design traceability. |
| Validation | Completed integration checks and the limits of their evidence. |
| Known limitations | Detailed operating constraints and remaining issues. |
Agent Swarm can be paired with dsh-slice-agent-loop for session context management: Swarm coordinates work across members, while the slice policy manages history within each session. See the integration notes.
Contributions are welcome. Development verification requires the repository checkout; start with the development commands. Live-provider checks are opt-in and may incur API charges.
MIT · License · Third-party notices
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。