Skip to content
kaliprosoftwarePublic

About

Flow - Unified AI (LLM , MCP, A2A) Gateway & API Gateway ++ Skills & Agents Registry ++ Model Catalogue. Flow is purpose built to be hyper-fast, secure and extremely lightweight.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Flow Unified Gateway

Flow Unified Gateway


AI (LLM · MCP · Agent) Gateway & API Gateway
With Registry for Skills & Agents
And Model Catalogue

Flow Unified Gateway Overview

Purpose-built to be hyper-fast, secure and extremely lightweight

Flow is a Unified gateway for

  • API
  • LLM
  • MCP and
  • Agent traffic

One fast, secure, lightweight gateway instead of a different products per protocol. It sits in front of your services doing all the good stuff so your applications don't have to for every interaction point.

Currently Flow is an API gateway that already carries LLM, MCP and agent traffic today. The AI-aware control layer (the LLM, MCP and agent gateways) and the MCP, agent and skills registries are on the Roadmap. See the Roadmap for more details.

Pre-release software. Flow is under active development, so configuration and behavior may change between builds. Once it does, changes that break existing configurations will be called out explicitly.

Why Flow

Flow Gateway is

1. Unified across legacy and modern needs

  • API, LLM, MCP, Agents

Most platforms end up running a pile of separate products to carry traffic: an API gateway for REST services, a different gateway in front of LLM calls, MCP calls and agent calls. Flow is one unified product.

2. Native AI Features and Native Modern API foundations

  • Smart Routing, Smart Semantic Cache, Universal API for LLM, Prompt Management, Load Balacing & Failover, Context & Memory Management, FinOps & Token Budget, Guardrails & Content Safety
  • Identity, Access Controls, Threat Protection, Redaction & Data Loss Prevention, Governance, Observability, Audit Trials, Secret Vault, Data Residency

Native AI features and modern API foundations are critical drivers rapidly evolving integration landscape. Flow is feature rich with native features for both AI and API world.

3. Agentic Load Profile Ready

  • Fast and cheap to run
  • More work per CPU/MB
  • Fewer machines for the similar traffic profile than competitors
  • High throughput, Llow latency
  • No Virtual machine - direct native binary
  • No garbage collection pause slow downs
  • Scales either direction

Agentic traffic has already surpassed human traffic on the internet. With shifting patterns and Tsunami of traffic that can arrive from agents, every API and AI Gateway should be built for extreme traffic profile with the least amount of overhead both in terms of compute and runtime overhead. Flow is purpose built for agentic load. A big multi-core box or a small cold-starting container, FLow works any deployment pattern.

4. Unified AI Discovery

  • Agents Registry
  • MCP Registry
  • Skills Registry
  • Model Catalogue

MCP registry to track tool servers, an agent registry for agent-to-agent traffic, a skills registry for what those agents are allowed to do and yet another catalogue to know which models anyone is even allowed to use. Each one is its own config format, its own auth model, its own blind spot at the seams.

5. Secure by Construction

  • Secure Foundations
  • Industry Standard security

Flow is built in Rust. Rust's bring significant safety by default. With industry standard application security policies for both AI and API traffic Flow has robust foundations.

6. Easy Governance

  • Governed from one file

Every access decision reviewable, versionable, auditable in one place

The bet: Flow Gateway

What Flow does

API Gateway
  • Traffic management: intelligent routing and load balancing across services
  • Security: authentication, access control and encrypted connections
  • Resilience: health monitoring and traffic protection that keep your services available when something fails or demand surges
  • Performance: caching and efficient handling of modern and streaming protocols
  • Observability: metrics and timing data that show what is happening and where the time goes
  • Operations: straightforward configuration and upgrades without downtime
LLM Gateway - foundations available today

Today: Flow carries LLM traffic now — HTTPS and SSE streaming to your providers, with routing, security, rate limiting and caching over it. See LLM gateway.

Planned (on the Roadmap): token-aware rate limiting and spend limits, guardrails, model routing, provider failover and AI response caching.

MCP Gateway - foundations available today

Today: Flow carries MCP traffic now — JSON-RPC over HTTP and SSE, with routing, security and rate limiting over it. See MCP gateway.

Planned (on the Roadmap): tool-level access control and rate limits, and MCP-aware guardrails.

Agent Gateway - foundations available today

Today: Flow carries agent (A2A) traffic now — HTTP, JSON-RPC and SSE, with routing, security and rate limiting over it. See Agent gateway.

