Skip to content
@inference-gateway

Inference Gateway

An open-source, cloud-native, high-performance gateway unifying multiple LLM providers, from local solutions like Ollama to major cloud providers.
Inference Gateway Logo

Inference Gateway

An open-source, cloud-native, high-performance gateway unifying multiple LLM providers

GitHub Stars License: Apache 2.0 Go Docs

📖 Documentation · 🚀 Getting Started · 💬 Discussions · 🐛 Issues


curl example: one OpenAI-compatible endpoint for every LLM provider

🌐 What is Inference Gateway?

Inference Gateway is a proxy server that provides a unified API to interact with multiple large language model (LLM) providers - from local solutions like Ollama to major cloud providers like OpenAI, Anthropic, Groq, Cohere, Cloudflare, and DeepSeek.

Stop managing multiple SDKs and API keys. Route all your LLM traffic through a single, production-ready gateway.

📋 Copy the command
curl -X POST http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-5.5", "messages": [{"role": "user", "content": "Hello!"}]}'

✨ Key Features

Feature Description
🔀 Unified API One OpenAI-compatible endpoint for 16 LLM providers, plus Anthropic Messages and OpenAI Responses compatibility
🔧 Tool-use Support Function calling across supported providers with a unified API
🔌 MCP Integration Native Model Context Protocol support for automatic tool discovery, and the gateway itself as an MCP server on POST /mcp
🚦 Guardrails OPA/Rego policies, secret and PII detection, and an optional external guardrail service - applied to requests, responses and MCP tool calls
🤖 A2A Protocol Agent-to-Agent coordination across specialized agents
🌊 Streaming Real-time token streaming from all supported providers
🖼️ Multimodal Vision input plus image, speech, sound effect, music and video generation endpoints
🛡️ Enterprise Ready OIDC authentication, configurable timeouts, and TLS support
☸️ Kubernetes Ready First-class K8s support with Operator and HPA scaling
📊 Observability OpenTelemetry Prometheus metrics following the GenAI semantic conventions, tracing, and an OTLP push endpoint
🔒 Privacy First Self-hosted, zero data collection, Apache 2.0 licensed
🌿 Lightweight ~10.8MB binary with minimal resource footprint

🗺️ Architecture

Requests flow from clients through OIDC auth, guardrails, MCP middleware and the provider router to 16 LLM providers, with tokens streaming back. MCP tool calls and the POST /mcp server endpoint reach MCP servers through guardrails, while OpenTelemetry collects metrics, traces and OTLP pushes from clients

🚀 Quick Start

Quick start: run with Docker or install the CLI
📋 Copy the commands
# Run with Docker
docker run -p 8080:8080 \
  -e OPENAI_API_KEY=your-key \
  ghcr.io/inference-gateway/inference-gateway:latest

# Or install the CLI
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash
infer init && infer chat

👉 Full setup guide: docs.inference-gateway.com/getting-started


🏗️ Ecosystem

Core

Repository Description
inference-gateway The core gateway server
operator Kubernetes Operator for lifecycle management
cli A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes
infer-action GitHub Action for long-horizon tasks
desktop Desktop App for computer-use
opentask Browser extension for browser-use
schemas MCP, A2A, and OpenAPI schemas
docs Documentation site

SDKs

Repository Language
sdk Go
typescript-sdk TypeScript
rust-sdk Rust
python-sdk Python

Agent Development

Repository Description
adk Agent Development Kit (Go)
typescript-adk Agent Development Kit (TypeScript)
rust-adk Agent Development Kit (Rust)

A2A Agents

Repository Description
google-calendar-agent Google Calendar scheduling & automation
browser-agent Browser automation via Playwright
documentation-agent Context7-style documentation access
grafana-agent Grafana dashboards automation
n8n-agent n8n workflow generation & automation
mock-agent Mocking and testing

Tools & Community

