liwuzhan/agent-native-trade--packages-dsh-plugin ↗★ 0
@agent-trade/dsh-integration
支持智能体原生目录、联系人、交易、收据、结算和人工任务工作流的 DeepSeek Harness 组合包。
AI 分析
为DSH引入23个交易、结算及人工任务工具与工作流。适合需要构建智能体之间或智能体与人类之间原生商业交易、结算场景的开发任务。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liwuzhan/agent-native-trade#da8ae87f8649b7f802f3810a32edb78887b508e0&path:packages/dsh-plugin说明文档
阅读完整 README ↗Agent Trade for DeepSeek Harness
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"
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.0.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-filesystem0.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.