Agent Scheduler
Every message gets its own fork; every area gets its own worker.
Agent Scheduler is an open source plugin for DeepSeek Harness (dsh). It turns the main conversation into a dispatcher: a fresh fork routes each message, and long-lived workers do the work in their own sessions. Every answer comes back to the lead, the only agent you read.
- A fork per message: With scheduling on, the lead is never blocked; each message gets its own fork.
- Long-lived workers: One per repository or module, with its own session, directory and model.
- Workers are sessions: Each worker is a top-level session in the router's workspace, with a persistent queue in front of it; you can open it and talk to it directly.
- Agents page: Live state, unread dots, and a lead inbox you can reorder.
- Deck: A left-sidebar panel of pinned sessions and the ones with running workers or something waiting.
- Worker teams: With Agent Teams on, each worker can lead a team of its own.
- 8 languages: The interface follows dsh's language setting.
Workers share one write area. A worker's session is created in the router's workspace, and DSH's
workspace-writesandbox lets it write anywhere under that workspace (its session's working directory), not only in the worktree it was given. Workers are not isolated from one another: two workers on the same workspace can edit each other's files. Give each worker its own worktree, and keep repositories you do not want touched outside the router's workspace.
Getting Started
Prerequisites
- DeepSeek Harness
>=0.2.1-rc.5 <0.3.0
Plugin
In dsh, open Plugins → Install a third-party plugin and enter dsh-agent-scheduler. Or from the terminal:
dsh plugin add dsh-agent-scheduler@next
Restart dsh. The 「调度」 (Scheduling) chip appears in the composer.
Use
Click 「调度」 or run /schedule on. Open the Agents page from the button beside it. /schedule off hands messages back to the lead; workers keep running.
Main commands: /schedule, /agents, /worker model, /role. See the guide for everything else: tools, how it works, configuration, recovery and limitations.
Development
npm install
npm run build
npm run typecheck
npm test
npm run contract # against the pinned dsh
npm run contract:next # against npm's next dsh
License
MIT.
No comments yet. Be the first to write one.