Connects DeepSeek Harness to Busabase: search workspace knowledge, work with structured records and apps, submit writes as reviewable ChangeRequests, and inspect results in live cards.
Install
# from npm (prebuilt)
dsh plugin --profile web add @busabase/dsh-plugin
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:busabase/busabase-dsh-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
Give DeepSeek Harness a Knowledge Base and Database
@busabase/dsh-plugin connects DeepSeek Harness to Busabase, so an Agent can read trusted knowledge, work with structured data, and submit every proposed write for human review.
It gives the Agent durable context beyond one chat without giving it permission to silently rewrite your source of truth.
See it in action
Watch DeepSeek Harness use the plugin to create a CRM AirApp, submit changes for review, and open the result in Busabase.
Quick start
Requirements
- DeepSeek Harness 0.2.1-rc.2 or a later 0.2.x release (
npx @deepseek-ai/dshuses the latest one); - Node.js
>=24.18.0; - pnpm available on
PATH.
Local Busabase does not need to be running before installation. In Local mode, the plugin starts busabase@latest on demand or reuses a healthy Busabase Personal Desktop or local server. Cloud mode connects to the hosted service through browser OAuth.
1. Install the plugin
npx @deepseek-ai/dsh plugin --profile web add @busabase/dsh-plugin
The package activates both the Host and Web sides automatically. Its reviewed Skills are already included in the npm package, so installation does not need lifecycle-script approval. For installation verification, updates, removal, and notes about older releases, see Install and manage the npm bundle.
DeepSeek Harness installs plugins with pnpm, which skips versions published within its minimumReleaseAge window. For about a day after a release, the command above may pick an older version. Add the version (@busabase/dsh-plugin@<version>) to install the newest one right away. In Desktop, enter the same spec under Plugins → Add plugin.
2. Choose Local or Cloud
- Local is the zero-configuration default. Use it for on-device data, an account-free setup, or Busabase Personal Desktop.
- Cloud is for an existing Busabase account, team workspaces, and access across devices. Add this item to
$DSH_HOME/profiles/web/cordis.patch.yml(~/.dsh/profiles/web/cordis.patch.ymlby default):
- id: busabase
config:
baseUrl: https://busabase.com
serverName: busabase
Append the item if the file already has other rows. Do not put credentials in the file; DeepSeek Harness stores the OAuth grant in its credential store after browser sign-in. See the complete Local and Cloud setup guide for updating, verification, switching modes, and troubleshooting.
3. Start DeepSeek Harness
npx @deepseek-ai/dsh --profile web
If dsh is installed globally, you can use dsh instead of npx @deepseek-ai/dsh. Open http://127.0.0.1:3080/. Local mode waits until Busabase is needed. Cloud mode opens the browser for OAuth on the first start, then reuses the stored grant later.
4. Try a first task
Create a customer follow-up Base with company, contact, stage, expected deal size,
owner, next action, and follow-up date. Submit the structure for my review.
In Local mode, call busabase_start first if the full MCP tool catalog is not visible. In Cloud mode, complete browser authorization before submitting the task. The Agent checks the existing workspace first and proposes the Base as a ChangeRequest. You inspect the diff and decide whether to approve and merge it; Cloud proposals are reviewed through their canonical Busabase links.
Why use it
Chat context is useful for the current task, but it is a poor long-term data system. Important conclusions become hard to reuse, business objects lack structure, and an Agent mistake can pollute a document or database before anyone notices.
This plugin adds four things to DeepSeek Harness:
- Trusted knowledge: search approved Docs, Files, Bases, Records, comments, and related objects;
- Structured work: turn natural-language requests into proposed Bases, Forms, AirApps, and records;
- Useful results: render Busabase entities as conversation cards with a live Inspector instead of raw JSON;
- Human control: keep Agent writes at
changeRequestpermission and, by default, require a fresh confirmation for review actions.
DeepSeek Harness understands the task and calls tools
↓
@busabase/dsh-plugin connects the Agent to Busabase
↓
Busabase stores approved knowledge and structured data
Common workflows
- Team knowledge: answer questions from approved product docs, meeting decisions, research, and FAQs with locatable sources.
- Research synthesis: extract evidence, themes, and priorities from interviews, then review the proposed records before merging.
- Business databases: describe a CRM, project tracker, inventory, recruiting pipeline, or operations ledger in natural language.
- Content operations: prepare reviewable articles, social posts, newsletters, SEO pages, and localization records.
- Data cleanup: propose deduplication, tagging, enrichment, classification, matching, or translation in batches.
- Workspace apps: build Forms and AirApps around canonical Busabase data and preview them inside the Inspector.
For example:
Look up the latest enterprise data-retention policy in our knowledge base.
Give me the source document and propose updates for any conflicting FAQ records.
The Agent can read the approved policy and prepare corrections, but it cannot approve its own changes.
Propose-only by design
An agent with direct write access
Agent ──writes directly──► official data
the mistake is already live
This plugin (capped at `changeRequest`)
Agent ──proposes──► ChangeRequest ──human review──► canonical data
the mistake is still a proposal
Busabase itself decides this per credential: a write merges on the spot when the caller has write access, and waits for review when it does not. This plugin deliberately gives the model the lower level.
The MCP connection is capped at changeRequest. Busabase rejects Agent attempts to approve, reject, close, or merge, including proposals that request autoMerge: true. Inspector review actions require a new, explicit user confirmation by default, and stored workspace content is treated as data rather than instructions. Confirmation prompts can be disabled in advanced configuration, but doing so does not raise the Agent's server-enforced permission.
Configuration
The defaults connect to Busabase at http://localhost:15419, start or reuse a loopback service on demand, enable live Inspector refresh, and require confirmation for review actions.
To use another address, adjust plugin load order, or tune server and refresh behavior, see the full configuration reference.
Connecting to Busabase Cloud
Override the Bundle row by id and point baseUrl at an https:// Busabase Cloud address (a root-host deployment, optionally with spaceId, or a workspace subdomain) to connect there instead of a local server:
- id: busabase
config:
baseUrl: https://busabase.com
serverName: busabase
The plugin never manages or starts a remote server. When the remote plugin loads for the first time, it opens your OS browser for a standard OAuth sign-in; DeepSeek Harness stores the resulting token through its credential store, not in this configuration. The MCP connection still sends a fixed changeRequest permission ceiling. In this release the Inspector's review, merge, live refresh, and embedded Base/AirApp previews stay local-only: use the canonical Busabase Cloud link the Inspector shows to inspect, review, and merge remotely.
Desktop ChangeRequest previews use the existing official Sidebar Browser on a compatible DeepSeek Harness host (protocol v1, native browser capability, and the official registered browser provider). The Browser owns workspace readiness. Automatic previews, card clicks, and recognized preview links share this handoff; Busabase installs no official sidebar plugin. Opening a tab expands the official sidebar; a deduplicated preview can re-expand a collapsed sidebar. Desktop never falls back to a plugin Inspector or iframe. Cards retain accessible canonical links when native dispatch is unavailable or fails, and a deliberate click can retry. Other entity cards use their existing validated links; entities without a destination remain metadata rather than inert buttons. A successful handoff means the host accepted navigation, not that the guest page loaded.
On Web only, when the optional sidebarRight and sidebarRightTabs services are available, Busabase contributes a busabase-inspector tab definition and a keyed sidebar.right.pane.tab body. It does not replace the single root rightbar, so the official Sidebar and Browser remain mounted. Inspector is recoverable from the sidebar guide, and its Close control closes only its own tab. Its body hides a selection belonging to a different session. Inspector navigation carries no preview URL or bearer token in tab parameters. Web hosts missing these services retain the legacy root Inspector fallback. Desktop registers neither Inspector tabs/bodies nor a root fallback, including while optional services load or unload.
The sidebar coexistence regression tests mount the real SlotRuntime and official SidebarRight/SidebarBrowser registrations. Their native-path test uses a fake Desktop bridge and asserts a mounted webview shell; it does not prove Electron guest navigation, authenticated Cloud content, or true Desktop acceptance. The test-only DockKit and primitives dependencies are explicitly declared, with DockKit transformed by Vitest. A plugin-scoped Shiki 4 override satisfies the rc.2 primitives API while preserving the workspace default.
Local token persistence: the official Sidebar Browser stores its full current URL, including any preview bearer token, in the local dsh.sidebar-browser.v1.<session> checkpoint. Closing the browser tab removes that checkpoint; hiding it, switching sessions, or unloading this plugin does not. This integration accepts that host-owned local persistence. The adapter deduplicates by session, Space, and ChangeRequest, never by URL or token, and never logs preview URLs.
Use Reopen, a card click, or Reload preview for a deliberate retry after closing a tab or a failed handoff. Native browser Reload retries the existing URL; an expired token requires a fresh authorized preview request (click the original ChangeRequest card again when its tool result has no preview URL). Failed preview fetches are not retried automatically. Review and merge remain in Busabase Cloud.
Current boundaries
- The default setup targets a single local Busabase workspace;
- A non-loopback
baseUrlis treated as an external service inautomode and is never started by the plugin; - Connecting to a non-loopback
https://baseUrluses browser-based OAuth instead of the local relay, and keeps Inspector review, merge, and live refresh local-only; - The full MCP tool set becomes available after
busabase_startstarts the service and reconnects (local mode only); - The Agent can propose changes but cannot perform final review or merge;
- Base and AirApp previews require compatible same-origin and embed-origin settings;
- Disabling an iframe keeps entity metadata and the "Open in Busabase" entry available.
Documentation
- Developer Guide: source setup, architecture, configuration, security internals, build, packaging, and E2E tests;
- Busabase website;
- Busabase open-source repository;
- Busabase Skills and MCP integration;
- DeepSeek Harness.
Links
More in this category
vectorize-io/hindsight#coding-agents★ 54464
Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.
volcengine/OpenViking#examples/dsh-memory-plugin★ 40976
OpenViking memory and context bundle for DeepSeek Harness: pre-step auto-recall and profile injection, session capture, `viking://` URI guarding, and recall/write memory tools backed by an OpenViking server.
MemTensor/MemOS#memos-local-plugin★ 12136
Local-first memory plugin for DeepSeek Harness: layered L1/L2/L3 memory with automatic capture, manual memos_* retrieval tools, and a built-in memory viewer.
agentscope-ai/ReMe#dsh★ 3702
Connects DeepSeek Harness to ReMe's local-first, self-evolving personal knowledge base: automatically captures completed main-agent conversations as user-owned Markdown memory, searches conversations and source material through reme_search with BM25, optional embeddings, and wikilink expansion, and schedules daily memory consolidation.
zilliztech/memsearch#MemSearch★ 2802
Shared Markdown memory for DSH and other coding agents, with automatic capture, pre-step context injection, searchable recall, and memory-to-skill self-evolution through a review panel.
vshulcz/deja-vu#extensions/dsh★ 1321
Reads the session files forty-two other coding agents on this machine already wrote (Claude Code, Codex, Cursor, VS Code Copilot Chat, opencode, OpenClaw, Hermes, Kimi, Cline, Zed and more), including sessions from before it was installed: six tools (deja_recall, deja_session, deja_blame, deja_fix, deja_how, deja_remember), a /deja command, and optional automatic recall added to the runtime context. Local BM25 index, no LLM, no embeddings, no network (dsh plugin --profile web add dsh-deja).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.