Tramtai
DescargarDownload
Pasarela local para Windows, macOS y LinuxLocal gateway for Windows, macOS and Linux

Tus agentes de IA, como una API local. Your AI agents, as a local API.

Tramtai convierte Claude Code, Codex, GitHub Copilot CLI, Antigravity y la API de Gemini en una API compatible con OpenAI y Anthropic que funciona en tu equipo. Conecta cualquier aplicación cambiando solo la URL. Tramtai turns Claude Code, Codex, GitHub Copilot CLI, Antigravity and the Gemini API into an OpenAI- and Anthropic-compatible API that runs on your computer. Connect any app by changing just the URL.

Windows 10 y 11, macOS 11 o posterior y Linux · gratis para uso no comercial Windows 10 and 11, macOS 11 or later and Linux · free for non-commercial use

Conecta estos agentesWorks with these agents

  • Claude Code
  • Codex
  • GitHub Copilot CLI
  • Gemini API
  • Antigravity

Desde tus apps y SDKFrom your apps and SDKs

  • SDK de OpenAIOpenAI SDK
  • SDK de AnthropicAnthropic SDK
  • curl
  • LangChain
  • n8n
  • API propia (OpenAPI)Native API (OpenAPI)
Cómo funcionaHow it works

Tres paradas y tu app ya habla con un agente.Three stops and your app is talking to an agent.

  1. Instala TramtaiInstall Tramtai

    En Windows, macOS o Linux. Queda en la bandeja del sistema con el servicio en marcha.On Windows, macOS or Linux. It sits in the system tray with the service running.

  2. Conecta un agenteConnect an agent

    Usa tu suscripción de Claude, ChatGPT o GitHub Copilot para uso personal, o una clave de API. Necesitas tener instalado el CLI del agente.Use your Claude, ChatGPT or GitHub Copilot subscription for personal use, or an API key. The agent's CLI must be installed.

  3. Apunta tu aplicaciónPoint your app

    Cambia la URL base de tu SDK de OpenAI o Anthropic y elige agente y modelo en el campo model.Change the base URL of your OpenAI or Anthropic SDK and pick agent and model in the model field.

from openai import OpenAI

# Tramtai → Mis APIs / My APIs: URL y clave · URL and key
cliente = OpenAI(base_url="http://127.0.0.1:17373/openai/v1", api_key="tu-clave-de-tramtai")

respuesta = cliente.chat.completions.create(
    model="claude/sonnet",
    messages=[{"role": "user", "content": "Resume este contrato en tres puntos"}],
)
Por qué TramtaiWhy Tramtai

Los agentes que ya pagas, al servicio de tus apps.The agents you already pay for, working for your apps.

Sin servidores intermedios ni cuentas nuevas: tu app habla con Tramtai como con OpenAI o Anthropic, y Tramtai con el agente que elijas.No middle servers, no new accounts: your app talks to Tramtai as it would to OpenAI or Anthropic, and Tramtai talks to the agent you pick.

LocalLocal

Escucha solo en tu equipo y no envía estadísticas a nadie.Listens only on your computer and sends no statistics anywhere.

CompatibleCompatible

Rutas de OpenAI y Anthropic, con streaming y herramientas, más una API propia.OpenAI and Anthropic routes, with streaming and tools, plus a native API.

Sin cortesNo outages

Si un agente llega a su límite, la petición sigue con el siguiente de tu lista.If an agent hits its limit, the request moves on to the next one on your list.

Bajo controlUnder control

Una clave y un presupuesto por aplicación, con aviso antes del límite.One key and one budget per app, with a warning before the limit.

Así se veHow it looks

Tu red, a la vista.Your network, at a glance.

InicioHome

Una línea por agente, con su estadoOne line per agent, with its status

Ves de un vistazo qué apps llegan a Tramtai, qué agentes están en servicio y cómo van tus peticiones.See at a glance which apps reach Tramtai, which agents are in service and how your requests are going.

Inicio: tus apps, Tramtai y una línea por agente con su estado Inicio: tus apps, Tramtai y una línea por agente con su estado
ProbarTry

De la prueba al código en un clicFrom test to code in one click

Escribe instrucciones, elige agente y esfuerzo, prueba con tus archivos y copia la petición lista en curl, Python o Node. Si funciona, guárdala como API.Write instructions, pick agent and effort, test with your files and copy the request ready in curl, Python or Node. If it works, save it as an API.

Probar: la receta con GitHub Copilot y «Ver como código» con la petición lista en Python Probar: la receta con GitHub Copilot y «Ver como código» con la petición lista en Python
Mis APIsMy APIs

Una API por aplicaciónOne API per app

Cada app con su clave, sus modelos y su presupuesto. Búscalas, fíltralas y mira cómo conectar cada una.Each app with its own key, models and budget. Search, filter and see how to connect each one.

Mis APIs en pestañas: tus APIs por grupo, con buscador, filtros por estado y agente, y páginas Mis APIs en pestañas: tus APIs por grupo, con buscador, filtros por estado y agente, y páginas
AgentesAgents

