Back to directory

treg

Curated pickMaintenance: Active

superdesigndev/treg

OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn

View on GitHubHomepage
$ curl -fsSL https://treg.to/install.sh | sh

1,271

stars

123

forks

Python

Language

NOASSERTION

License

2026-07-15

Created

2026-09-08

Last push

Apache-2.0 (with additional terms) tool registry and credential proxy for agents — one token unlocks ~2,800 pay-per-call endpoints plus your team's keys, CLIs and skills. No DeepSeek Harness-specific integration is documented; DSH connects via the generic CLI / agent-skill path.

DSH integration

Compatible

Inferred

Safety audit

Unaudited

Last verified

2026-08-21

License

Apache-2.0 with additional terms

01What can it help you accomplish?

  • 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

02How to install into DeepSeek Harness

Prerequisites

  • 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`

Installation steps

  1. 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

  2. 02

    Sign in: `treg login` (GitHub default · `--email` for a one-time code · `--token` for agents/CI)

  3. 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

  4. 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

Verify the integration

Not specified by the author

03DSH integration and capability boundaries

DSH integrationCompatible

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 providers
  • Server-side credential injection & faithful relay

    a registered endpoint plus a stored secret / OAuth tokenthe 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 records
  • Team sharing via scan & upload

    a project `.env` (matched against ~80 known providers), skill directories, and installed catalog CLIskeys, skills and CLIs registered to the org (idempotent, `--replace` to update)

    `treg upload` uploads secrets (encrypted server-side) to the registry
  • Run 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

04Who is it for? When not to use it?

Good for

  • 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

Not for

  • 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.

05Compatibility, maintenance and safety notes

  • 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.
2026-07-152026-08-19Not specified by the author

Apache-2.0 with additional terms · actively maintained (last push 2026-08-19)

06Frequently asked questions

How do I use treg with DeepSeek Harness?

The README documents no dsh-specific path — use the generic one: install the CLI with the install script and run `treg login`, or add it as an agent skill with `npx skills add superdesigndev/treg -s treg`; the skill walks your agent through the CLI, sign-in, then `treg mcp install`.

Do I need accounts with the tool providers?

No. Catalog calls are served on treg's own key and metered against your team's prepaid balance ($1.00 free on every new team). If you connect your own key it always wins and those calls are never metered.

Where do my credentials and requests go?

Secrets are stored encrypted (Fernet) on the registry and injected server-side; the proxy relays the request upstream with your X-Treg-Token stripped before the upstream sees it, so callers never hold keys.

What happens when the balance runs out?

The call returns HTTP 402 carrying balance_micro, estimated_cost_micro and a topup_url so an agent can act on it without reading prose; top up with `treg topup`.

Can I self-host my own registry?

Yes — `scripts/dev-local.sh up` runs it locally (needs tmux + uv), and a deployed registry needs the server extra `tools-registry[server]`. Back up the Fernet key and database: losing the key makes every stored secret unrecoverable.

08Data and sources

  • Inferredgithub.coma10e2c359143…

    Other agents: `npx skills add superdesigndev/treg -s treg` (the `-s` matters — without it you also get this repo's inter…

  • Author-claimedgithub.coma10e2c359143…

    The skill loads as `treg:treg` and, on its first run, walks your agent through the rest — the CLI, sign-in, then `treg m…

  • Author-claimedgithub.coma10e2c359143…

    **Roadmap:** MCP support · finer permission tiers · at-rest key-management hardening · possible Loopni merge.

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-21. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.