# superdesigndev/treg

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/superdesigndev-treg).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

7,562 stars · 676 forks · Python · NOASSERTION

## Links

- GitHub: https://github.com/superdesigndev/treg
- Homepage: https://treg.to
- awesome-repositories: https://awesome-repositories.com/repository/superdesigndev-treg.md

## Topics

`agents` `api-keys` `cli` `credentials` `developer-tools` `dsh-plugin` `mcp` `proxy` `python` `registry` `secrets`

## Description

Treg is a gateway that lets AI agents search a catalog of third-party API endpoints and call any of them with a single token. Each request is routed to a working provider, and the service attaches the stored provider key on the server, so agents and scripts never handle raw secrets. It is also exposed as a Model Context Protocol server with OAuth sign-in, so coding assistants such as Claude and Cursor can reach catalog tools and team tools through one interface.

What sets it apart is the combination of routing, billing and shared credentials. Calls are billed per use against a prepaid team balance, with prices shown before a call, per-call cost caps, and refunds when a call fails. For common jobs such as web search, page fetching or contact lookup, it can try verified providers from cheapest to costliest and stop at the first usable result. Teams register API keys, OAuth connections and tools once, and every teammate and agent can use them while the secret stays encrypted on the server. Access is scoped by organization, member role and per-member tool allow-lists, with optional enterprise single sign-on, directory sync and audit logs.

Beyond the core gateway, it covers side-by-side provider comparison, running vendor command-line tools with injected credentials, and intercepting local program calls through a proxy. It also supports asynchronous media generation, web extraction and crawling, and ready-made workflow skills for lead finding, candidate sourcing and video creation. Those skills are packaged as plugins for Claude Code, Cursor and similar assistants.

The command-line client is lightweight, and the registry server can be self-hosted as an optional extra alongside a web dashboard. A single-user local mode is available when running on local SQLite with a loopback URL.

## Tags

### Artificial Intelligence & ML

