How to use dsh-agent-loop
The concrete agent loop plugin for the DeepSeek Harness
This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.
This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.
Quick start
The concrete agent loop plugin for the DeepSeek Harness
— source: plugins.ai_summary
Install & verify
dsh plugin --profile web add npm:@deepseek-ai/dsh-agent-loop
Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.
— source: plugins.install
Key points
- Compaction: pressure on
agent/pre-step; canonical overflow repair onagent/request-error - Model-request recovery:
dsh-llm-retryrecords and waits exact-provider normal or unbounded backoff onagent/request-error, emits non-surfacellm/retrystatus, then returns a retry action - Persistence: eager write-behind from
session/event;session/flushis an explicit observation barrier - UI:
session/event(assistant token stream, boundaries, tool activity) +agent/*control events (agent/status,agent/created/agent/disposed)
— source: plugin_wiki.readme_en (fallback readme_raw)
Pitfalls
Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.
— source: general rule