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


🌐 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 Function calling across supported providers with a unified API
🔌 MCP 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 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 OIDC authentication, configurable timeouts, and TLS support
☸️ Kubernetes 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 ~13MB 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, A2A calls on POST /a2a are relayed through auth and guardrails to multiple registered A2A servers, while OpenTelemetry collects metrics, traces and OTLP pushes from clients

🚀 Quick Start

Quick start: run the gateway with Docker, then install the CLI and chat
📋 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 214 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 7 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
  • 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 214 Apache-2.0 50 4 1 Updated Oct 5, 2026
  • 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 7 Apache-2.0 2 8 2 Updated Oct 5, 2026
  • docs Public

    Extensive documentation of the inference-gateway.

    inference-gateway/docs's past year of commit activity
    JavaScript 2 Apache-2.0 1 0 0 Updated Oct 5, 2026
  • google-calendar-agent Public

    A2A agent server enabling Google Calendar scheduling, retrieval, and automation

    inference-gateway/google-calendar-agent's past year of commit activity
    Go 21 Apache-2.0 2 0 0 Updated Oct 5, 2026
  • grafana-agent Public

    A2A agent server for grafana dashboards automation tasks

    inference-gateway/grafana-agent's past year of commit activity
    Go 1 Apache-2.0 0 0 0 Updated Oct 5, 2026
  • documentation-agent Public

    A2A agent server that provides Context7-style documentation capabilities for your agents

    inference-gateway/documentation-agent's past year of commit activity
    Go 2 Apache-2.0 1 0 0 Updated Oct 5, 2026
  • n8n-agent Public

    A2A agent server specialized in generating and automating n8n workflows

    inference-gateway/n8n-agent's past year of commit activity
    Go 3 Apache-2.0 0 0 0 Updated Oct 5, 2026
  • mock-agent Public

    A2A agent server for mocking and testing

    inference-gateway/mock-agent's past year of commit activity
    Go 2 Apache-2.0 1 0 0 Updated Oct 5, 2026
  • browser-agent Public

    A2A agent server for browser automation and web testing using Playwright

    inference-gateway/browser-agent's past year of commit activity
    Go 4 Apache-2.0 0 1 0 Updated Oct 5, 2026
  • adl-cli Public

    A command-line tool to scaffold and manage enterprise-ready AI Agents powered by the A2A (Agent-to-Agent) protocol

    inference-gateway/adl-cli's past year of commit activity
    Go 15 Apache-2.0 2 0 0 Updated Oct 5, 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…