qmetrics.net

AI Gateway

Open-source AI gateway with routing and guardrails for many LLMs

AI Gateway screenshot

Lightweight open-source gateway that routes requests to hundreds of language, vision, audio and image models through one API. It adds fallbacks, guardrails and logging, and includes an MCP Gateway for managing MCP servers.

Overview

Portkey AI Gateway is an open-source gateway that sits between applications and LLM providers. It offers a single API for routing to a large number of language, vision, audio and image models, so an application can switch providers without rewriting its integration. Initial setup is intended to take about two minutes.

Routing behaviour is controlled through configs, which let you define routing rules, add reliability features and set up guardrails. The gateway works with common client libraries and frameworks, including the JavaScript and Python SDKs, REST, the OpenAI SDKs, Langchain, LlamaIndex, Autogen and CrewAI. A local Gateway Console shows the logs of requests passing through it.

An MCP Gateway is also included. It acts as a central control plane for MCP servers across an organization, with authentication at the gateway, access control by team and user, logging of each tool call, and forwarding of user identity to the servers. It works with Claude Desktop, Cursor, VS Code and other MCP-compatible clients.

The gateway can run locally or be deployed through Docker, Node.js, Cloudflare or Replit, or used through Portkey Cloud. An enterprise version for private deployments on AWS, Azure, GCP, OpenShift and Kubernetes adds key management, caching, access rules, PII redaction and compliance support. An open pricing database for models supports cost tracking in the gateway.

Key features

  • Single API for routing to many LLM providers
  • Config-based routing rules and reliability settings
  • Built-in guardrails
  • Local Gateway Console for request logs
  • MCP Gateway with auth, access control and audit logs
  • Cost tracking from an open model pricing database
  • Works with OpenAI SDKs, Langchain, LlamaIndex, CrewAI
  • Enterprise private deployments with PII redaction and caching

Use cases

  • Routing app traffic across multiple LLM providers
  • Adding guardrails to LLM requests
  • Centrally managing MCP servers for a team
  • Tracking LLM usage and cost
  • Running a private enterprise AI gateway

Tags

Similar software

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT

Paperclip

Open-source orchestration platform for teams of AI agents

Node.js server and React UI for managing a team of AI agents like a company. Assign goals, build an org chart, set budgets, and track tasks and costs from one dashboard.

★ 117.5k⟳ yesterdayMIT

Agent Reach

CLI toolkit for AI agents to search and read many web platforms

Agent Reach installs platform connectors so AI agents can search and read sites such as GitHub, YouTube, Reddit, Bilibili, and Xiaohongshu from one command line, without relying on paid APIs for default channels.

★ 115.3k⟳ 4 days agoMIT

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ yesterdayApache-2.0