Inference Engineering

IV. Gateways & Routing

The layer in front of the engines: unified APIs, traffic management, model selection, and the protocols that clients speak.

23 entries · 4 subsections

Editor’s pick

IV.1 AI Gateways 7

  1. LiteLLM Tool

    Python SDK and proxy that translate many provider APIs into the OpenAI format, with virtual keys, budgets, load balancing, and request logging.

    64k stars · Updated 2026-11

  2. Agent Router Tool

    Envoy Gateway-based control plane that puts one OpenAI-compatible API over hosted models, self-hosted inference, and MCP servers; formerly Envoy AI Gateway.

    Apache-2.0 · 2.4k stars · Updated 2026-11

  3. Bifrost Tool

    Go gateway with one OpenAI-compatible API over many providers, adding failover, semantic caching, virtual keys with budgets, and MCP tool access.

    Apache-2.0 · 10k stars · Updated 2026-11

  4. Kong AI Gateway Tool

    AI plugins for the Kong API gateway that proxy and normalize LLM provider APIs, with prompt guards, templates, and request and response transforms.

    freemium · Apache-2.0 · 44k stars · Updated 2026-11

  5. Higress Tool

    Envoy and Istio-based API gateway, originally from Alibaba, with Wasm plugins for LLM proxying, token rate limits, AI caching, and MCP server hosting.

    Apache-2.0 · 9.8k stars · Updated 2026-11

  6. Plano Tool

    Envoy-based data plane for agent apps that adds preference-aligned model routing, agent orchestration, guardrail filter chains, and tracing; formerly archgw.

    Apache-2.0 · 7.1k stars · Updated 2026-10

  7. Portkey AI Gateway Tool

    TypeScript gateway that routes to many LLM providers with retries, fallbacks, load balancing, and pluggable guardrails, runnable on edge or Node.

    maintenance · MIT · 13k stars · Updated 2026-11

IV.2 Agent & MCP Gateways 4

  1. agentgateway Tool

    Rust proxy for agent traffic that speaks MCP and A2A as well as LLM APIs, adding authentication, policy, and observability across tools and agents.

    Apache-2.0 · 6.4k stars · Updated 2026-11

  2. ContextForge Tool

    Registry and proxy that federates MCP servers, A2A agents, and REST or gRPC APIs behind one endpoint, with auth, rate limits, and OpenTelemetry tracing.

    Apache-2.0 · 4.9k stars · Updated 2026-11

  3. MCP Gateway (Microsoft) Tool

    Reverse proxy and management layer for MCP servers on Kubernetes that handles request routing, authorization, and server deployment lifecycle.

    MIT · 925 stars · Updated 2026-11

  4. Docker MCP Gateway Tool

    Docker CLI plugin that runs each MCP server in an isolated container and exposes them to clients through a single gateway with managed secrets.

    MIT · 1.6k stars · Updated 2026-11

IV.3 Model Routing & Cascades 6

  1. vLLM Semantic Router Tool

    Policy-driven decision layer that classifies each request and selects or combines models across local and cloud backends by quality, latency, and cost.

    Apache-2.0 · 6.5k stars · Updated 2026-11

  2. llm-d Router Tool

    Endpoint picker for Gateway API inference pools that scores replicas by prefix-cache locality, load, and priority; formerly the llm-d inference scheduler.

    Apache-2.0 · 478 stars · Updated 2026-11

  3. vLLM Router Tool

    Rust request router for large vLLM fleets with cache-aware and consistent-hash load balancing, prefill/decode routing, and Kubernetes discovery.

    Apache-2.0 · 530 stars · Updated 2026-11

  4. SGLang Model Gateway Tool

    Rust gateway for SGLang worker fleets with cache-aware load balancing, prefill/decode routing, gRPC mode with gateway-side tokenization, and MCP tools.

    Apache-2.0 · 39k stars · Updated 2026-11

  5. NeMo Switchyard Library

    Rust routing library, embeddable in gateways or agent harnesses, that picks a model per request or agent step to balance task success against cost.

    Apache-2.0 · 3.7k stars · Updated 2026-11

  6. LLMRouter Library

    Research library that implements and benchmarks learned model-routing methods, from single-turn classifiers to multi-turn, multimodal, and agentic routers.

    MIT · 3.1k stars · Updated 2026-11

IV.4 API Specs & Protocols 6

  1. OpenAI API OpenAPI Spec Spec

    Machine-readable OpenAPI description of the OpenAI API, the de facto contract that most engines and gateways implement.

    MIT · 2.6k stars · Updated 2026-11

  2. Model Context Protocol Specification Spec

    JSON-RPC protocol and schema for connecting models and agents to external tools, resources, and prompts, published as dated versions.

    9.8k stars · Updated 2026-11

  3. Open Inference Protocol Spec

    REST and gRPC inference protocol, also called KServe v2, implemented by KServe, Triton, MLServer, and OpenVINO Model Server.

    Apache-2.0 · 79 stars · Updated 2025-05

  4. Open Responses Spec

    Provider-neutral spec derived from the OpenAI Responses API that defines items, semantic streaming events, and tool-call loops, with acceptance tests.

    Apache-2.0 · 1.2k stars · Updated 2026-10

  5. OpenAI Harmony Spec

    Prompt and response format used by gpt-oss, with separate analysis, commentary, and final channels, plus Rust and Python renderers.

    Apache-2.0 · 4.5k stars · Updated 2026-04

  6. Agent2Agent (A2A) Protocol Spec

    Linux Foundation protocol for agents to discover each other through agent cards and exchange tasks and messages over HTTP.

    Apache-2.0 · 27k stars · Updated 2026-11