Planned (on the Roadmap): iteration budgets and task correlation across agent delegations.

Model Catalogue - on the roadmap

Your organization's central list of the models it has purchased, with control over who may use which and a record of how much each team and person has used. See Model catalogue — planned, on the Roadmap.

MCP Server Registry - on the roadmap

Where teams register their MCP servers for discovery and governance. See MCP registry — planned, on the Roadmap.

Agent Registry - on the roadmap

Where teams register their agents for discovery and governance. See Agent registry — planned, on the Roadmap.

Skills Registry - on the roadmap

A registry for discovering and governing the skills available across your platform. See Skills registry — planned, on the Roadmap.

Flow already carries LLM, MCP and agent traffic today; the AI-aware control layer and the registries are planned. The Roadmap lists what is available and what is planned.

Get started

Getting working gateay in 4 simple steps.

  1. Request a Flow Gateway license from here
  2. Create a Gateway config file by reading through Getting Started guide.

If you are in a rush to start, use a Quick Start from examples/quickstart.kdl - the simplest working config, routing everything to httpbin.org.

More examples can be found at Examples, including TLS, policies, gRPC and more.

  1. Start Flow once you have both config and license file

flow --config-kdl gateway/config/quickstart.kdl --license-file client_license.json

flow --config-kdl gateway/config/quickstart.kdl --license-file client_license.json

There are other options to pass the license file to flow with out passing the license each time. See License for more details.

  1. With flow running its time to Test the endpoint via Flow. Try command below in cmd
curl http://localhost:8080/anything

To know more about license precedence order check License

Documentation

Frequently Asked Questions

Looking for a short answer to frequent questions? FAQ

Decide - When Should I use Flow?

Guide What it covers
Where Flow Fits Is Flow the right tool? Where it sits alongside a service mesh, load balancer, WAF and cache
Design Decisions Which option should I choose? Protocol, load balancing, policies, routing patterns
Comparisons Measured against other gateways on identical hardware
Flow Benchmark Measured throughput, latency and memory - to judge whether Flow meets your numbers

Start here - If You want it running

Guide What it covers
Getting started Install, run and verify your first gateway
Examples Complete, working KDL configs you can download and run as is
Technical Overview How does it work? Core concepts and the request lifecycle

Technical Stuff

Syntax:

Guide What it covers
Configuration Full KDL reference: system, logging, services, listeners, connectors
Command line Every flag and how the CLI and config file interact

What you can configure:

Guide What it covers
Routing Matching requests to routes and how ties are broken
Policies Every policy: what each does, its options and which phase it runs in
Traffic & APIs What Flow carries: REST, GraphQL, JSON-RPC, gRPC, streaming, WebSocket, and AI/agent traffic
REST APIs The default HTTP/REST style and what applies to a REST route
Non-REST APIs WebSocket, gRPC, SSE, GraphQL, JSON-RPC
AI & agent traffic LLM, MCP and A2A traffic carried today, and the AI-aware layer on the roadmap
Transport HTTP/1.1, HTTP/2, h2c and TLS: wire-level details and performance
DNS Resolution Hostname connectors, background refresh and what Flow does when DNS misbehaves

AI & agent gateways:

Guide What it covers
LLM gateway LLM traffic carried today (HTTPS + SSE); the AI-aware control layer on the roadmap
MCP gateway MCP traffic carried today (JSON-RPC / SSE); MCP-aware control on the roadmap
Agent gateway Agent (A2A) traffic carried today; agent-aware control on the roadmap
Discovery & governance MCP, agent and skills registries and the model catalogue — all on the roadmap

Run it in production

Guide What it covers
Operations Running in production, zero-downtime upgrades, sizing
Logging The application log and per-request records: what each carries, levels, destinations
Metrics The Prometheus endpoint: every metric, label and setting
Benchmark Safe operating rates, capacity planning and tuning
How Flow Behaves What to expect at runtime: failures, rate limiting across instances, connections, streaming, WebSocket, license check
License The license file, where Flow looks for it and what happens at expiration

What's happening or happened

Guide What it covers
Roadmap What is available and what is planned
Changelog Release notes: what shipped and when, by version

About

Flow - Unified AI (LLM , MCP, A2A) Gateway & API Gateway ++ Skills & Agents Registry ++ Model Catalogue. Flow is purpose built to be hyper-fast, secure and extremely lightweight.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors