跪拜 Guibai
← All articles
Frontend · AI Coding · DeepSeek

DeepSeek Harness After a Week: 8 Pitfalls and a Quick-Reference Checklist

By kyriewen ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Open-source agent coding frameworks promise control and cost savings, but the real cost shifts to setup labor and task-design discipline. Developers evaluating DSH need to budget for environment wrangling and learn to decompose work into small, constrained chunks — otherwise the tool produces plausible-looking output that breaks the codebase.

Summary

DeepSeek Harness, the open-source agent coding framework that pulled 95,000 GitHub stars in two days, ships with a steep on-ramp. After a week of daily use, the same problems keep surfacing: Node version mismatches block installation, first-launch initialization looks like a hang, and misconfigured model endpoints burn tokens on expensive models doing trivial work. The framework itself is not the bottleneck; how tasks are fed into it is. Dumping an entire legacy project with a vague prompt produces correct-sounding nonsense or cascading breakage, while tightly scoped, constraint-heavy instructions yield usable output. The plugin ecosystem is growing fast but uneven, and installing too many plugins makes agent behavior unpredictable. The biggest trap is expecting a free Claude Code replacement. DSH occupies a different niche: a controllable, extensible, self-hostable foundation for teams that need to own their toolchain, not a drop-in substitute for polished closed-source tools.

Takeaways
Node version mismatches cause most installation failures; check the official runtime requirements before installing dependencies.
First launch can take several minutes of silent initialization — it is not frozen, and force-killing it restarts the process.
Connecting an expensive model for every task burns tokens fast; tier tasks by complexity and use lightweight models for scaffolding, formatting, and repetitive changes.
Model endpoint configuration is brittle: a misplaced API key or an extra slash in the base URL produces opaque errors. Always run a minimal smoke test after configuring a new model.
Feeding an entire multi-thousand-line project with a vague prompt like 'help me refactor' produces useless generalities or breaks unrelated modules.
Effective prompts scope work to a single directory, specify exactly what to extract or change, and explicitly list what must not be modified.
The plugin ecosystem is uneven; filter candidates by recent update frequency, author responsiveness in issues, and direct relevance to your own stack rather than installing 'all-in-one' plugins.
Too many plugins create interference — each one may participate in every task, making outputs unpredictable. Add plugins one at a time.
DSH is not a free Claude Code replacement. It is an open-source foundation for teams that need control, extensibility, and private deployment, not a polished out-of-the-box experience.
Conclusions

The gap between DSH and Claude Code is not just about model quality — it is about how much task-structuring labor the tool offloads onto the user. DSH demands far more precise scoping and constraint-setting to produce equivalent output.

The 'everything is a plugin' architecture is a double-edged sword: it makes the framework extensible but shifts quality control and compatibility testing onto the end user, which is precisely the burden that polished commercial tools absorb.

Token cost is not a fixed attribute of the tool but a function of how the user routes tasks. The same framework can be cheap or expensive depending entirely on whether the user bothers to tier their model selection.

The most common failure mode — dumping a whole project with a vague prompt — is not a tool limitation but a category error: agent coding frameworks are not autonomous architects; they are amplifiers of well-specified instructions.

Concepts & terms
Agent coding framework
A development tool where an AI agent can autonomously execute multi-step coding tasks — reading files, writing code, running commands — guided by plugins and user-defined constraints, rather than responding to single prompts.
Smoke test (in AI tooling context)
A minimal end-to-end verification task — such as asking the agent to read and summarize a file — used to confirm that model endpoint configuration, API keys, and base URLs are all correctly wired before running real work.
Task decomposition
The practice of breaking a large coding request into small, tightly scoped sub-tasks with explicit constraints on what files and directories to touch and what to leave unchanged, which directly determines output quality in agent-based tools.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