truefoundry-ai-gateway

Configure TrueFoundry AI Gateway with OpenAI-compatible endpoints, auth, routing, and rate limiting.

13|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/truefoundry/tfy-gateway-skills --skill truefoundry-ai-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: truefoundry-ai-gateway
Source: https://github.com/truefoundry/tfy-gateway-skills/tree/main/skills/ai-gateway
Command: npx skills add https://github.com/truefoundry/tfy-gateway-skills --skill truefoundry-ai-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Expose and govern access to diverse LLM providers behind a single, OpenAI-compatible API, centralizing authentication, routing, and governance for safer and simpler AI deployments.

Core Features & Use Cases

  • Unified OpenAI-like endpoint for OpenAI-compatible clients across cloud and self-hosted models.
  • Centralized authentication with Personal Access Tokens (PAT) or Virtual Access Tokens (VAT), per-model access control, and observability.
  • Flexible routing, rate limiting, and budget controls to enforce cost constraints and resilience, plus MCP/server integrations for tool access.
  • Use cases include deploying a gateway in front of multiple providers, applying guardrails, monitoring usage, and enabling secure tool access for agents.

Quick Start

Install and configure the gateway by applying a manifest via tfy, then connect your client to the gateway endpoint.

Frequently Asked Questions about truefoundry-ai-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is an AI gateway and why do I need one for OpenAI-compatible LLMs?

An AI gateway exposes diverse LLM providers behind a single OpenAI-compatible API endpoint. You need it to centralize authentication, routing, and governance for safer and simpler AI deployments across cloud and self-hosted models.

How do I configure rate limiting and routing for multiple LLM providers?

You configure rate limiting and routing by applying gateway manifests via tfy apply. This deploys configurations to the gateway in production, enabling per-model routing, budget controls, and cost constraints for your LLM traffic.

Can I use Personal Access Tokens for authentication with an OpenAI-compatible gateway?

Yes, the gateway supports centralized authentication using Personal Access Tokens (PAT) or Virtual Access Tokens (VAT). This enables per-model access control to securely manage which clients can query specific models.

Does the gateway support integration with MCP servers for tool access?

Yes, the gateway integrates directly with MCP servers and tool providers. This enables secure tool access for AI agents, allowing them to utilize external functions while governed by the gateway's budget controls and guardrails.

How do I monitor LLM usage and apply guardrails in production?

You monitor usage and apply guardrails by deploying the gateway with tfy apply. The gateway provides built-in observability and guardrail configurations to track requests and enforce safety policies across all routed models.

What are the limitations of using a unified gateway for self-hosted models?

The gateway requires OpenAI-compatible clients to function properly. While it supports self-hosted models, deployments are managed via tfy apply manifests, meaning infrastructure must support this deployment method.