Python Gateway

Open-source Python projects categorized as Gateway

Top 18 Python Gateway Projects

  1. 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
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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-12

    Anthropic 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.

  4. bitcart

    Bitcart is a free and open-source self-hosted payment processor for BTC, LTC, BCH, XMR, ETH, TRX, USDT and more

  5. ibeam

    IBeam is an authentication and maintenance tool used for the Interactive Brokers Client Portal Web API Gateway.

  6. 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.

  7. 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

  8. mcp-gateway

    A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents. (by lasso-security)

    Project mention: MCP Gateway and Registry | news.ycombinator.com | 2025-08-24
  9. LoraGW-Setup

    SX1301 Lora Concentrator Raspberry PI based gateway setup

  10. apisix-python-plugin-runner

    Apache APISIX Python plugin runner

  11. sift-gateway

    Reliability gateway for AI tool output: schema-stable, secret-safe, pagination-complete JSON for MCP and CLI agents.

    Project mention: Ask HN: What Are You Working On? (March 2026) | news.ycombinator.com | 2026-03-08

    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).

  12. uhomeuponor

    Custom Component to connect Home Assistant with Uhome Uponor Smatrix App

  13. 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
  14. publsp

    LN liquidity offers/purchases over Nostr

  15. 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.

  16. 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-20

    So I built promptrouter — a gateway that sits between your code and the LLM API. For every prompt, it decides:

  17. 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-10

    Repository: github.com/mroops0111/openapi-mcp-gateway

  18. agentport

    Secure gateway to connect your agents to any service

    Project mention: Show HN: AgentPort – open-source Security Gateway For Agents | news.ycombinator.com | 2026-04-29
  19. 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-08

    Repo: lofder/openclaw-gateway-stability-patch

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Gateway discussion

Log in or Post with

Python Gateway related posts

  • AI gateways: why and how

    2 projects | dev.to | 4 Jun 2026
  • Auto-labelling 1.2M robotics frames with VLMs: a failover story

    2 projects | dev.to | 25 May 2026
  • Every AI toolchain is inventing its own safety layer. We shipped one that works across all of them.

    3 projects | dev.to | 12 May 2026
  • Show HN: AgentPort – open-source Security Gateway For Agents

    1 project | news.ycombinator.com | 29 Apr 2026
  • An AI agent deleted our production database. The agent's confession is below

    5 projects | news.ycombinator.com | 26 Apr 2026
  • Why Your Diffusion Model Is Slow at Inference (And It's Not the UNet)

    2 projects | dev.to | 23 Apr 2026
  • LiteLLM Was Compromised. That's Why I'm Building GoModel

    2 projects | dev.to | 24 Mar 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com