https://github.com/xgpxg/aiway
API + AI 融合网关
https://github.com/xgpxg/aiway
ai api gateway
Last synced: 6 months ago
JSON representation
API + AI 融合网关
- Host: GitHub
- URL: https://github.com/xgpxg/aiway
- Owner: xgpxg
- License: apache-2.0
- Created: 2025-08-31T07:08:16.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2026-01-16T01:43:55.000Z (6 months ago)
- Last Synced: 2026-01-17T04:23:55.666Z (6 months ago)
- Topics: ai, api, gateway
- Language: Rust
- Homepage: https://aiway.coderbox.cn
- Size: 11.2 MB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



[中文](README.md) | [English](README_en.md)
### 简介
一个Rust实现的API+AI网关,性能还算不错。
支持的平台:
- Linux(x86_64)
- Linux(arm64)
- MacOS(arm64)
📑 [文档](https://aiway.coderbox.cn/doc.html)
### 快速启动
运行已发布的版本:
```shell
# 下载并解压
curl -L https://github.com/xgpxg/aiway/releases/latest/download/aiway-linux-amd64-standalone.tar.gz | tar -zxvf - -C .
# 启动
./aiway
```
> 发布版基于 glibc 2.35 版本构建,如果你的系统glibc版本低于2.35,请从源码构建。
从源码构建:
```shell
cargo build --bin gateway -F standalone && \
cargo build --bin console -F standalone && \
cargo build --bin logg && \
cargo build --bin model-proxy && \
cargo run --bin aiway
```
控制台:http://127.0.0.1:7000
网关入口:http://127.0.0.1:7001
默认用户名/密码:admin/admin
### 功能
- 动态路由
- 服务管理
- 插件系统
- 安全验证(防火墙)
- 统一API Key管理
- 日志存储和监控
- 可视化
- AI模型转发和路由
- 支持单机/集群部署
### 插件
https://github.com/xgpxg/aiway-plugins
### 截图
