Apache-2.0(附加条款)的 agent 工具注册表与凭证代理:一个令牌解锁约 2800 个按次计费端点,以及团队自有密钥、CLI 与技能。README 未提供 DeepSeek Harness 专属集成,经通用 CLI/技能路径接入。
DSH 适配
兼容
自动推断
安全审计
未审计
最后核验
2026-08-21
许可证
Apache-2.0 with additional terms
01它能帮你完成什么?
Give a DeepSeek Harness agent pay-per-call access to ~2,800 third-party API endpoints (SEO, backlinks, social trends, people/company enrichment, ads, scraping) without provider signups
Live tool results served through one base URL and one token, metered per call from the team's prepaid balance ($1.00 free on every new team)
SEO, growth and research teams running agents in DeepSeek Harness who need premium data tools without buying per-vendor subscriptions
Share the team's own API keys, vendor CLIs and SKILL.md skills so every teammate's agent can call them
Team-registered endpoints, CLIs and skills callable through the proxy with the org's credential injected server-side — the credential never leaves the server
Engineering teams that want their agents to use paid accounts and internal tools without distributing secrets
Self-host a private tool registry for your org
A private treg registry server (FastAPI + SQLite/Postgres, org scoping with owner/admin/member/viewer roles) run locally or deployed
Teams that want an in-house credential gateway instead of the hosted treg.to instance
02如何接入 DeepSeek Harness?
前置条件
- A terminal with curl (for the one-line CLI installer), or an agent that supports plugins/skills (Claude Code plugin path, or `npx skills add` for other agents)
- Self-hosting only: `tmux` and `uv`
安装步骤
- 01
Install the CLI — also points it at the registry: `curl -fsSL https://treg.to/install.sh | sh`
$ curl -fsSL https://treg.to/install.sh | sh
- 02
Sign in: `treg login` (GitHub default · `--email` for a one-time code · `--token` for agents/CI)
- 03
Call a tool right away: `treg catalog search "backlinks for a domain"`, then `treg call ...`, and `treg balance` to see exactly what it cost
- 04
Agent path: Claude Code — `/plugin marketplace add superdesigndev/treg` then `/plugin install treg@treg`; other agents — `npx skills add superdesigndev/treg -s treg`
$ npx skills add superdesigndev/treg -s treg
验证接入成功
作者未说明
03DSH 适配与能力边界
Generic agent tool registry & credential proxy — the README documents no DeepSeek Harness-specific path; DSH users connect through the `treg` CLI or `npx skills add superdesigndev/treg -s treg` (the skill finishes with `treg mcp install`); broader MCP support is listed on the roadmap.
Tool catalog & metered calls
a task description (`treg catalog search`) or a tool id (`treg catalog get`)→tool discovery with per-call prices, and live call results via `treg call` across keyword/rank tracking, backlinks, AI visibility, trends, social publishing, enrichment, ads and measurement
catalog calls are billed per call against the team's prepaid balancerequests are relayed over the network to third-party upstream providersServer-side credential injection & faithful relay
a registered endpoint plus a stored secret / OAuth token→the upstream request with the credential injected; treg control headers (X-Treg-Token and friends) stripped before the upstream sees them; an audit record
stores secrets encrypted (Fernet) on the registry serverrelays requests to upstream APIswrites audit recordsTeam sharing via scan & upload
a project `.env` (matched against ~80 known providers), skill directories, and installed catalog CLIs→keys, skills and CLIs registered to the org (idempotent, `--replace` to update)
`treg upload` uploads secrets (encrypted server-side) to the registryRun vendor CLIs with injected credentials
registered vendor CLIs (`stripe`, `gh`, `vercel`, …)→`treg run` / `treg shell` executes the CLI with the org's credential injected — locally (`--local`, default) or on the registry server (`--server`)
`--server` executes on the registry server and streams output back, so the key never reaches your machine
04适合谁?何时不该用?
适合
- SEO, growth and research teams running agents in DeepSeek Harness who need premium data tools without buying per-vendor subscriptions
- Engineering teams that want their agents to use paid accounts and internal tools without distributing secrets
- Teams that want an in-house credential gateway instead of the hosted treg.to instance
不适合
- Catalog calls need network access to a treg registry (hosted treg.to or self-hosted) and are metered against a prepaid balance; an exhausted balance returns HTTP 402 until topped up, and endpoints without a published price are refused rather than served free.
- Licensed as Apache 2.0 with additional terms: offering treg to third parties as a hosted/managed service, or embedding it in a commercially distributed product, requires written permission from the maintainer.
- Self-hosted deployments must back up the Fernet key (TREG_SECRET_KEY) and the database before moving or redeploying — losing the Fernet key makes every stored secret unrecoverable.
05兼容性、维护与安全提示
- Catalog calls need network access to a treg registry (hosted treg.to or self-hosted) and are metered against a prepaid balance; an exhausted balance returns HTTP 402 until topped up, and endpoints without a published price are refused rather than served free.
- Licensed as Apache 2.0 with additional terms: offering treg to third parties as a hosted/managed service, or embedding it in a commercially distributed product, requires written permission from the maintainer.
- Self-hosted deployments must back up the Fernet key (TREG_SECRET_KEY) and the database before moving or redeploying — losing the Fernet key makes every stored secret unrecoverable.
Apache-2.0 with additional terms · actively maintained (last push 2026-08-19)
06常见问题
如何在 DeepSeek Harness 中使用 treg?
README 未提供 dsh 专属说明,可走通用路径:用安装脚本安装 CLI 后执行 treg login;或运行 npx skills add superdesigndev/treg -s treg 以技能方式接入,首次运行会自动引导完成 CLI 安装、登录和 treg mcp install。
调用目录里的工具需要自己注册供应商账号吗?
不需要。目录调用由 treg 自有密钥承接,按团队预付余额计费(每个新团队有 1 美元免费额度);接入自有密钥后会优先使用,且这些调用不计费。
我的密钥和请求数据会去哪里?
密钥以 Fernet 加密存储在注册表服务端,调用时由服务端注入凭证再转发到上游,X-Treg-Token 在到达上游前会被剥离,调用方从不持有密钥。
余额用完会发生什么?
调用返回 HTTP 402,响应携带 balance_micro、estimated_cost_micro 和 topup_url,便于 agent 自行处理;可用 treg topup 充值。
可以自建 treg 注册表吗?
可以:本地一条命令 scripts/dev-local.sh up(需要 tmux 与 uv);部署服务端需安装 tools-registry[server] 附加包。务必备份 Fernet 密钥与数据库,丢失密钥将导致所有已存密钥不可恢复。
07相关的 DSH 工作流
ruflo
作者 ruvnet
原版智能体元框架(meta-harness):支持多智能体集群部署、自主工作流编排与对话式 AI 系统构建,内置自适应记忆、自学习智能与 RAG 检索,原生集成 Claude Code / Codex / Hermes 等大量工具。
reactive-resume
作者 amruthpillai
注重隐私的开源简历生成器,安全、可定制、可移植,永久免费,支持自托管。
everos
作者 evermind-ai
为所有 AI 智能体提供的便携统一记忆层,本地优先、Markdown 原生、数据归用户所有,跨应用与工作流自进化。
yao
作者 yaoapp
在桌面、移动端、浏览器或 API 上统一管理你的智能体与工作区,看板式任务追踪,支持自托管。
08数据与来源
Other agents: `npx skills add superdesigndev/treg -s treg` (the `-s` matters — without it you also get this repo's inter…
The skill loads as `treg:treg` and, on its first run, walks your agent through the rest — the CLI, sign-in, then `treg m…
**Roadmap:** MCP support · finer permission tiers · at-rest key-management hardening · possible Loopni merge.
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
