Kong: Cloud-native API and LLM gateway
Lua-based reverse proxy with pluggable architecture.
Learn more about Kong
Kong is an open-source gateway written in Lua and C that sits between clients and backend services to handle traffic routing and policy enforcement. It operates as a reverse proxy with a pluggable architecture, allowing users to extend functionality through custom plugins while maintaining a RESTful admin API for configuration. The system supports multiple deployment models including database-backed, database-less (declarative), and hybrid control plane/data plane separation. Common deployments include Kubernetes ingress controller usage, microservice mesh integration, and API management for both traditional REST APIs and LLM traffic routing across multiple providers.
Plugin-based extensibility
Kong's architecture centers on a plugin system that allows custom logic to be injected at various request/response stages. Over 60 plugins are available for authentication, rate limiting, request transformation, logging, and observability, with a developer hub for creating additional plugins.
Multi-model LLM routing
Kong includes a unified API abstraction layer for routing requests across different LLM providers including OpenAI, Anthropic, AWS Bedrock, Azure AI, and others. This allows switching between providers or load balancing across multiple LLM backends without client-side changes.
Flexible deployment models
Kong supports database-backed deployments, database-less declarative configuration via decK, and hybrid architectures separating control planes from data planes. This flexibility allows deployment in various infrastructure contexts without vendor lock-in.
import requests
admin_api = "http://localhost:8001"
service = requests.post(f"{admin_api}/services", json={
"name": "user-service",
"url": "http://api.example.com/users"
})
route = requests.post(f"{admin_api}/services/user-service/routes", json={
"paths": ["/api/users"],
"methods": ["GET", "POST"]
})Related Repositories
Discover similar tools and frameworks used by developers
ioredis
Robust TypeScript Redis client supporting clusters and Sentinel.
redis-py
High-performance Python Redis client with clustering, pipelines, and async operation support.
Ruby on Rails
Convention-driven Ruby framework for full-stack web applications.
chi
Composable Go HTTP router for web services with middleware chains and route groups.
Cal.com
Open-source scheduling platform for calendar booking, self-hosted alternative to proprietary services.
Related Reading
Guides and comparisons from the Greptile content library
What is a sandbox environment? Everything you need to know
A sandbox is an isolated, disposable environment where code can run without touching anything else. Learn how sandboxes work, what teams use them for, how to set one up, and why they matter more now that agents write so much of the code.
What is a monorepo? What engineering leaders should know
A monorepo keeps every project, library, and service in one repository. Learn how monorepos compare to multi-repos and monoliths, the real pros and cons, best practices, the build tools worth knowing, and why context matters for AI and code review in a monorepo.
What is agentic coding? Benefits, risks, and best tools to consider
What engineering leaders need to know about agentic coding: how it differs from AI coding and vibe coding, how it works, the benefits and risks, and the tools worth evaluating.
Automated Code Review: How It Works & Best Tools [2026]
What automated code review is, how it differs from traditional and AI code review, the six types of code review automation tools, and why linters and SAST alone are no longer enough as agentic coding grows.