hn.today

DeepSeek Harness: From Your Files to the Model

akashtandon.in5 points0 comments
Screenshot of DeepSeek Harness: From Your Files to the Model

DeepSeek Harness (dsh) is an open-source, MIT-licensed program that wraps a language model with session history, tools, file access, and permission controls. The model cannot inspect a project directly: it requests actions such as grep, glob, read, write, or bash, and dsh runs them within the configured sandbox. It does not build a file index or embeddings. Instead, a separate instruction plugin loads AGENTS.md files automatically, including relevant folder instructions as files are accessed. Every model-visible item is recorded in a session log, enabling replay and resume but also preserving file contents and command output. New sessions permit changes within the workspace and ask before actions beyond that scope; settings can make the harness read-only or allow broader access.

Where requests go depends on the model adapter. With Fireworks, Baseten, or Modal, requests travel directly from the user’s machine to that provider; DeepSeek is not otherwise in the path. However, DeepSeek web search, account sign-in, and feedback can still contact DeepSeek. The DeepSeek-specific adapter also adds a copy of the session log to requests by default, unlike the adapters for other providers, so switching hosts both changes data routing and reduces what is sent. The agent loop, project files, shell, and session history all run locally; only inference requires a remote endpoint, which can be self-hosted. These conclusions were checked against dsh version 0.2.2-rc.5 using a test project and a local fake model server, measuring requests without contacting providers.

Read on akashtandon.in0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

FreeHand

FreeHand

FreeHand is an AI agent harness that gives frontier models a shell, editable memory, and control over tools and timeouts instead of prescribing workflows. Across 11 tests, it beat first-party harnesses for three frontier model families, averaging 5.1 points higher at 49% lower cost, while preset harnesses still performed better with weaker models. (microsoft.github.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.