← SOLUTIONS

Tuskira open-sources AI Agent Gateway to keep credentials out of agent configs

Tuskira released AI Agent Gateway, an open-source gateway that sits between AI agents and the MCP tool servers and model providers they call. Agents carry only a gateway key: the gateway checks each call against the agent's role and profile, attaches the real credential from an encrypted store, and logs denied calls, so tokens for services like GitHub never sit in agent configs. It runs self-hosted and needs no Tuskira account.

Tuskira has released AI Agent Gateway, an open-source, self-hosted gateway that sits between AI agents and everything they call: MCP tool servers that connect them to services such as GitHub and Jira, and the model providers they send prompts to (Anthropic directly or via AWS Bedrock, OpenAI and Gemini). It runs as a single binary in the user's own environment and doesn't require a Tuskira account.

The problem it targets is credential sprawl. A team running coding assistants and homegrown bots typically copies model keys and MCP credentials into every agent's configuration, on every laptop and CI runner, so anyone who gets one of those files gets the credentials inside it. With the gateway, agents hold only a gateway-issued API key tied to a tenant and a role. The gateway checks that key and the agent's profile on every tool call, not just when tools are listed, then pulls the real credential from an encrypted store and attaches it to the outbound request, so the agent never sees the GitHub or Jira token. Denied calls return an error and are logged without reaching the backend.

The gateway also proxies model calls to the supported providers behind one endpoint, recording token usage and estimated cost for each call, and keeps access logs, model logs and an analytics dashboard in an embedded admin console. By default it refuses to connect to loopback, private and cloud-metadata addresses, so a misconfigured or malicious connector can't be used to reach internal systems.

It runs on macOS and Linux via Docker Compose, with PostgreSQL as the only required dependency and optional Valkey/Redis and ClickHouse for scaling and analytics. The project notes that the demo stack stores request and response bodies so the console can display them, and documents how to switch that off.

Sources

  1. GitHub: Tuskira/ai-agent-gateway github.com
← More SOLUTIONS news