ynymhrb/long-horizon-runtime

long-horizon-runtime

Durable long-horizon task runtime for DeepSeek Harness — plan, confirm, track, and resume AI work across sessions and interruptions.

Uncategorizedagent-runtimeai-agentsautonomous-agents

Long Horizon Runtime · DSH Long-Task Plugin

中文 | English

Turn a long piece of work into one task you can confirm, track, and resume.

If Long Horizon Runtime has saved one of your agent runs — please ⭐ this repo. It helps people who keep losing long AI work find a way to finish it.

What it solves · Quick start · How to use it

Long Horizon Runtime is a long-task plugin for DeepSeek Harness. It is for research, development, debugging, and other work that needs several steps and more than one conversation: see a plan first, confirm before execution, follow progress as it happens, and resume after an interruption.

What it solves

A normal chatWith Long Horizon Runtime
Complex workThe process lives in chat historyReview a step-by-step task plan, then execute it after confirmation
ProgressScroll through the conversationSee steps, dependencies, and current status in Task Area
A change of directionRestate the request and risk losing contextChange the goal, keep completed work, and get a new plan for what remains
A paused or interrupted chatRecover progress manuallyReturn to the same task and continue its unfinished steps

A completed task in Task Area: steps, dependencies, and status at a glance

Quick start

You need DeepSeek Harness installed and able to run dsh web. Installing from GitHub also requires Node.js ^22.19.0 or >=24.0.0 and pnpm.

Install from GitHub

dsh plugin --profile web add github:ynymhrb/long-horizon-runtime#master
dsh web

Install a local checkout

Run this from the repository root:

dsh plugin --profile web add .
dsh web

How to use it

Do not switch modes. Describe what you want to accomplish in a normal chat:

Research the factors that affect RAG recall; split the work into verifiable subtasks, show me the plan first, and wait for confirmation before execution.

The plugin turns this into a long task:

  1. It presents a step-by-step plan.
  2. Work starts after your confirmation.
  3. You follow every step and result in Task Area.
  4. Pause, change the goal, or continue from another conversation while keeping the same task.

You can also say:

Pause lt_abc123.
Change lt_abc123 to “research Chinese technical materials only.”
Continue lt_abc123 and tell me which steps are unfinished.