A toolkit that generates agent-native command-line interfaces for existing software, plus a CLI-Hub registry for installing ready-made ones.
superdesigndev/treg
A proxy and CLI that gives AI agents one base URL and token to call a curated catalog of paid third-party APIs, plus your team's own keys and tools.
Alternativa open source a:OpenRouter
- Estrellas
- 5,778
- Forks
- 485
- Issues abiertos
- 175
- Último commit
- hace 44 minutos
¿Qué es?
Treg is a tool registry for AI agents, modeled on OpenRouter but for tools instead of models. An agent sends requests through one base URL with one token, and treg relays them to upstream APIs in a catalog covering SEO, social data, people and company enrichment, ads, scraping, and image or video generation. Catalog calls are billed per call from a prepaid team balance, and some endpoints are served through public routes that need no provider key.
Teams can also register their own endpoints, CLIs, OAuth connections and SKILL.md recipes. Credentials are encrypted at rest and injected server-side, so teammates' agents can use them without ever seeing the key. Calls made with a team's own provider key are relayed without metering. The proxy forwards requests faithfully and only adds the injected credential, so it keeps working when upstream APIs change.
The project ships a Python CLI (`treg`), a dashboard, an MCP surface, and a Claude Code plugin. It is self-hostable with SQLite for development or Postgres in production, and includes team and role management, health checks for credentials, and an audit log of calls.
Funciones clave
- 01One base URL and token gives access to a catalog of third-party API endpoints.
- 02Catalog calls are billed per call from a prepaid team balance.
- 03Team-owned API keys, OAuth connections, CLIs and skills are shared without exposing credentials.
- 04Credentials are encrypted at rest and injected on the server side.
- 05Includes a CLI, an MCP surface, a Claude Code plugin and a dashboard.
- 06Can be self-hosted with SQLite for development or Postgres for production.
Casos de uso
- Giving an AI agent access to SEO, social or enrichment APIs without signing up for each vendor.
- Letting a team's agents use shared API keys and CLIs without distributing the secrets.
- Running agent workflows that need per-call billing and an audit log of calls.
- Self-hosting an internal tool registry for a development team.
Temas
Preguntas frecuentes
- ¿Qué es treg?
- A proxy and CLI that gives AI agents one base URL and token to call a curated catalog of paid third-party APIs, plus your team's own keys and tools. Treg is a tool registry for AI agents, modeled on OpenRouter but for tools instead of models. An agent sends requests through one base URL with one token, and treg relays them to upstream APIs in a catalog covering SEO, social data, people and company enrichment, ads, scraping, and image or video generation. Catalog calls are billed per call from a prepaid team balance, and some endpoints are served through public routes that need no provider key.
- ¿treg es gratuito? ¿Qué licencia tiene?
- treg es open source bajo la licencia Other. Revisa los términos de la licencia antes de usarlo en productos comerciales.
- ¿treg sigue mantenido?
- Mantenimiento activo. El último commit de treg fue el 19 oct 2026.
- ¿Para qué puedo usar treg?
- Giving an AI agent access to SEO, social or enrichment APIs without signing up for each vendor. Letting a team's agents use shared API keys and CLIs without distributing the secrets. Running agent workflows that need per-call billing and an audit log of calls. Self-hosting an internal tool registry for a development team.
- ¿Dónde consigo treg?
- El código fuente y las instrucciones de instalación están en GitHub: https://github.com/superdesigndev/treg
Resumen generado por IA a partir del README del proyecto. Las estadísticas de GitHub se actualizan a diario.
Proyectos relacionados
Desktop, mobile, web and CLI app for running and orchestrating multiple coding agents such as Claude Code, Codex and OpenCode in parallel worktrees.
Self-hosted auth gateway that lets AI agents call 1,000+ SaaS providers through SDK, CLI, MCP, HTTP, and OpenAPI without handing over credentials.
A CLI that manages a team's AI assets (skills, rules, agents, MCP servers, models) in a git repo and syncs them to coding agents automatically.
A personal context store that gives AI coding agents like Codex, Claude Code and OpenCode persistent, searchable project knowledge via a CLI, MCP server and desktop app.
AX is an open-source declarative orchestrator for running large numbers of sandboxed autonomous agent tasks in a Kubernetes cluster.