treg: A Unified Gateway for Agent Tools in DeepSeek Harness
superdesigndev/treg
Treg is an OpenRouter for agent tools, aggregating 2,896 endpoints across 60 providers, priced per call, accessed with one token, no provider signup needed.
treg is a DSH plugin for DeepSeek Harness that provides an OpenRouter-like gateway for agent tools. It solves the problem of agents needing access to many paid APIs but being blocked by subscriptions and signup walls, letting you use one base URL and one token to call 2,896 catalogued endpoints across 60 providers, priced per call from a cent. Treg also supports registering your team's own tools, keys, and CLIs, with all calls injecting auth server-side so credentials never leave the server.
How to Install
dsh plugin --profile web add github:superdesigndev/treg- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- superdesigndev
- Distribution
- Plugin
treg Key Features
treg Repo Summary
What Does It Do?
Treg is a DSH plugin for DeepSeek Harness that provides an OpenRouter-like gateway for agent tools. It solves the problem of agents needing access to many paid APIs but being blocked by subscriptions and signup walls, letting you use one base URL and one token to call 2,896 catalogued endpoints across 60 providers, priced per call from a cent. Treg also supports registering your team's own tools, keys, and CLIs, with all calls injecting auth server-side so credentials never leave the server.
Core Features
- Catalog search: find tools by natural language, e.g.,
treg catalog search "backlinks for a domain", without knowing the specific vendor. - Unified calling: use the same token for all tools, e.g.,
treg call tikhub.tiktok.user.profile --query uniqueId=tiktok. - Team tool registration: register endpoints, CLIs, or skills (SKILL.md) that any teammate's agent can call, with your own key always winning over treg's and never metered.
- Balance management: every new team gets $1.00 free, and
treg balanceshows exactly what a call costs. - Health checks:
treg healthchecks credential health.
How to Use This Plugin?
After enabling Treg in DSH, you can use it via CLI or MCP. Quickstart: install the CLI and sign in (GitHub default, or email for a one-time code, or token for agents/CI), then search tools, call tools, and check balance. You can also install it as a Claude Code plugin or via MCP, and on first run it walks your agent through the rest—CLI, sign-in, and MCP install.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: superdesigndev/treg. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
