#2121st of 48 in Gateways and observability

treg

Tool registry proxy giving agents one token for a priced API catalog

Stars
7.8k
License
custom license
Last commit
Nov 2026
Language
Python
Stars, last 17 weeks+7,778
14 Jul 2026: 51 stars21 Jul 2026: 105 stars28 Jul 2026: 112 stars4 Aug 2026: 113 stars11 Aug 2026: 234 stars18 Aug 2026: 530 stars25 Aug 2026: 657 stars1 Sept 2026: 975 stars8 Sept 2026: 1,314 stars15 Sept 2026: 1,459 stars22 Sept 2026: 2,367 stars29 Sept 2026: 3,882 stars6 Oct 2026: 4,541 stars13 Oct 2026: 5,289 stars20 Oct 2026: 5,930 stars27 Oct 2026: 6,439 stars3 Nov 2026: 7,161 stars10 Nov 2026: 7,829 stars

51 on 14 Jul 20267,829 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

treg is a proxy and CLI that lets an agent call a catalog of third-party endpoints (SEO, enrichment, scraping, ads, media generation) with one token, billed per call from a prepaid balance. Teams can also register their own API keys, vendor CLIs and SKILL.md bundles, with credentials injected server-side so callers never hold them. It can be self-hosted as a Python server with SQLite, or used via the hosted treg.to.

Who it is for: Teams giving agents shared, metered access to third-party APIs and CLIs

Strengths

  • Credentials are injected server-side; callers and agents never see provider keys
  • Own key takes precedence over treg's and is never metered
  • Per-call pricing shown in catalog; 402 response carries balance and top-up URL
  • Ships CLI, Claude Code plugin, MCP endpoint and ready-made workflow skills

Weaknesses

  • Catalog access relies on treg's provider accounts via hosted treg.to, not self-hosting alone
  • License is NOASSERTION, so reuse terms are unclear
  • Server-side CLI execution is disabled globally; CLIs run locally only
  • Sends anonymous usage to PostHog by default when using treg.to

What it needs

  • no GPU
  • Needs uv, tmux, Node 22.12+ (dashboard build), SQLite, PostHog (CLI telemetry, optional)
  • port 18790

Quick answers

Is treg open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Does treg need a GPU?

No, it runs without one.

Also in Gateways and observability

See all 48
Also in Gateways and observability
RankProjectScore
1OmniRouteLLM gateway routing one OpenAI-compatible endpoint across 372 providers86.5k starsMIT96 out of 100
2headroomCompresses tool outputs, logs and history before they reach the LLM79.4k starsApache-2.092 out of 100
3new-apiGateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs51.8k stars+2,216 (+4.5%) in 30 daysAGPL-3.0known advisory in latest version91 out of 100
#4MLflowTracing, evaluation and prompt registry for LLM apps, plus ML tracking Live demo ↗ (opens in a new tab)28.8k stars+450 (+1.6%) in 30 daysApache-2.090 out of 100
#5LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers63.1k stars+2,260 (+3.7%) in 30 dayscustom license87 out of 100