DeepSeek Harness Plugin

liwuzhan/agent-native-trade#dsh-plugin

Stars ★ 1 Category Tools & Capabilities Added 2026-08-24

Adds catalog discovery, counterparty contact, deal signing, settlement coordination, human-task handoff, and signed receipt tools for agent-native trade.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/liwuzhan/agent-native-trade/releases/latest/download/agent-trade-dsh-plugin.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:liwuzhan/agent-native-trade#path:/packages/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

This is the installable DeepSeek Harness bundle for the agent-native-trade protocol. It adds 23 catalog, contact, deal, event, receipt, settlement, and human-task tools plus one compact workflow skill to an existing DSH profile.

Install

Install the prebuilt release tarball into the profile you use:

dsh plugin --profile web add \
  https://github.com/liwuzhan/agent-native-trade/releases/latest/download/agent-trade-dsh-plugin.tgz

The package is self-contained: it does not need a repository checkout, AGENT_TRADE_REPO, a compiler, or an install-time build permission. Its local loopback maildrop works without an external account.

To use AgentMail instead, configure the DSH process environment:

export AGENT_TRADE_CONTACT_PROVIDER=agentmail
export AGENTMAIL_API_KEY=...
export AGENT_TRADE_CONTACT_INBOX_ID=...

Optional identity and storage settings:

export AGENT_TRADE_AGENT_ID=agent_buyer
export AGENT_TRADE_DATA_DIR="$HOME/.agent-trade/buyer"

Catalog discovery and receipt announcements default to the community indexer. Replace or disable that client default before starting DSH when needed:

export AGENT_TRADE_INDEXERS='https://deepcrop.site,https://another-indexer.example'
# export AGENT_TRADE_INDEXERS=''  # disable remote indexers

Secrets belong in the machine's environment or secret store, never in the profile patch, model prompt, repository, or trade artifacts.

Verify a local checkout

node packages/dsh-plugin/scripts/build-bundle.mjs
npm test --prefix integrations/deepseek-harness/plugin
cd packages/dsh-plugin
mkdir -p release
npm pack --pack-destination release
dsh plugin --profile agent-trade-smoke add \
  ./release/agent-trade-dsh-integration-0.2.1.tgz
dsh --profile agent-trade-smoke --dump-config

The dump must contain both agent-trade-tools and agent-trade-skills.

Compatibility

  • Node.js 24 or newer.
  • DeepSeek Harness versions compatible with @deepseek-ai/dsh-skill-filesystem 0.1.1 prereleases or 0.1.x stable.
  • The legacy buyer/seller preset installer remains supported; when it supplies AGENT_TRADE_REPO, the plugin uses the checkout daemon for development.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.