SaaSHub helps you find the best software and product alternatives Learn more →
Top 18 Python Gateway Projects
-
litellm
Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, VLLM, NVIDIA NIM]
Project mention: AI OSS tool repo goes archived over night after raising $7.3M Seed | news.ycombinator.com | 2026-06-13 -
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
mcp-context-forge
An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.
Project mention: Every AI toolchain is inventing its own safety layer. We shipped one that works across all of them. | dev.to | 2026-05-12Anthropic shipped Claude Code hooks — PreToolUse, PostToolUse, Notification, and friends. They run as subprocesses, get JSON on stdin, and decide whether the tool call proceeds. OpenAI ships tool guardrails in the Agents SDK — Python (and now TS) callables you attach to a tool, with tripwire booleans that abort the run. The MCP ecosystem is sprouting gateways and proxies for the same purpose: MCPX, IBM ContextForge, Microsoft's MCP Gateway, Lasso Security's MCP Gateway — all reasonable answers to the same wire-level question.
-
bitcart
Bitcart is a free and open-source self-hosted payment processor for BTC, LTC, BCH, XMR, ETH, TRX, USDT and more
-
ibeam
IBeam is an authentication and maintenance tool used for the Interactive Brokers Client Portal Web API Gateway.
-
enterprise_gateway
A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
-
shkeeper.io
SHKeeper is a self-hosted and open-source cryptocurrency gateway payment processor. It's integrate with popular CMS, any e-commerce, your own code or product
-
mcp-gateway
A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents. (by lasso-security)
-
-
-
sift-gateway
Reliability gateway for AI tool output: schema-stable, secret-safe, pagination-complete JSON for MCP and CLI agents.
I’m building *Sift*, a drop-in gateway that makes LLM tool use far more reliable when tools return large JSON payloads. The usual pattern is that agents paste raw tool outputs directly into the prompt, which quickly blows up context, causes truncation/compaction, and leads to incorrect answers once earlier results disappear. Sift sits between the model and its tools (MCP, APIs, CLIs), stores the full payload locally as an artifact (indexed in SQLite), and returns only a compact schema plus an `artifact_id`. When the model needs something from the data, it runs a tiny Python query against the stored artifact instead of reasoning over thousands of tokens of JSON. In benchmarks across 103 questions on real datasets, this approach cut input tokens by ~95% and improved answer accuracy from ~33% to ~99%. Repo: [https://github.com/lourencomaciel/sift-gateway](https://github.com/lourencomaciel/sift-gateway).
-
-
aqueduct
Aqueduct is a simple yet fully-featured AI gateway built on top of the LiteLLM Router SDK using Django. (by TU-Wien-dataLAB)
Project mention: Show HN: Aqueduct AI Gateway – A Self-Hostable AI Gateway Without the "Taxes" | news.ycombinator.com | 2025-07-01 -
-
OPNsense Gateway Healthcheck – A Dockerized Monitoring Helper Tool
A Python-based Flask application to monitor the health of gateways in an OPNsense network. The application provides endpoints to check the health status of all gateways, specific gateways by name or address, and lists of healthy or unhealthy gateways. These gateways can include both internet service provider (ISP) and VPN-based gateways.
-
codecontext
Reduce your LLM costs by 40-70% automatically. Routes prompts locally, compacts context, tracks real savings. (by batish52)
Project mention: I Tracked Every LLM API Call For a Week — 65% Were Unnecessary | dev.to | 2026-04-20So I built promptrouter — a gateway that sits between your code and the LLM API. For every prompt, it decides:
-
openapi-mcp-gateway
One command turns any OpenAPI/Swagger spec, or your existing FastAPI app, into a Model Context Protocol (MCP) server. Mount several APIs on one gateway with Bearer, API Key, and OAuth2 (authorization_code, client_credentials) auth built in. Plug into Claude Desktop, Cursor, Codex, or any MCP client.
Project mention: I Built openapi-mcp-gateway: Multi-Spec OpenAPI-to-MCP With Real OAuth2 In Python | dev.to | 2026-05-10Repository: github.com/mroops0111/openapi-mcp-gateway
-
Project mention: Show HN: AgentPort – open-source Security Gateway For Agents | news.ycombinator.com | 2026-04-29
-
openclaw-gateway-stability-patch
Reusable overlay toolkit for stabilizing gateway WebSocket handshakes. Rule-based patches with apply/check/rollback CLI. Pure Python, zero deps, MIT. | 可复用 Gateway 稳定性 overlay 工具,规则补丁 + apply/check/rollback,纯 Python,MIT 协议。
Project mention: I Killed My OpenClaw — Built the Memory, the Gateway, the Patches. Then the Token Bill Arrived. | dev.to | 2026-04-08Repo: lofder/openclaw-gateway-stability-patch
Python Gateway discussion
Python Gateway related posts
-
AI gateways: why and how
-
Auto-labelling 1.2M robotics frames with VLMs: a failover story
-
Every AI toolchain is inventing its own safety layer. We shipped one that works across all of them.
-
Show HN: AgentPort – open-source Security Gateway For Agents
-
An AI agent deleted our production database. The agent's confession is below
-
Why Your Diffusion Model Is Slow at Inference (And It's Not the UNet)
-
LiteLLM Was Compromised. That's Why I'm Building GoModel
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Jun 2026
Index
What are some of the best open-source Gateway projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | litellm | 50,198 |
| 2 | mcp-context-forge | 3,864 |
| 3 | bitcart | 949 |
| 4 | ibeam | 831 |
| 5 | enterprise_gateway | 666 |
| 6 | shkeeper.io | 579 |
| 7 | mcp-gateway | 376 |
| 8 | LoraGW-Setup | 79 |
| 9 | apisix-python-plugin-runner | 41 |
| 10 | sift-gateway | 30 |
| 11 | uhomeuponor | 25 |
| 12 | aqueduct | 23 |
| 13 | publsp | 22 |
| 14 | OPNsense Gateway Healthcheck – A Dockerized Monitoring Helper Tool | 22 |
| 15 | codecontext | 2 |
| 16 | openapi-mcp-gateway | 1 |
| 17 | agentport | 1 |
| 18 | openclaw-gateway-stability-patch | 1 |