dsh-autonomy
在不离开 DeepSeek Harness 会话的情况下,在聊天(Chat)和智能体(Agent)模式之间切换
AI 分析
核心用途是提供会话内的模式切换,允许用户在直接对话(不使用工具)与智能体执行(允许调用工具)之间灵活过渡。适合需要精细控制工具调用时机的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JinkaiLiu/dsh-autonomy说明文档
阅读完整 README ↗Configuration
Override the installed row in the profile's cordis.patch.yml:
- id: autonomy
config:
defaultMode: agent
chatGuidance: >-
You are in Chat mode. Answer directly in text. Do not use tools or take actions.
Ask the user to switch to Agent mode when the request requires execution.
denyMessage: >-
Chat mode does not allow tool execution. Switch to Agent mode to use tools.
Defaults are defaultMode: agent and the guidance shown above in equivalent wording.