Conecta cada agente a tu maneraConnect each agent your way

Con tu suscripción o con una clave guardada cifrada en el sistema. Tramtai te dice qué le falta a cada uno.With your subscription or with a key stored encrypted in the system. Tramtai tells you what each one is missing.

Agentes: una fila por agente con su versión, cómo está conectado y el filtro por estado Agentes: una fila por agente con su versión, cómo está conectado y el filtro por estado
AgentesAgents

Cinco agentes, una sola API.Five agents, one API.

Tu app pide agente/modelo en el campo model y Tramtai la lleva por la línea de ese agente.Your app asks for agent/model in the model field and Tramtai sends it down that agent's line.

CL

Claude Code

Tu suscripción de Claude (uso personal) o una clave de API de Anthropic.Your Claude subscription (personal use) or an Anthropic API key.

  • Esfuerzo de bajo a máximoEffort from low to maximum
  • Respuesta en vivoLive answer
CX

Codex

Tu cuenta de ChatGPT (uso personal) o una clave de API de OpenAI.Your ChatGPT account (personal use) or an OpenAI API key.

  • Esfuerzo de bajo a muy altoEffort from low to very high
  • Respuestas con esquema JSONJSON schema answers
GH

GitHub Copilot CLI

Tu cuenta de GitHub Copilot (Free, Pro o de empresa) con copilot login, o un token de GitHub. Cada petición gasta créditos de tu plan.Your GitHub Copilot account (Free, Pro or business) with copilot login, or a GitHub token. Every request uses credits from your plan.

  • Muestra el modelo que eligióShows the model it picked
  • Respuesta en vivoLive answer
GM

Gemini API

Tu clave de la Gemini API, sin instalar ningún CLI.Your Gemini API key, with no CLI to install.

  • Respuesta en vivoLive answer
  • Respuestas con esquema JSONJSON schema answers
AG

Antigravity

El CLI de Google con tu clave de la Gemini API, sin herramientas: un hook las niega todas. Por ahora, desde Probar, la terminal y la CLI.Google's CLI with your Gemini API key, without tools: a hook denies them all. For now, from Try, the terminal and the CLI.

  • Esfuerzo de bajo a máximoEffort from low to maximum
  • Respuesta en vivoLive answer

Cada agente vive en su propio módulo y se comprueba con su CLI real antes de usarse desde tus apps: un mensaje hostil no le hace leer archivos, ejecutar órdenes ni salir a la red.Each agent lives in its own module and is checked with its real CLI before your apps can use it: a hostile message can't make it read files, run commands or reach the network.

FuncionesFeatures

Una red con una línea por agente.A network with one line per agent.

Cada petición viaja por la línea de su agente, y tú ves el recorrido completo: en cola, en ejecución y llegada.Every request travels along its agent's line, and you see the whole journey: queued, running and arrived.

ConectaConnect

Compatible con tus SDKWorks with your SDKs

Rutas compatibles con OpenAI (chat y responses) y Anthropic (messages), con streaming y herramientas (tools), más una API propia con eventos en vivo.OpenAI-compatible (chat and responses) and Anthropic-compatible (messages) routes, with streaming and tool calling (tools), plus a native API with live events.

Desde donde prefierasUse it your way

App con icono en la bandeja, Web UI en español e inglés, terminal interactiva y CLI. Todas ven los mismos trabajos.Tray app, Web UI in Spanish and English, interactive terminal and CLI. They all see the same jobs.

Archivos de verdadReal documents

Adjunta PDF, Word, Excel, PowerPoint o ZIP: Tramtai los convierte a texto antes de pasarlos al agente.Attach PDF, Word, Excel, PowerPoint or ZIP files: Tramtai turns them into text before handing them to the agent.

API propia con OpenAPINative API with OpenAPI

Con /api/v1 sigues, cancelas y reintentas cada petición. Trae su especificación OpenAPI, y «Ver como código» te da la petición lista en curl, Python o Node.With /api/v1 you follow, cancel and retry every request. It ships its OpenAPI spec, and “View as code” gives you the request ready in curl, Python or Node.

ControlaControl

Una API por aplicaciónOne API per app

Crea varias APIs con su propia clave, los modelos permitidos, instrucciones fijas y un presupuesto diario o mensual que corta al llegar al límite. Actívalas o detenlas sin reiniciar.Create several APIs, each with its own key, allowed models, fixed instructions and a daily or monthly budget that cuts off at the limit. Turn them on or off without restarting.

De la prueba a la API en un clicFrom test to API in one click

En Probar defines instrucciones, agente y esquema JSON, lo pruebas con tus archivos y lo guardas como API. Tu app envía el mensaje y recibe la respuesta con esa forma.In Try you set instructions, agent and JSON schema, test it with your files and save it as an API. Your app sends the message and gets the answer in that shape.

Modelo y esfuerzo a tu medidaYour model, your effort

