// Agent profile
treg is a self-hostable tool registry and proxy that acts as a unified routing layer for agent tool calls. Instead of configuring each agent with individual API keys for every service, teams point agents at a single treg endpoint with one token. The registry proxies requests to upstream APIs — SEO, social data, enrichment, scraping, image and video generation — injecting credentials server-side so secrets never leave the server. Teams can also register their own API keys, OAuth connections, vendor CLIs, and SKILL.md skills, making them available to every agent on the team without credential sprawl. The hosted service runs at treg.to, and the open-source server can be self-hosted with SQLite or Postgres, with secrets encrypted at rest via Fernet. Apache 2.0 licensed.
treg solves the credential-sprawl problem that grows with every tool an agent needs to call. A coding agent that queries a search API, enriches contacts, generates images, and posts to social media traditionally needs separate API keys for each service, configured individually per agent instance. treg centralizes all of that behind one endpoint: agents authenticate once, and the proxy handles upstream auth server-side.
The registry ships a curated catalog of third-party APIs spanning SEO tools, social media data, people and company enrichment, web scraping, and image and video generation. Teams can extend the catalog with their own private tools — anything from internal REST APIs to vendor CLIs to SKILL.md agent skills — so that every agent on the team can discover and call them without touching raw credentials.
treg runs as a lightweight Python server. Requests arrive with a single team token, get matched to the target tool in the registry, and are proxied upstream with the real API credentials injected. Credentials are stored encrypted at rest (Fernet), and the backing store is SQLite for single-node deployments or Postgres for teams. The hosted version at treg.to adds metered per-call billing and a managed catalog.
The registry acts as both a discovery layer and a security boundary. Agents search the catalog by capability (e.g., “image generation” or “SEO audit”), get back a tool spec with input/output schemas, and call it through the proxy. Because credentials are injected server-side, a compromised agent session cannot exfiltrate API keys. Teams manage access with roles, and audit logs track every tool call.
Teams running multiple agents across different frameworks that all need access to the same set of external APIs. Organizations that want to share internal tools with agents without distributing credentials. Platform teams building a self-service tool catalog for their engineering organization. Solo developers who want one endpoint to reach many APIs without managing keys per agent.
The Apache 2.0 license includes additional terms that restrict redistributing the code as a competing hosted registry without written permission — review the LICENSE file for details. The hosted service bills per call, so high-volume usage should be evaluated against direct API pricing. Self-hosting requires managing the encryption key and backing database.
Agent platform teams, DevOps engineers managing agent infrastructure, and developers building multi-tool agents who want centralized credential management and a unified tool catalog. Particularly valuable for teams running agents across multiple frameworks that all need the same external API access.
Open protocol for connecting AI agents to frontend applications — a universal contract for streaming events, tool calls, and state between agents and UIs.
Rust-based browser automation CLI from Vercel Labs that lets AI agents drive browsers one command at a time via accessibility-tree snapshots.
Rust-based desktop computer-use framework from Vercel Labs — agents control apps via accessibility trees instead of screenshots.