DEV Community

Yi
Yi

Posted on Originally published at haoyi.im

DeepSeek open-sourced dsh-superagent, the agent it uses

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.

image

https://haoyi.im/en/feed/20261101101951628/

Top comments (0)