Elige modelo en cada petición y, en los agentes que lo admiten, cuánto razona: de bajo a máximo.Pick the model per request and, with the agents that support it, how hard it reasons: from low to maximum.

Ayuda dentro de la appHelp inside the app

Guías paso a paso, qué hacer ante cada error y un buscador, en español e inglés, sin salir de Tramtai.Step-by-step guides, what to do about each error and a search box, in Spanish and English, without leaving Tramtai.

ProtegeProtect

Respaldo entre agentesAgent fallback

Si un agente llega a su límite o falla antes de responder, la petición sigue con el siguiente de tu lista, sin que tu app lo note.If an agent hits its limit or fails before answering, the request continues with the next one on your list, without your app noticing.

Respuestas con formaShaped responses

Elige una plantilla o arma los campos, sin escribir JSON Schema. Tramtai valida la respuesta, te dice qué campo falló y la corrige con un clic.Pick a template or build the fields, without writing JSON Schema. Tramtai validates the response, tells you which field failed and corrects it with one click.

Claves a salvoKeys kept safe

Tus claves de proveedor quedan cifradas en el almacén del sistema, y las de tus APIs se ven una sola vez y se regeneran con un clic si se filtran.Your provider keys stay encrypted in the system store, and your APIs' keys are shown only once and can be regenerated in one click if they leak.

Agentes con las manos atadasAgents with their hands tied

Los agentes no tienen terminal ni pueden escribir archivos o salir a la red (Claude, GitHub Copilot y Antigravity, sin herramientas; Codex, en solo lectura), trabajan en una carpeta temporal vacía y no reciben las claves de los demás.Agents have no terminal and can't write files or reach the network (Claude, GitHub Copilot and Antigravity without tools; Codex read-only), work in an empty temporary folder and never get the other agents' keys.

DescargarDownload

Elige tu sistema.Pick your system.

La misma app en los tres, con su icono en la bandeja. Cada archivo trae su suma SHA-256 en SHA256SUMS.txt.The same app on all three, with its tray icon. Every file has its SHA-256 checksum in SHA256SUMS.txt.

Windows 10 · 11

El instalador (…-instalador-windows-x64.exe) es para tu usuario, no pide permisos de administrador y se actualiza con un clic. También hay una copia portable en .zip.The installer (…-instalador-windows-x64.exe) is per user, needs no administrator rights and updates with one click. There's also a portable .zip.

Descargar para WindowsDownload for Windows

macOS 11+

El .dmg sirve para Intel y Apple Silicon. Con Homebrew se instala sin el aviso de Gatekeeper:The .dmg works on Intel and Apple Silicon. With Homebrew it installs without the Gatekeeper prompt:
brew tap mscottb/tramtai https://github.com/MscottB/Tramtai
brew install --cask tramtai

Descargar para macOSDownload for macOS

Linux

Paquetes .deb y .rpm (x64 y ARM) con la app de escritorio. Si solo quieres la CLI y el servicio, también con Homebrew:.deb and .rpm packages (x64 and ARM) with the desktop app. For just the CLI and the service, Homebrew works too:
brew install mscottb/tramtai/tramtai

Descargar para LinuxDownload for Linux
PrivacidadPrivacy

Todo se queda en tu equipo.Everything stays on your computer.

Tramtai es un puente: no tiene servidores propios ni cuentas. Tus peticiones van directamente de tu equipo al proveedor que elijas.Tramtai is a bridge: it has no servers and no accounts. Your requests go straight from your computer to the provider you choose.

  • RedNetworkEscucha solo en 127.0.0.1 y cada API exige su propia clave.Listens only on 127.0.0.1 and every API requires its own key.
  • ClavesKeysTus claves de API quedan cifradas en el almacén del sistema (Administrador de credenciales, Llavero de macOS o Secret Service de Linux), nunca en los archivos de Tramtai. La clave de cada API solo se ve al crearla y la Web UI no se abre con ella. Tramtai jamás lee las credenciales de los CLI: con GitHub Copilot solo anota qué cuenta inició sesión.Your API keys are encrypted in the system store (Credential Manager, macOS Keychain or the Linux Secret Service), never in Tramtai's files. Each API's key is shown only when it's created, and it doesn't open the Web UI. Tramtai never reads the CLIs' credentials: with GitHub Copilot it only notes which account is signed in.
  • DatosDataLas respuestas caducan a las 24 horas y puedes vaciar el historial cuando quieras.Responses expire after 24 hours and you can clear the history at any time.
  • TelemetríaTelemetryNinguna. Tramtai no envía estadísticas de uso a nadie.None. Tramtai sends no usage statistics anywhere.
EmpiezaGet started

Gratis para uso personal y no comercial.Free for personal and non-commercial use.

Tramtai se publica con la licencia PolyForm Noncommercial 1.0.0. Para usarlo en una empresa o en un producto comercial, escríbeme. Tramtai is released under the PolyForm Noncommercial 1.0.0 license. To use it in a business or a commercial product, get in touch.