superdesigndev/treg 预览 preview

superdesigndev/treg

适用于智能体工具的OpenRouter。加入社区:https://discord.gg/6mQYYfFMAn

Project Overview项目介绍

Treg is a tool registry and proxy service built for AI agents, aggregating over 3,000 tool endpoints from more than 60 providers across use cases like SEO, social trend analysis, data enrichment, advertising, scraping, and media generation. It offers pay-per-use pricing that eliminates the need for users to sign up for individual provider accounts, and it can be used via the official hosted service at treg.to or self-hosted by any user. It supports integration as a skill across multiple AI agent platforms, and can be installed via a one-line shell script for the command line interface.

The core feature of Treg is centralized credential management for teams. Teams can register their own API keys, OAuth connections, and vendor CLIs to the registry, and all callers only need a single unified token to access any registered tool. Credentials stay on the server side and are never exposed to the calling agent, which reduces security risk for shared team tooling. Users can search for tools by task description instead of needing prior knowledge of specific providers. New eligible teams get $1 in free credit when they sign up for the official hosted service.

Treg is licensed under Apache 2.0, allowing free commercial use and self-hosting, with only one restriction: you may not redistribute the code as a competing hosted managed registry service without written permission. It supports multiple AI agent platforms including Claude Code, MiniMax Code, and MiniMax Agent, and it also supports integration with DSH. After installation, new users can run treg login to authenticate, then immediately search for tools and make calls with no additional setup. All tool calls to the hosted service are transparently billed per use.

Treg 是一个面向 AI 代理的工具注册与转发服务,它聚合了来自 60 多个提供商的超过 3000 个工具端点,覆盖 SEO、社交趋势、企业数据 enrichment、广告、爬虫、音视频生成等多种场景,支持按调用付费,无需用户单独注册各个提供商的账号。它既可以使用官方公开托管的 treg.to 服务,也支持用户自行部署,可通过 CLI 或技能包方式集成到各类 AI 代理。

它的核心能力是统一管理各类工具凭证,团队可以把自有 API 密钥、OAuth 连接、厂商 CLI 都注册到 Treg,所有调用方只需要一个统一令牌即可调用所有工具,凭证始终留在服务端,不会泄露给调用的代理。用户可以按任务需求搜索工具,直接发起调用,不需要提前了解具体的工具提供商信息。

它使用 Apache 2.0 许可,允许免费商业使用和自托管,仅禁止未授权将其作为竞争性质的托管服务重新分发。新用户注册合格团队可以获得 1 美元的免费额度,公开匿名调用不需要付费。它支持 Claude Code、MiniMax 系列代理等多个平台,也兼容 DSH,可通过一键脚本安装 CLI。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:superdesigndev/treg

把 superdesigndev/treg 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Treg (OpenRouter for Tools)

treg — the tool catalog for your agent

OpenRouter, but for agent tools instead of models. Point an agent at one base URL with one token and it can do the job: a curated catalog of thousands of endpoints across many providers — SEO and backlinks, social and trends, people and company enrichment, ads, scraping, image and video generation — priced per call, from a cent, with no provider signup. Plus your own team's keys, skills and CLIs, callable by every teammate's agent without the credential ever leaving the server.

Ask for the task, not the tool. You do not need to know which vendor sells backlink data, or to hold an account with them. Search for what you want to do, read the price, call it.

Built for the Superdesign team, live at treg.to — anyone can self-host.

Why it exists

The tools an agent needs for real work sit behind subscriptions nobody buys for a single run — Semrush $139/mo, Moz $99/mo, Crunchbase $99/mo, Apollo $59/seat — behind signup walls, or behind no public API at all (invite-only, partner-only, app-review-only). treg carries those accounts and bills fractions of a cent per call.

Two kinds of tool, one token

  • The catalog — external endpoints treg can serve with its own key or through a verified public route that needs no provider key. Own-key calls use the team's prepaid balance; anonymous calls are free. No account with the provider is needed. New verified accounts receive $1.00 free once, when they create an eligible team.
  • Your own tools — anything a teammate registered: a paid API account, an OAuth connection, a vendor CLI, a SKILL.md. Your own key always wins over treg's, and those calls are never metered.

The vocabulary for the second half:

  • tool = something the registry calls for you with the org's credential. Two kinds:
    • endpoint — an upstream base_url + credential bindings (each binding injects one secret into the request; a request can carry several, e.g. an OAuth bearer and a developer-token header).
    • CLI — a vendor binary (stripe, gh, vercel, ...) run with the credential injected.
  • skill / bundle = a recipe (SKILL.md) + its secrets + its tool(s), registered together.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev modlens 下一个 Next dsh-TUI →