superdesigndev / treg
git clone https://github.com/superdesigndev/treg.git
π₯ on GitHub Trending today
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
β
stars, 24h
β
stars, 7 days
+4.2k
stars, 30 days Β· #84
5.9k
β
total
498
forks Β· 178 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguagePython
Licenseβ
Created2026-07-15 (3mo ago)
Last pushtoday
Watchers16
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 β #17 monthly in python Β· +4,151 β
GitHub topics
Links
- GitHub: github.com/superdesigndev/treg
- Homepage: https://treg.to
- Releases Β· Issues Β· Hacker News mentions
README excerpt
# Treg (OpenRouter for Tools) **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. **The one rule:** the proxy **relays, never models** the upstream, and **injects auth server-side** β so it survives upstream API changes and callers never hold keys. --- # Part 1 Β· Using the registry Visit **treg.to** (hosted on Render) β the dashboard, sign-in, and every URL below live there. ## Quickstart Same flow as the dashboard's **Getting started** guide: [code] Fish Audio provides S2.1 Pro speech, public-voice discovery, and private voice cloning. Speech is binary stdout, so redirect it to a file. A discovered voice's `_id` or a team voice id is the TTS `reference_id`; voices created on treg's Fish account are durable team resources: [code] With your own Fish key, requests remain an unrestricted, unmetered upstream relay and Fish owns the account boundary. Catalo