8 个仓库
Modular sequences of interceptors that mutate or validate AI requests and responses.
Distinct from Interceptor Sequences: Focuses on the actual mutation and validation of AI traffic rather than just the ordering logic of middleware.
Explore 8 awesome GitHub repositories matching software engineering & architecture · Request-Response Filter Chains. Refine with filters or upvote what's useful.
Archgw 是一个专为代理应用程序设计的网关代理和数据平面,为应用程序逻辑与多个大语言模型提供商之间的路由、安全和编排提供了一个集中层。它作为一个 AI 代理编排器,自动化代理工作流的执行,以从核心代码库中移除重复的管道工作。 该系统具有一个与提供商无关的接口层,将不同的模型 API 标准化为单一格式,并具有一个透明的代理数据平面来拦截流量。它采用基于规则的路由将应用程序逻辑与特定提供商解耦,并使用基于拦截器的护栏链来过滤输入和输出,以实现内容安全和防越狱。 该平台包括一个可观测性系统,无需手动插桩即可自动捕获模型交互的端到端跟踪、指标和日志。它还利用中间件驱动的工作流编排来管理代理任务的流程并跟踪性能信号。
Ships a sequence of interceptors to validate and filter AI requests and responses for safety and correctness.
Easegress is a cloud-native traffic orchestration platform that functions as a multi-protocol API gateway and service mesh proxy. It routes, transforms, and orchestrates HTTP and MQTT traffic through configurable filter chains, providing high availability, security controls, and resilience for backend services. The platform integrates with service discovery systems like Kubernetes, Consul, and Eureka to dynamically route traffic to discovered services with automatic failover and health monitoring. The system distinguishes itself through a pipeline-based filter chain architecture where request
Passes requests through a configurable sequence of filters for processing, routing, and transformation.
ServiceStack 是一个高性能 .NET Web 框架,专为使用强类型请求和响应对象构建类型安全的 API 而设计。它作为一个基于消息的 API 引擎,将业务逻辑与传输层解耦,允许通过包括 HTTP、gRPC 和各种消息队列提供商在内的多种协议公开服务。 该框架的特点是其类型安全的 API 生成器,它从跨多种语言的服务元数据中生成原生客户端 SDK 和数据传输对象。它还包括用于微服务编排的分布式服务网关、将 C# 对象直接转换为数据库记录的代码优先 ORM,以及用于安全令牌访问的集中式身份和访问管理系统。 其更广泛的功能面涵盖通过 Pub-Sub 和服务器发送事件(SSE)进行的异步消息传递和实时事件流。它为 JSON、XML、ProtoBuf 和 MessagePack 等格式提供全面的数据序列化支持,以及包括 JWT、API 密钥和阶梯式认证在内的集成认证流程。其他工具包括自动 CRUD API 生成、后台作业执行和管理仪表盘模板。
Provides global or per-instance interceptors to execute custom logic before requests and after responses.
Plano is an AI agent orchestrator and LLM gateway proxy that unifies access to multiple AI providers through a single interoperable interface. It functions as a model routing engine that decouples applications from specific vendors using semantic aliases, allowing traffic to be shifted between providers without modifying application code. The system distinguishes itself with intent-based agent routing, which directs prompts to specialized agents based on semantic analysis. It features an interceptor-based filter chain system that acts as guardrail middleware to enforce safety policies, rewrit
Implements interceptor-based filter chains for prompt rewriting, context enrichment, and safety guardrail enforcement.
Spring Authorization Server is an OAuth 2.1 and OpenID Connect 1.0 authorization server built on Spring Security. It implements the full protocol surface for issuing access and refresh tokens, including authorization code, client credentials, device code, and token exchange grants, as well as pushed authorization requests and user consent management. The server also functions as an OpenID Connect provider, supporting ID tokens, userinfo, discovery, logout, and dynamic client registration. The project distinguishes itself through an extensible framework that allows custom grant types, pluggabl
Processes every HTTP request through a Spring Security filter chain that delegates to OAuth 2.1 protocol handlers.
Spring Cloud Gateway 是一个基于 Spring Boot 的 API 网关和路由服务。它作为微服务的中央入口点,使用谓词和过滤器的组合将传入的 HTTP 流量引导至下游服务。 该项目是一个非阻塞请求路由器,利用 Netty 和 Project Reactor 通过异步数据流处理高并发流量。它作为一个动态请求路由器和网络流量过滤器,允许在动态网络环境中自动检测并路由到可用的服务实例。 该网关通过基于路径、方法、头信息或主机标准映射请求来管理微服务流量。它提供了网络流量修改功能,包括通过过滤器流水线重写 URL 路径以及更改请求和响应头。
Implements a modular sequence of interceptors to mutate and validate request and response traffic.
dubbo-admin 是 Apache Dubbo 生态系统的 Web 管理控制台和管理界面。它作为跨分布式微服务架构配置和监控服务、提供者和消费者的集中式工具。 该项目可用作流量控制平面和服务治理工具,支持实现请求路由规则、金丝雀部署和流量调节。它提供了一个专用界面,用于编排服务网格数据平面和代理配置,以在统一的网络管理层内连接服务。 该平台涵盖了广泛的运营功能,包括服务发现管理、微服务健康和实例监控,以及分布式请求追踪。它还促进了服务元数据和注册中心配置的管理,以确保提供者与消费者之间的可靠通信。
Implements modular sequences of interceptors to process and validate microservice requests and responses.
Inspects and modifies requests and responses through an extensible chain of togglable plugins.