- [Agent Gateways](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-gateways.md) — Lets AI agents search a catalog of third-party API endpoints and call any of them with one token, routed to a working provider.
- [Agent Tool Marketplaces](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-tool-marketplaces.md) — Lets AI agents discover, price and call thousands of third-party endpoints with one token and a prepaid balance, without provider signups.
- [MCP Server Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/ai-agent-capabilities/mcp-server-interfaces.md) — Exposes catalog tools and team tools to coding assistants over the Model Context Protocol with OAuth sign-in. ([source](https://github.com/superdesigndev/treg/blob/main/pyproject.toml))
- [Capability-Based Provider Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/capability-based-provider-routing.md) — Automatically picks a named provider for jobs like web search, page scraping and email lookup, and verifies found contacts in one call. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Cost-Ordered Provider Fallbacks](https://awesome-repositories.com/f/artificial-intelligence-ml/cost-ordered-provider-fallbacks.md) — Tries verified providers from cheapest to costliest and stops at the first usable result, falling back on failure or empty answers.
- [Credential-Injected Tool Calls](https://awesome-repositories.com/f/artificial-intelligence-ml/credential-injected-tool-calls.md) — Calls any catalog tool by id while the server injects the provider key, so agents never hold or see the credential. ([source](https://github.com/superdesigndev/treg/blob/main/skills/treg/SKILL.md))
- [Curated API Endpoint Catalogs](https://awesome-repositories.com/f/artificial-intelligence-ml/curated-api-endpoint-catalogs.md) — Offers agents a vetted catalog of external API endpoints plus a team's own tools through one shared access point. ([source](https://github.com/superdesigndev/treg/blob/main/AGENTS.md))
- [Keyless Catalog API Calls](https://awesome-repositories.com/f/artificial-intelligence-ml/keyless-catalog-api-calls.md) — Call curated external data endpoints by id while the service supplies its own provider key and bills each call from the team's prepaid balance. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [Searchable Tool Catalogs](https://awesome-repositories.com/f/artificial-intelligence-ml/searchable-tool-catalogs.md) — Exposes a fixed search-and-call tool pair over a large endpoint catalog so assistants' tool lists never grow. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/mcp-oauth.md))
- [Task-Based Tool Discovery](https://awesome-repositories.com/f/artificial-intelligence-ml/task-based-tool-discovery.md) — Searches a catalog of endpoints by the task to be done and recommends which connected tools can do it. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))
- [Tool Catalog Search](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-catalog-search.md) — Searches a catalog of callable tool endpoints by job description and shows parameters, price and a ready-made call line before any spend. ([source](https://github.com/superdesigndev/treg/blob/main/skills/treg/SKILL.md))
- [Agent Skill Installers](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-skill-installers.md) — Ships a skill and installers that teach AI coding agents such as Claude and Cursor to call tools through the routing layer. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))
- [Agent Web Search and Page Reading](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-web-search-and-page-reading.md) — Runs web searches and page reads through a free vendor first, falling back to other vendors when results are empty or blocked. ([source](https://github.com/superdesigndev/treg/blob/main/skills/web-access/SKILL.md))
- [Skill Installation](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-skill-frameworks/skill-installation.md) — Installs prebuilt agent skills for web research, lead finding, candidate shortlisting and video creation via script, plugin marketplace or skills command. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Agent Client Registrations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/ai-agent-capabilities/mcp-server-interfaces/agent-client-registrations.md) — Registers the MCP server into several coding agents with a verified team-pinned bearer token and lists manual steps for others. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/mcp-oauth.md))
- [Team Endpoint Registrations](https://awesome-repositories.com/f/artificial-intelligence-ml/bring-your-own-key-model-access/team-endpoint-registrations.md) — Lets teams register a secret against an upstream base URL, or bulk-import keys from an environment file, so everyone shares one credential. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Asynchronous Task Settlement](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-media-provider-orchestrators/asynchronous-task-settlement.md) — Submits video or image generation as background tasks, polls until completion, charges only on success and refunds failed tasks. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [Provider Comparison Arenas](https://awesome-repositories.com/f/artificial-intelligence-ml/provider-comparison-arenas.md) — Runs the same input across enrichment and web vendors, comparing cost, speed and answer quality through battles, waterfalls and a live leaderboard. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Ready-Made Agent Workflow Skills](https://awesome-repositories.com/f/artificial-intelligence-ml/ready-made-agent-workflow-skills.md) — Ships agent recipes that complete jobs end to end, such as finding in-market leads, ranking candidates, reading the live web and making AI videos. ([source](https://github.com/superdesigndev/treg#readme))
- [HTTP API Tool Calls](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-calling/http-api-tool-calls.md) — Calls catalogued third-party endpoints using the team's prepaid balance or a free public route, with no provider account needed. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Vendor Battle Comparisons](https://awesome-repositories.com/f/artificial-intelligence-ml/vendor-battle-comparisons.md) — Runs one enrichment task across several vendors at once so users can compare answers, cost and speed before choosing a provider. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/interface/enrich-arena.md))

### Business & Productivity Software

- [Per-Call Cost Controls](https://awesome-repositories.com/f/business-productivity-software/per-call-cost-controls.md) — Shows prices before a call, caps cost per call with a header, reports the charge afterward and refunds failed calls. ([source](https://github.com/superdesigndev/treg/blob/main/skills/treg/SKILL.md))
- [Prepaid Credit Wallets](https://awesome-repositories.com/f/business-productivity-software/prepaid-credit-wallets.md) — Debits each call against a team's prepaid balance recorded in a ledger, enforces per-call cost ceilings, and refunds failed calls.
- [Usage Metering & Billing](https://awesome-repositories.com/f/business-productivity-software/usage-metering-billing.md) — Bills each call per use against a prepaid team balance, with price quotes, per-call spend caps and refunds for failed calls.
- [Lead Generation and Candidate Sourcing](https://awesome-repositories.com/f/business-productivity-software/lead-generation-and-candidate-sourcing.md) — Ships workflow skills that find in-market leads or rank recruiting candidates from public signals, then locate and verify work contacts within a cost ceiling.
- [Prepaid Balance Top-Ups](https://awesome-repositories.com/f/business-productivity-software/prepaid-balance-top-ups.md) — Accepts card payments through a payment provider so teams can fund a prepaid balance that covers their tool calls. ([source](https://github.com/superdesigndev/treg/blob/main/pyproject.toml))
- [Workspace Credit Balances](https://awesome-repositories.com/f/business-productivity-software/prepaid-credit-wallets/workspace-credit-balances.md) — Bills catalogued calls against a prepaid team balance, shows remaining credit and recent spend, and returns machine-readable errors when funds run out. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))
- [Team Member Management](https://awesome-repositories.com/f/business-productivity-software/team-member-management.md) — Creates teams, invites and removes members, and applies owner, admin and member roles controlling who can call or manage shared tools and secrets. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [Team Role Assignments](https://awesome-repositories.com/f/business-productivity-software/team-member-management/team-role-assignments.md) — Scopes secrets, tools and skills to an organization with owner, admin, member and viewer roles plus per-member tool access. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))

### Development Tools & Productivity

- [Model Context Protocol Servers](https://awesome-repositories.com/f/development-tools-productivity/ai-coding-assistants/model-context-protocol-servers.md) — Exposes catalog and team tools to AI assistants over the Model Context Protocol with a fixed search-and-call tool pair.
- [Agent Plugin Installations](https://awesome-repositories.com/f/development-tools-productivity/agentic-plugin-marketplaces/agent-plugin-installations.md) — Installs the gateway as a Claude Code plugin by registering the repository as a marketplace and installing from it. ([source](https://github.com/superdesigndev/treg/blob/main/docs/CLAUDE-PLUGIN.md))
- [MCP Server Agent Installations](https://awesome-repositories.com/f/development-tools-productivity/agentic-plugin-marketplaces/mcp-server-agent-installations.md) — Writes team access into supported coding agents or repairs stale keys so each agent authorizes itself and uses shared tools directly. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [MCP Server Integrations](https://awesome-repositories.com/f/development-tools-productivity/ai-assistant-integrations/mcp-server-integrations.md) — Exposes the routing layer to AI assistants over the Model Context Protocol, acting as an OAuth server so assistants can sign in and call tools. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))
- [OAuth Client Registrations](https://awesome-repositories.com/f/development-tools-productivity/dynamic-configuration-providers/dynamic-provider-registration/dynamic-client-registrations/oauth-client-registrations.md) — Acts as an OAuth authorization server for assistant clients, supporting dynamic registration, URL-based client metadata and exact redirect matching. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/mcp-oauth.md))
- [Shared Tool Registry Clients](https://awesome-repositories.com/f/development-tools-productivity/shared-tool-registry-clients.md) — Ships a lightweight command-line client that talks to a hosted or self-run registry to publish, find and call shared tools. ([source](https://github.com/superdesigndev/treg/blob/main/pyproject.toml))
- [Team-Scoped Access Control](https://awesome-repositories.com/f/development-tools-productivity/team-management/team-scoped-access-control.md) — Binds every secret, tool, token, and record to an organization, gating access by member role and per-member tool allow-lists.

### Networking & Communication

- [Authenticated Request Proxies](https://awesome-repositories.com/f/networking-communication/api-proxies/authenticated-request-proxies.md) — Relays requests to upstream services with stored credentials injected server-side, via command line or a raw HTTP request prefixed with the upstream URL. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [Local Traffic Interception Proxies](https://awesome-repositories.com/f/networking-communication/local-traffic-interception-proxies.md) — Starts a local proxy or shell wrapper that catches a program's outgoing calls and routes them through the gateway with credentials injected. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))

### Security & Cryptography

- [Proxy-Based Credential Injection](https://awesome-repositories.com/f/security-cryptography/credential-security/proxy-based-credential-injection.md) — Forwards upstream requests through one base URL while attaching stored provider keys on the server so callers never hold secrets.
- [Credential Sharing](https://awesome-repositories.com/f/security-cryptography/identity-access-management/credential-lifecycle-management/credential-security/credential-sharing.md) — Registers API keys, OAuth connections and tools once so every teammate and agent can use them while the secret never leaves the server. ([source](https://github.com/superdesigndev/treg#readme))
- [Team Credential Vaults](https://awesome-repositories.com/f/security-cryptography/identity-access-management/credential-lifecycle-management/credential-security/credential-sharing/team-credential-vaults.md) — Stores API keys and OAuth connections once for the whole team so every teammate and agent can use them while secrets stay encrypted on the server.
- [Credential Injection](https://awesome-repositories.com/f/security-cryptography/identity-based-access-brokers/credential-injection.md) — Attaches stored provider secrets to forwarded requests on the server so agents never handle raw keys. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))
- [Credential Injection Proxies](https://awesome-repositories.com/f/security-cryptography/secure-proxying/credential-injection-proxies.md) — Routes requests through a remote proxy that injects stored credentials, turning shared team skills into callable tools without exposing raw secrets. ([source](https://github.com/superdesigndev/treg/blob/main/pyproject.toml))
- [Tenant Isolation](https://awesome-repositories.com/f/security-cryptography/tenant-isolation.md) — Scopes every secret, tool, call and health check to the caller's organization so teams never see each other's data. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/multi-tenancy.md))
- [Spending Limits](https://awesome-repositories.com/f/security-cryptography/access-control/spending-limits.md) — Shows remaining credit and recent spend, supports manual or automatic top-ups, and bounds runaway spending with insufficient-balance errors and a daily ceiling. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [Bulk Credential and Skill Registration](https://awesome-repositories.com/f/security-cryptography/bulk-credential-and-skill-registration.md) — Scans directories for provider keys and skills, previews them, and registers the chosen ones so teammates' agents use them without holding secrets. ([source](https://github.com/superdesigndev/treg/blob/main/skills/treg/SKILL.md))
- [Credential Priority Routing](https://awesome-repositories.com/f/security-cryptography/credential-priority-routing.md) — Chooses whose credential serves each call, preferring the team's own key, then stored secrets, then a free public route, then the provider's key. ([source](https://github.com/superdesigndev/treg#readme))
- [SSO Enforcement Policies](https://awesome-repositories.com/f/security-cryptography/identity-provider-integrations/sso-integrations/sso-enforcement-policies.md) — Requires single sign-on sessions for teams after enforcement, links users by verified identity and syncs the directory to remove departed users. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/multi-tenancy.md))
- [OAuth Credential Persistence](https://awesome-repositories.com/f/security-cryptography/local-authentication/developer-credential-authentications/oauth-credential-persistence.md) — Connects services through browser consent or key entry, refreshes tokens automatically, and alerts owners when a stored credential stops working. ([source](https://github.com/superdesigndev/treg/blob/main/USAGE.md))
- [OAuth 2.0 Authorization Servers](https://awesome-repositories.com/f/security-cryptography/oauth-2-0-authorization-servers.md) — Acts as its own OAuth authorization server for assistant clients, with dynamic registration, exact redirect matching, and a team-scoped consent screen.
- [Enterprise SSO Security](https://awesome-repositories.com/f/security-cryptography/oauth-authentication/enterprise-sso-security.md) — Provides optional enterprise single sign-on, directory sync, role-based access and token revocation so companies control who may call shared tools and secrets. ([source](https://github.com/superdesigndev/treg/blob/main/docs/enterprise-sso.md))
- [Registered Team API Relays](https://awesome-repositories.com/f/security-cryptography/registered-team-api-relays.md) — Relays calls to team-registered APIs, injecting the stored team credential server-side while passing method, headers and body through unchanged. ([source](https://github.com/superdesigndev/treg/blob/main/skills/treg/SKILL.md))
- [Workspace Role Assignments](https://awesome-repositories.com/f/security-cryptography/role-based-access-control/workspace-role-assignments.md) — Grants owner, admin, member or viewer roles that decide who can manage, create, call or only view team resources. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/architecture/multi-tenancy.md))
- [Server-Side Encrypted Secret Stores](https://awesome-repositories.com/f/security-cryptography/secret-encryption/symmetric-secret-stores/server-side-encrypted-secret-stores.md) — Encrypts every stored secret with a key held only in the server environment, so the database and repository never hold the decryption key. ([source](https://github.com/superdesigndev/treg/blob/main/SECURITY.md))
- [Vendor CLI Credential Brokering](https://awesome-repositories.com/f/security-cryptography/vendor-cli-credential-brokering.md) — Executes vendor command-line tools as a dedicated user with a server-held credential, keeping the secret out of the agent's environment. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/README.md))

### Software Engineering & Architecture

- [First Usable Result Short-Circuiting](https://awesome-repositories.com/f/software-engineering-architecture/first-usable-result-short-circuiting.md) — Tries vendors cheapest first and stops at the first usable result, avoiding unnecessary paid lookups. ([source](https://github.com/superdesigndev/treg/blob/main/docs/context/interface/enrich-arena.md))

### Web Development

- [Request Relays](https://awesome-repositories.com/f/web-development/api-management-tools/api-request-handling/request-relays.md) — Forwards real upstream HTTP requests through a proxy prefix, injecting the stored credential server-side and stripping the caller's token. ([source](https://github.com/superdesigndev/treg/blob/main/README.md))

### Part of an Awesome List

- [Personal Contact Lookups](https://awesome-repositories.com/f/awesome-lists/security/email-and-identity-discovery/personal-contact-lookups.md) — Looks up personal email and phone for top candidates, trying providers cheapest first and verifying hits within a per-lookup cost ceiling. ([source](https://github.com/superdesigndev/treg/blob/main/skills/recruit/SKILL.md))
