Source dive: DeepSeek Harness quietly relies on Pi libraries, with a 46-char system prompt
solyarisoftware · x · 2026-09-26
A developer digging through DeepSeek Harness (DSH) source code found it directly depends on earendil-works' pi-ai and pi-tui libraries (the pi-tui dependency was removed in August), plus a dedicated dsh-llm-pi-ai package. pi-ai handles provider catalogs, OpenAI/Anthropic protocol adaptation, reasoning and compatibility params, and context overflow handling — the vendor-facing layer is effectively Pi's work for now, likely to be replaced later.
Comparing system prompts on the same DeepSeek-V41-Flash/High setup: DSH minimal mode is just 46 characters — literally "You are a helpful software engineer assistant." — while Pi's default 4-tool prompt is 2,741 chars (1,784 even with all tools off), roughly 59.6x larger. Conclusion: Harness's minimal mode really does run close to a bare model (tool JSON schemas not counted).
More from coding & agent
- Sydney Codex Community Buildathon set for Nov 14 with Cerebras-backed ultrafast compute track — paw_lean · 2026-11-11
- shadcn's improve hits 10k stars: let top models plan, cheap models execute code fixes — shadcn · 2026-11-11
- OpenAI open-sources Codex Security CLI and SDK for AI-driven vulnerability scanning and fixing — openai · 2026-11-11
- Claude Opus 5.5 runs an architecture search and finds AttnRes-Canon, a new top Transformer design — SonglinYang4 · 2026-11-11
- 5 research habits worth knowing: read papers backwards, reproduce first, wire coding agents via MCP — cneuralnetwork · 2026-11-11
- 'Adam can now do CAE': AI agent showcase in engineering simulation draws buzz — burhop · 2026-11-11