llm-wiki wiki · sources 2026-06-12

higress-group/higress 是阿里系 AI Native API Gateway,基于 Envoy/Istio 控制面和多语言 WASM plugins。P1 中它的价值是 AI gateway/模型路由/凭据治理背景,尤其和 HiClaw 的凭据托管、MCP/LLM 网关能力相关。

核心架构图

┌──────────────────────────── user / API surface ──────────────────────────────┐
│ `higress-group/higress` 是阿里系 AI Native API Gateway,基于 Envoy/Istio 控制面和多语… │
└───────────────────────────────┬───────────────────────────────────────────────┘
                                │
┌───────────────────────────────▼───────────────────────────────────────────────┐
│ core implementation: `cmd/higress`, `pkg/**` · `api/**`, `client/**`                                    │
└───────────────┬───────────────────────────────┬───────────────────────────────┘
                │                               │
┌───────────────▼──────────────┐  ┌─────────────▼──────────────────────────────┐
│ `plugins/**`                     │  │ `istio/**`, `envoy/**`   │
└───────────────┬──────────────┘  └─────────────┬──────────────────────────────┘
                │                               │
┌───────────────▼───────────────────────────────▼──────────────────────────────┐
│ selected value: routing / serving / dashboard / graph layer for current wiki  │
└───────────────────────────────────────────────────────────────────────────────┘

模块分层

层/目录 责任
cmd/higress, pkg/** Higress 控制面与网关逻辑。
api/**, client/** API 与客户端。
plugins/** WASM 插件:Go/Rust/C++/AssemblyScript。
istio/**, envoy/** 上游控制面/数据面依赖。

关键数据流

  1. 用户配置 route/model-router/plugin。
  2. 控制面生成 Envoy/Istio 配置并下发。
  3. WASM 插件在数据面处理 AI auth、model route、MCP/HTTP 策略。

设计决策

对比定位

和 kgateway 相比,Higress 更偏 API gateway 产品和插件生态;和 Envoy AI Gateway 相比,范围更宽但 GenAI 专注度较低。

相关链接