DeepSeek 開源內部使用的 dsh-superagent 智能體
DeepSeek open-sourced dsh-superagent, the agent it uses
DeepSeek 開源了其內部使用的 dsh-superagent 智能體;它持續在線、自主接手工作,完成後提交 PR 並回報結果。任務准入由程式碼閘門先檢查允許名單及是否被 @,再由模型根據周邊上下文判斷;開始工作前,智能體會發布工作徽章,列明規則版本、可修改範圍及批准者。系統限制並行任務數,同時保留一個名額處理人員訊息,讓人可以調整執行中任務的方向或查詢狀態。
Posted on Nov 1 Originally published at haoyi.im
DeepSeek open-sourced dsh-superagent, the agent it uses internally. It stays online, picks up work on its own, files a PR when it's done, and reports back, the way a coworker would. DeepSeek's own design goal is to take as little human attention as possible and hand back as much value as possible. The real shift is going from an agent that sends you messages to one that does the work.
Three designs worth copying.
Deciding whether to accept a task is split into two layers: a gatekeeper in plain code (is this person on the allowlist, did they @ me), and an advisor, which is the model reading the surrounding context. Cheap checks stay cheap, and the judgment call is the only thing that costs a model call.
After the agent takes a job it posts a work badge, stating which version of the rules it is acting on, how far it is allowed to make changes, and who approved it. All of that before it touches code.
Concurrency gets a hard cap, but one slot is always held open for messages from people. This is the part I like most. Even with the queue full, you can still redirect a running task or ask for a status update. Without that reserved slot, work piles up and you find out an hour later that it did the wrong thing at full speed.
來源:DEV Community · dev.to
