You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pixiu 1.1.0 introduces a major performance optimization in the core router @Alanxtl:
Route read latency improved by ~3–5× under medium to large route scales
Route reload latency improved by ~4–5×, with significantly fewer allocations
Memory allocation on the hot read path reduced by orders of magnitude (from KB-level to hundreds of bytes)
These improvements substantially enhance Ingress routing, dynamic configuration updates, and high-concurrency AI gateway traffic, and are introduced by:
API key management, health checks, and observability
AI Gateway Usage Example (LLM Proxy)
The following example shows how to use Pixiu as an LLM Gateway, exposing a unified /chat/completions endpoint while forwarding requests to upstream model providers.
Pixiu 1.1.0 introduces first-class MCP support, allowing Pixiu to run directly as an MCP Server.
This enables a new integration model:
Business services can be exposed as MCP tools and invoked directly by AI Agents
MCP Gateway Capabilities
MCP Server Filter
Tool-based service definitions
Path / query / body parameter injection and validation
Streaming invocation support
Optional integration with service registries (e.g., Nacos)
MCP Gateway Usage Example (MCP Server)
The following example shows how to expose HTTP APIs as MCP Tools.
static_resources:
listeners:
- name: "net/http"protocol_type: "HTTP"address:
socket_address:
address: "0.0.0.0"port: 8888filter_chains:
filters:
- name: "dgp.filter.httpconnectionmanager"config:
route_config:
routes:
# MCP endpoint route
- match:
prefix: "/mcp"route:
cluster: "mock-server"cluster_not_found_response_code: 505# API routes for server testing
- match:
prefix: "/api"route:
cluster: "mock-server"cluster_not_found_response_code: 404# Root route
- match:
prefix: "/"route:
cluster: "mock-server"cluster_not_found_response_code: 404http_filters:
# MCP Server Filter - Tools Testing Configuration
- name: "dgp.filter.mcp.mcpserver"config:
server_info:
name: "MCP Tools Test Server"version: "1.0.0"description: "MCP Server for testing all tools functionality"instructions: "Use these tools to interact with the mock server API. Test all CRUD operations and search functionality."# Tools Configuration - Testing all server endpointstools:
# Tool 1: Get User by ID
- name: "get_user"description: "Get user information by ID with optional profile details"cluster: "mock-server"request:
method: "GET"path: "/api/users/{id}"timeout: "10s"args:
- name: "id"type: "integer"in: "path"description: "User ID to retrieve"required: true
- name: "include_profile"type: "boolean"in: "query"description: "Include user profile information"required: falsedefault: false# Tool 2: Search Users
- name: "search_users"description: "Search users by name or email with pagination"cluster: "mock-server"request:
method: "GET"path: "/api/users/search"timeout: "10s"args:
- name: "q"type: "string"in: "query"description: "Search query (name or email)"required: true
- name: "page"type: "integer"in: "query"description: "Page number for pagination"required: falsedefault: 1
- name: "limit"type: "integer"in: "query"description: "Number of results per page (1-100)"required: falsedefault: 10# Tool 3: Create User
- name: "create_user"description: "Create a new user account"cluster: "mock-server"request:
method: "POST"path: "/api/users"timeout: "10s"headers:
Content-Type: "application/json"args:
- name: "name"type: "string"in: "body"description: "User's full name"required: true
- name: "email"type: "string"in: "body"description: "User's email address"required: true
- name: "age"type: "integer"in: "body"description: "User's age"required: false# Tool 4: Get User Posts
- name: "get_user_posts"description: "Get all posts by a specific user with status filtering"cluster: "mock-server"request:
method: "GET"path: "/api/users/{user_id}/posts"timeout: "10s"args:
- name: "user_id"type: "integer"in: "path"description: "User ID to get posts for"required: true
- name: "status"type: "string"in: "query"description: "Filter posts by status"required: falsedefault: "published"enum: ["published", "draft", "all"]# Tool 5: Health Check
- name: "health_check"description: "Check the health and status of the server service"cluster: "mock-server"request:
method: "GET"path: "/api/health"timeout: "5s"# Tool 6: Get Server Info
- name: "get_server_info"description: "Get basic server information and available endpoints"cluster: "mock-server"request:
method: "GET"path: "/"timeout: "5s"# HTTP Proxy Filter
- name: "dgp.filter.http.httpproxy"clusters:
- name: "mock-server"type: "STATIC"lb_policy: "ROUND_ROBIN"endpoints:
- socket_address:
address: "127.0.0.1"port: 8081
How It Works
Each tool maps to a backend HTTP API.
Pixiu handles parameter binding, validation, and request forwarding.
AI Agents interact with Pixiu using standard MCP semantics.
Pixiu 1.1.0 introduces comprehensive support for Open Policy Agent (OPA) as a new HTTP filter plugin. This feature enhances Pixiu's access control capabilities and provides more granular traffic governance and policy evaluation. @nanjiek
Key Highlights of OPA Support
OPA Filter Plugin: Enables OPA policies to be used for traffic control and governance within Pixiu.
External OPA Server Support: In addition to embedded OPA evaluation, Pixiu now supports calling external OPA servers for remote policy decisions, providing flexibility for centralized policy management in large-scale systems.
Policy Evaluation: Requests are passed to OPA, which evaluates whether the request should be allowed based on the defined policy.
Highly Configurable: Supports flexible configurations, including different authentication methods (e.g., Bearer token), timeouts, and decision paths.
Enhanced Testing & Documentation: New test cases ensure the correctness of OPA plugins, and detailed documentation has been updated for configuration and usage.
Kubernetes Ingress & Application Gateway Upgrade
Pixiu 1.1.0 includes a significant re-architecture of its Ingress and routing system:
Redesigned routing mechanism
Modern Application Gateway architecture
Support for a new Ingress Controller
Fine-grained policy and traffic governance
Pixiu is not just a gateway—it is the cloud-native traffic entry point and control plane.
static_resources:
listeners:
- name: "net/http"protocol_type: "HTTP"address:
socket_address:
address: "0.0.0.0"port: 8888filter_chains:
filters:
- name: "dgp.filter.httpconnectionmanager"config:
route_config:
routes:
# MCP endpoint route
- match:
prefix: "/mcp"route:
cluster: "mock-server"cluster_not_found_response_code: 505# API routes for server testing
- match:
prefix: "/api"route:
cluster: "mock-server"cluster_not_found_response_code: 404# Root route
- match:
prefix: "/"route:
cluster: "mock-server"cluster_not_found_response_code: 404http_filters:
# MCP Server Filter - Tools Testing Configuration
- name: "dgp.filter.mcp.mcpserver"config:
server_info:
name: "MCP Tools Test Server"version: "1.0.0"description: "MCP Server for testing all tools functionality"instructions: "Use these tools to interact with the mock server API. Test all CRUD operations and search functionality."# Tools Configuration - Testing all server endpointstools:
# Tool 1: Get User by ID
- name: "get_user"description: "Get user information by ID with optional profile details"cluster: "mock-server"request:
method: "GET"path: "/api/users/{id}"timeout: "10s"args:
- name: "id"type: "integer"in: "path"description: "User ID to retrieve"required: true
- name: "include_profile"type: "boolean"in: "query"description: "Include user profile information"required: falsedefault: false# Tool 2: Search Users
- name: "search_users"description: "Search users by name or email with pagination"cluster: "mock-server"request:
method: "GET"path: "/api/users/search"timeout: "10s"args:
- name: "q"type: "string"in: "query"description: "Search query (name or email)"required: true
- name: "page"type: "integer"in: "query"description: "Page number for pagination"required: falsedefault: 1
- name: "limit"type: "integer"in: "query"description: "Number of results per page (1-100)"required: falsedefault: 10# Tool 3: Create User
- name: "create_user"description: "Create a new user account"cluster: "mock-server"request:
method: "POST"path: "/api/users"timeout: "10s"headers:
Content-Type: "application/json"args:
- name: "name"type: "string"in: "body"description: "User's full name"required: true
- name: "email"type: "string"in: "body"description: "User's email address"required: true
- name: "age"type: "integer"in: "body"description: "User's age"required: false# Tool 4: Get User Posts
- name: "get_user_posts"description: "Get all posts by a specific user with status filtering"cluster: "mock-server"request:
method: "GET"path: "/api/users/{user_id}/posts"timeout: "10s"args:
- name: "user_id"type: "integer"in: "path"description: "User ID to get posts for"required: true
- name: "status"type: "string"in: "query"description: "Filter posts by status"required: falsedefault: "published"enum: ["published", "draft", "all"]# Tool 5: Health Check
- name: "health_check"description: "Check the health and status of the server service"cluster: "mock-server"request:
method: "GET"path: "/api/health"timeout: "5s"# Tool 6: Get Server Info
- name: "get_server_info"description: "Get basic server information and available endpoints"cluster: "mock-server"request:
method: "GET"path: "/"timeout: "5s"# HTTP Proxy Filter
- name: "dgp.filter.http.httpproxy"clusters:
- name: "mock-server"type: "STATIC"lb_policy: "ROUND_ROBIN"endpoints:
- socket_address:
address: "127.0.0.1"port: 8081
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Dubbo-Go-Pixiu 1.1.0 Released
Toward a Next-Generation AI Gateway and Cloud-Native Application Gateway
The Apache Dubbo-Go-Pixiu 1.1.0 release is now officially available 🎉
This is a major milestone release that marks Pixiu’s evolution from a traditional API Gateway into:
If you are working on LLM integration, AI gateways, streaming inference, MCP, or cloud-native traffic governance, Pixiu 1.1.0 is designed for you.
What’s New in Pixiu 1.1.0 — At a Glance
Pixiu 1.1.0 focuses on three major capability pillars:
AI Gateway @Alanxtl
Milestones: [AI] AI gateway milestones #696
MCP Gateway @Similarityoung
Milestones: [AI] MCP Milestones #703
Cloud-Native Kubernetes Ingress / Application Gateway @mfordjody
Performance Improvements
Pixiu 1.1.0 introduces a major performance optimization in the core router @Alanxtl:
These improvements substantially enhance Ingress routing, dynamic configuration updates, and high-concurrency AI gateway traffic, and are introduced by:
feat: update route mechanism #777
Pixiu as a Production-Ready AI Gateway
With 1.1.0, Pixiu becomes a first-class AI Gateway, with a clear goal:
Key AI Gateway Capabilities
AI Gateway Usage Example (LLM Proxy)
The following example shows how to use Pixiu as an LLM Gateway, exposing a unified
/chat/completionsendpoint while forwarding requests to upstream model providers.Example Configuration
Request Example
Notes
For more information, refer to [Pixiu LLM Samples](https://github.com/apache/dubbo-go-pixiu-samples/blob/main/llm)
Native Model Context Protocol (MCP) Support
Pixiu 1.1.0 introduces first-class MCP support, allowing Pixiu to run directly as an MCP Server.
This enables a new integration model:
MCP Gateway Capabilities
MCP Gateway Usage Example (MCP Server)
The following example shows how to expose HTTP APIs as MCP Tools.
How It Works
For more information, refer to [Pixiu MCP Samples](https://github.com/apache/dubbo-go-pixiu-samples/blob/main/mcp)
Open Policy Agent (OPA) Support
Pixiu 1.1.0 introduces comprehensive support for Open Policy Agent (OPA) as a new HTTP filter plugin. This feature enhances Pixiu's access control capabilities and provides more granular traffic governance and policy evaluation. @nanjiek
Key Highlights of OPA Support
Kubernetes Ingress & Application Gateway Upgrade
Pixiu 1.1.0 includes a significant re-architecture of its Ingress and routing system:
Pixiu is not just a gateway—it is the cloud-native traffic entry point and control plane.
Ingress Usage
Pixiu recommends using Gateway API Extensions for Kubernetes integration:
👉 Gateway API Extensions
Dynamic Governance & Engineering Improvements
Dynamic Capabilities
Engineering Quality
Documentation & Ecosystem
Community & Contributors
Pixiu 1.1.0 is a community-driven release.
Special thanks to all contributors (alphabetical order):
@1kasa
@Alanxtl
@baerwang
@FoghostCn
@KamToHung
@ma642
@mark4z
@marsevilspirit
@mfordjody
@mutezebra
@nanjiek
@No-SilverBullet
@PhilYue
@Similarityoung
@testwill
@yuluo-yx
Get Started
Project Repository
https://github.com/apache/dubbo-go-pixiu
Official Samples
https://github.com/apache/dubbo-go-pixiu-samples
Final Words
Pixiu 1.1.0 is not just a version upgrade—
it is a foundation for production-grade AI Gateway adoption.
Apache Dubbo-Go-Pixiu 1.1.0 正式发布
迈向下一代 AI 网关与云原生应用网关
Apache Dubbo-Go-Pixiu 1.1.0 现已正式发布 🎉
这是一次重要的里程碑版本,标志着 Pixiu 从传统 API 网关正式演进为:
如果你正在从事 LLM 集成、AI 网关、流式推理、MCP 或云原生流量治理,那么 Pixiu 1.1.0 正是为你而设计。
Pixiu 1.1.0 新特性一览
Pixiu 1.1.0 聚焦三大核心能力支柱:
AI 网关 @Alanxtl
Milestones: [AI] AI gateway milestones #696
MCP 网关 @Similarityoung
Milestones: [AI] MCP Milestones #703
云原生 Kubernetes Ingress / Application 网关 @mfordjody
性能优化
Pixiu 1.1.0 在核心 Router 上引入了重要性能优化 @Alanxtl:
这些改进显著增强了 Ingress 路由、动态配置更新以及高并发 AI 网关核心流量路径 的性能表现,主要来自以下改动:
feat: update route mechanism #777
Pixiu:生产级 AI 网关
在 1.1.0 版本中,Pixiu 正式成为生产级 AI 网关,其核心目标是:
AI 网关核心能力
AI 网关使用示例(LLM Proxy)
以下示例展示了如何使用 Pixiu 作为 LLM 网关,通过统一的
/chat/completions接口,将请求转发至上游模型服务。示例配置
请求示例
说明
更多信息请参考:
[Pixiu LLM 示例](https://github.com/apache/dubbo-go-pixiu-samples/blob/main/llm)
原生 Model Context Protocol(MCP)支持
Pixiu 1.1.0 引入MCP 支持,可直接作为 MCP Server 运行。
这开启了一种全新的集成模式:
MCP 网关能力
MCP 网关使用示例(MCP Server)
以下示例展示了如何将 HTTP API 暴露为 MCP 工具。
工作原理
更多信息请参考:
[Pixiu MCP 示例](https://github.com/apache/dubbo-go-pixiu-samples/blob/main/mcp)
Open Policy Agent (OPA) 支持
Pixiu 1.1.0 引入了对 Open Policy Agent (OPA) 策略引擎的全面支持,作为新的 HTTP 过滤器插件。这一功能增强了 Pixiu 的访问控制能力,提供了更细粒度的流量治理和策略评估。 @nanjiek
OPA 支持亮点
Kubernetes Ingress 与 Application 网关升级
Pixiu 1.1.0 对 Ingress 与路由系统进行了重大重构:
Pixiu 不只是一个网关——
它是云原生流量入口与控制平面。
Ingress 使用方式
Pixiu 推荐使用 Gateway API Extensions 进行 Kubernetes 集成:
👉 Gateway API Extensions
动态治理与工程能力提升
动态能力
工程质量
文档与生态
社区与贡献者
Pixiu 1.1.0 是一次完全由社区驱动的版本发布。
特别感谢以下贡献者(按字母顺序):
@1kasa
@Alanxtl
@baerwang
@FoghostCn
@KamToHung
@ma642
@mark4z
@marsevilspirit
@mfordjody
@mutezebra
@nanjiek
@No-SilverBullet
@PhilYue
@Similarityoung
@testwill
@yuluo-yx
快速开始
项目仓库
https://github.com/apache/dubbo-go-pixiu
官方示例
https://github.com/apache/dubbo-go-pixiu-samples
结语
Pixiu 1.1.0 不只是一次版本升级,
它是生产级 AI 网关落地的基础设施。
Beta Was this translation helpful? Give feedback.
All reactions