DeepSeek open-sourced a prototype for an autonomous coding agent!
dsh-superagent is a proactive coding agent for a single GitHub repository, packaged as a bundle for DeepSeek Harness.
Instead of treating every request as a separate coding session, it turns incoming work into persistent tasks that the agent can continue working on over time.
Each task gets its own agent session, working directory, branch state, execution history, and pending inputs, which allows multiple tasks to run independently without mixing their context.
There is also an authorization layer before any work starts.
A request has to come from an allowed source or match an explicit rule before the agent can act on it. Once authorized, the task is assigned to an executor that can inspect the repository, make changes, and eventually return the result through the original conversation or open a PR.
The persistent state is especially useful when a task spans multiple interactions.
If the agent needs clarification, it can pause while keeping the same task and session alive. Follow-up messages are then routed back to that existing context instead of starting another coding session from scratch.
The same applies to failures and restarts. The system keeps enough task state to recover ongoing work rather than losing everything when the service restarts.
DeepSeek also separates reactive and proactive behavior.
The agent doesn’t continuously invent work for itself. It acts when someone explicitly asks it to, or when a written rule gives it permission to act proactively.
So the autonomy here comes from more than just giving a coding model access to tools.
It comes from persistent task state, isolated agent sessions, authorization rules, concurrent execution, recovery, and GitHub-native outputs working together around the model.
I’ve shared the GitHub repo in the comments!
显示更多