Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

DeepSeek dsh-superagent: Router-Worker Isolation for Parallel Coding Sessions

Описание и применение

Дизайн dsh-superagent разделяет диспетчер и рабочие процессы, обеспечивая устойчивость к зависаниям и ускоряя выполнение задач.

Задача

Long-running coding agents risk freezing when a worker task blocks the dispatcher, leading to unresponsive user interfaces and lost work.

Результат

The router-worker split reduces task completion time (p95 15.7 min vs 29.5 min) and prevents worker failures from blocking the dispatcher.

Рабочий процесс

  • Clone the prototype repository
  • Install dependencies with pnpm
  • Build the bundle
  • Configure the agent to read SETUP.md and answer permission questions
  • Run the router session to listen for @mentions
  • Router receives events and authorizes work
  • Router dispatches a Ticket to an isolated worker
  • Worker performs coding, tests, and opens a PR
  • Worker reports back via SQLite outbox
  • Router forwards replies to the original channel

Доказательства

A long-running Router session receives events, decides what is authorized work, and dispatches Tickets. Each Ticket gets its own isolated Worker session and working directory.

Источник

Under a noisy message stream the router-worker design finished tasks with a p95 of 15.7 minutes versus 29.5 minutes for a single-session baseline.

Источник

The Router runs a restricted preset (dsh-superagent-router). Its tool set is deliberately small; shell commands and job waits are capped at a few seconds.

Источник

  • Дата записи: 2026-11-02T09:44:03.173Z