PlaybookAdvanced15 min read18 August 2026

One Key, Every Tool

Stop buying subscriptions your agent uses twice a month.

In short

Treg is an open source layer between your AI agent and more than 2,600 business API endpoints across forty plus providers, covering SEO, leads, ads, social publishing and scraping. One token replaces a pile of subscriptions and keys, priced per call with no markup on the provider's rate. Every new team gets a dollar of free credit. Credentials are injected server-side so the agent never holds a secret. Setup runs from two lines to a full self-host, and the pricing rules below are the part worth reading twice.


Why does an AI agent cost more to equip than to run?

Because the tools it needs are priced for people, not for tasks. Semrush wants around a hundred and forty a month. Moz and Crunchbase around a hundred each. Apollo charges per seat. Your agent needs each of them for about nine seconds a week.

So you either buy six subscriptions you barely touch, do the work by hand, or spend days on OAuth setup for an API you will call twice.

Treg exists because a team hit this themselves. It carries the accounts, exposes the endpoints through one token, and bills per call. The catalog covers keyword and rank tracking, backlinks and authority, AI visibility, trending and discovery, social publishing, people and company enrichment, ads management, and measurement.

The comparison people use is OpenRouter. That routes between AI models. This routes between the specialist tools those models need to do anything useful.

1. The repository

Code: github.com/superdesigndev/treg

Hosted version and dashboard: treg.to

Licence: Apache 2.0 with additional terms. The readme states it plainly: use it freely including commercially inside your own organisation, and self-hosting your own registry is encouraged, but you may not offer it to third parties as a hosted or managed service, or embed it in a commercially distributed product, without written permission.

Read that last part carefully if you plan to build something on top of this and sell it. Using it to run your own business is explicitly fine. Reselling access to it is not.


2. What it actually is, in plain terms

Three ideas and the rest follows.

A catalog you search by job, not by vendor. You do not look for Hunter. You ask for "find a work email" and it shows every provider that can do it, with the price and the measured success rate side by side. Nineteen providers sell backlink data. Nine sell email lookup. You see them together.

One token instead of many accounts. Your agent holds a single credential. Every tool in the catalog answers to it, and revoking it revokes everything in one place.

Your secrets stay off your machine. The real credential is injected on the server side when a call goes out. The agent never sees it and neither does the person using it.

One thing worth being precise about, because it is a design decision rather than a limitation. Treg shows the options with prices and measured performance, and the choosing is yours or your agent's. It does not silently pick a provider or fail over to a different one. That means no surprise vendor swaps mid-workflow, and it also means your agent has to handle a provider being down itself.


3. Before you start

A terminal. The plain window where you type commands. Everything here is one line you paste.

An AI agent. Claude Code is the smoothest path because there is a plugin. Cursor, Codex and anything else supporting skills will work.

A GitHub account. Sign-in defaults to GitHub, with email codes available instead.

There is no provider account to create, no API key to generate, and nothing to configure before the first call.


4. Setup, four routes

Route one: the Claude Code plugin

Two lines inside Claude Code:

/plugin marketplace add superdesigndev/treg
/plugin install treg@treg

It installs with no token and no configuration. On first run it walks your agent through the rest, meaning the command line tool, signing in, and connecting the tools. You end up with everything wired without touching a settings file.

Route two: any other agent

npx skills add superdesigndev/treg -s treg

The -s treg matters. Without it you also install the project's own internal development skills, which you do not want cluttering your setup.

Route three: the command line directly

curl -fsSL https://treg.to/install.sh | sh
treg login

Then prove it works without registering anything:

treg catalog search "backlinks for a domain"
treg call tikhub.tiktok.user.profile --query uniqueId=tiktok
treg balance

That last command shows exactly what the call cost. Three commands from nothing to a real API response with a price attached. If you would rather be walked through it, treg onboard runs a guided version.

Route four: self-hosting

Only worth it if you want the credential store on infrastructure you control. Two things to know before you start.

The base package is the command line tool only. To run your own registry you need the server extra:

The next one lands in your inbox before it lands here.

One email a week. What I tested.

Subscribe
One Key, Every Tool · Playbooks · Steve Tan