Treg

developer toolsaiautomation

Self hosted tool registry that lets AI agents call shared APIs, CLIs, skills, and credentials through one controlled access layer

#ai-agents#mcp#api#credentials#registry#cli#automation#self-hosted

Quick Start

curl -fsSL https://treg.to/selfhost.sh | sh

Overview

Treg is a self hosted registry for giving coding agents controlled access to external APIs, shared team tools, and internal credentials. With Treg, an agent can call SEO tools, scraping services, enrichment APIs, social data providers, ads platforms, and team owned endpoints through a single registry rather than juggling separate vendor accounts and local API keys.

The useful part is the credential model. Treg stores secrets on the server, injects them into outbound calls, and gives agents a token that identifies the team and permitted tools. That makes it relevant for agencies, growth teams, and builders who want agents to do real research or operations work without handing every machine a pile of vendor keys.

It is still early infrastructure. The hosted product uses prepaid per call pricing with a free starting balance, while the self hosted server can run with Python, a database, and a durable encryption key. Treat it as sensitive control plane software, not a casual utility. The license also needs care: the repo uses Apache 2.0 with extra terms that restrict offering it as a hosted third party service without permission. For internal use, Treg is worth testing if agents already touch paid APIs or shared credentials.

Use Cases

Specific ways to use Treg for your workflow.

01
Give AI agents controlled access to paid APIs without storing vendor keys on every machine
02
Share internal tools, vendor CLIs, skills, and credentials across a team
03
Let agents call SEO, scraping, enrichment, social, ads, and research APIs through one registry
04
Run an internal credential injecting proxy for agent workflows

Deployment Strategy

Recommended ways to host Treg in your own environment.

python
self-hosted