2025Bigeye/dsh-nanobot-subagent-link ↗★ 0
dsh-tool-nanobot
将本地nanobot AI智能体作为子智能体运行的桥接工具 适合需要在DSH中通过nanobot_run工具调用本地nanobot执行任务的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2025Bigeye/dsh-nanobot-subagent-link說明文件
閱讀完整 README ↗Usage
DSH calls nanobot_run automatically. Two invocation modes:
oneshot(default) — runsnanobot agent -mas an independent process per task (stateless, safest for unrelated tasks).server— calls a persistentnanobot serveOpenAI-compatible endpoint (/v1/chat/completions); faster, and auto-started when not already running.
Configuration (persisted in DSH Settings)
Namespace nanobot under Settings:
| Field | Default | Description |
|---|---|---|
mode | oneshot | Default invocation mode: oneshot / server |
oneshotCommand | nanobot agent -m "{prompt}" --no-markdown | oneshot command template; must contain exactly one {prompt} placeholder |
serverBaseUrl | http://localhost:8900 | server-mode address (loopback only) |
serverStartCommand | nanobot serve | command used to start the server |
serverModel | (empty) | model to send; empty omits it so the server uses its own configured model |