dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
English 中文

Writes code, produces documents, and drives the desktop — with Mini Apps, a Rust runtime, and a self-hostable device-sync server.
⬇ Download for macOS · Windows · Linux · Verify downloads
Website · Quick start · Security · Discussions · Contributing

| Feature | What it does |
|---|---|
| Agentic Mini Apps | A task gets its own interface — chart, board, form, panel — with a conversation bound to that interface's live state |
| Self-hosted multi-device control | Login, cross-device session sync, and controlling one device from another run through a relay you deploy. Zero-knowledge; no vendor cloud in the path |
| Coding | Plan, edit, test, and commit inside real Git repositories. Agentic, Plan, Debug, Deep Review, long-horizon tasks |
| Office work | Research, writing, presentations, meeting notes, reports |
| Desktop execution | Browser, terminal, desktop applications, the filesystem, and remote workspaces |
| Four tiers of customization | Custom Agents → MCP / Skills / Hooks → Mini Apps → source-level changes |
| Performance | 98.67% average KV cache hit rate; flashgrep searches Chromium-scale trees ~36x faster |
| Cross-platform and model-agnostic | Windows, macOS, and Linux. You choose what it runs on |
Agentic Mini Apps. Most agents push every task through the same chat box. BitFun builds the task its own interface instead — a chart, a board, a form, a panel — and binds a conversation to that interface's live state. You ask about what is on screen rather than re-describing it. Community builds already range from market dashboards to domain-specific tools.

Browse the public Mini Apps gallery →
Self-hosted multi-device control. Account login, cross-device session and settings sync, and controlling one signed-in device from another all run through a relay you deploy. Nothing is brokered by a vendor's cloud — the distinction that decides whether this is allowed inside a company network at all. The relay is zero-knowledge: clients derive keys locally, and the server only ever holds Argon2id hashes and AES-GCM-wrapped material.
A runtime you can reshape. Four continuous tiers, from a single Markdown file to forking the runtime: custom Agents → MCP / Skills / Codex-compatible Hooks → Mini Apps → source-level changes. You extend BitFun using BitFun.
KV cache that actually hits. Agent cost is dominated not by generated tokens but by context re-sent every turn, and a single timestamp or reordered tool list invalidates the cache from that byte onward. Prompt assembly is byte-stable across turns: 98.67% average cache hit rate over a SWE-Bench-Pro run.
flashgrep. An agent re-searches the same repository dozens to hundreds of times per task, and cold traversal on every tool call can cost more than inference itself. A resident cross-turn index cuts search time by up to 94.6% on Chromium-scale trees — roughly 36x on average.
Download a build — grab the latest installer from Releases, install it, configure your model, and you are ready to go.
Or run from source:
pnpm install
pnpm run desktop:dev
Prerequisites: Node.js 22.12+ (LTS recommended), pnpm 10.15.0 via Corepack, the Rust toolchain, and the Tauri prerequisites. More detail in CONTRIBUTING.md.
Two kinds of complex work: shipping code in real repositories, and turning source material into office deliverables. When a task needs the browser, desktop apps, the terminal, or a remote environment, BitFun can enter the real workspace.
| Scenario | Delivery goal | Typical capabilities |
|---|---|---|
| Coding | Move from a real repository to a mergeable result. | Agentic, Plan, Debug, testing, Git, Deep Review, long-horizon tasks, and benchmarks. |
| Office Work | Move from source material to useful written and visual deliverables. | Research, presentations, summarization, writing, meeting notes, and reports. |
Shared capabilities
The data below evaluates BitFun's core Agent capabilities, all measured with Deepseek-V4-Pro.
[!NOTE] These are BitFun's initial evaluation results, with each case run once. Benchmarks fluctuate with task sampling, model versions, runtime environment, and single-run variance, so treat these as an initial sanity signal that the Agent is already reasonably capable — not as a fixed ranking claim or a final ceiling. Full benchmark details will follow.
1. Initial completion snapshot — The chart below compares the current single-run results on SWE-Bench-Pro (complex software engineering) and SWE-Bench-Verified (human-verified GitHub issue fixes).
Benchmark references: SWE-Bench-Pro / SWE-Bench-Verified
2. Token economy — Agent economy needs to be evaluated across end-to-end token consumption, execution time, and KV Cache reuse. From the same SWE-Bench-Pro round, BitFun's average KV Cache hit rate was 98.67%. The follow-up report will add broader cost and latency metrics.

3. Context retrieval at scale — Agent experience also depends on how quickly it retrieves context in very large projects. On tens-of-millions-line repositories such as Chromium, BitFun uses flashgrep to cut search time by up to 94.6%, averaging a 36.1x speedup.

BitFun's extension paths progress continuously from light to deep customization:
| Tier | Path | Best for |
|---|---|---|
| L1 | Custom Agent | Defining roles, flows, constraints, and tool bundles. |
| L2 | MCP / Skills / Hooks | Connecting external tools and professional capabilities, and running your own commands at Agent lifecycle points — fully Codex-hook compatible, so existing hook scripts work as-is. |
| L3 | Mini App | Generating dedicated interfaces, forms, panels, or visualizations for tasks. |
| L4 | Source-level customization | Changing tools, adapters, UI, Runtime, or product shape. |
You can use BitFun's Code Agent to extend BitFun itself.

Questions, ideas, and bug reports are all welcome in Discussions and Issues.
Stars, Issues, and PRs are welcome. We especially care about:
Please submit PRs directly to the main branch. For more details, see CONTRIBUTING.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。