Repository Description
adl Agent Definition Language for declarative agent definitions
adl-cli Scaffold and manage A2A-powered enterprise agents
a2a-debugger A2A agents troubleshooter
registry Registry for A2A agents and skills
agents Agents repository
skills Skills repository
tokenless A E2E testing library for calling AI applications without wasting tokens
awesome-a2a Curated list of A2A-compatible agents

🤝 Contributing

We welcome contributions of all kinds - bug reports, feature requests, documentation improvements, and code!


Released under the Apache 2.0 License · Built with ❤️ in Go

Pinned Loading

  1. inference-gateway inference-gateway Public

    An open-source, cloud-native, high-performance gateway unifying multiple LLM providers, from local solutions like Ollama to major cloud providers such as OpenAI, Groq, Cohere, Anthropic, Cloudflare…

    Go 210 50

  2. rust-adk rust-adk Public

    An Agent Development Kit (ADK) allowing for seamless creation of A2A-compatible agents written in Rust.

    Rust 15 2

  3. adl adl Public

    A declarative language for defining AI agents, their capabilities, skills and tools. ADL simplifies agent development by generating consistent, enterprise-ready code from a single manifest. Build f…

    33 4

  4. cli cli Public

    A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes. It can run remotely from your mobile phone or automate your computer.

    Go 6 2

  5. adk adk Public

    An Agent Development Kit (ADK) allowing for seamless creation of A2A-compatible agents written in Go.

    Go 25 1

  6. sdk sdk Public

    An SDK written in Go for the Inference Gateway.

    Go 4 1

Repositories

Showing 10 of 31 repositories
  • cli Public

    A Git-first CLI coding agent that turns ideas, issues, and tasks into real code changes. It can run remotely from your mobile phone or automate your computer.

    inference-gateway/cli's past year of commit activity
    Go 6 Apache-2.0 2 4 1 Updated Sep 25, 2026
  • sdk Public

    An SDK written in Go for the Inference Gateway.

    inference-gateway/sdk's past year of commit activity
    Go 4 Apache-2.0 1 0 0 Updated Sep 25, 2026
  • inference-gateway Public

    An open-source, cloud-native, high-performance gateway unifying multiple LLM providers, from local solutions like Ollama to major cloud providers such as OpenAI, Groq, Cohere, Anthropic, Cloudflare and DeepSeek.

    inference-gateway/inference-gateway's past year of commit activity
    Go 210 Apache-2.0 50 6 0 Updated Sep 25, 2026
  • .github Public
    inference-gateway/.github's past year of commit activity
    1 0 0 0 Updated Sep 25, 2026
  • docs Public

    Extensive documentation of the inference-gateway.

    inference-gateway/docs's past year of commit activity
    JavaScript 2 Apache-2.0 1 1 0 Updated Sep 25, 2026
  • operator Public

    This project provides a Kubernetes Operator for managing the lifecycle of the inference-gateway and its related components. It simplifies deployment, configuration, and scaling of the gateway within Kubernetes clusters, enabling seamless integration of inference workflows.

    inference-gateway/operator's past year of commit activity
    Go 2 Apache-2.0 1 2 0 Updated Sep 25, 2026
  • rust-sdk Public

    An SDK written in Rust for the Inference Gateway

    inference-gateway/rust-sdk's past year of commit activity
    Rust 3 Apache-2.0 1 0 1 Updated Sep 25, 2026
  • typescript-sdk Public

    An SDK written in Typescript for the Inference Gateway.

    inference-gateway/typescript-sdk's past year of commit activity
    TypeScript 2 Apache-2.0 1 0 1 Updated Sep 25, 2026
  • python-sdk Public

    An SDK written in Python for the Inference Gateway

    inference-gateway/python-sdk's past year of commit activity
    Python 1 Apache-2.0 1 0 1 Updated Sep 25, 2026
  • schemas Public

    This repository contain the different schemas like MCP, A2A, OpenAPI.

    inference-gateway/schemas's past year of commit activity
    JavaScript 1 Apache-2.0 1 3 0 Updated Sep 25, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…