Axonhub 是 AI Skill Hub 本期精选Agent工作流之一。已获得 4.3k 颗 GitHub Star,综合评分 8.5 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Axonhub 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Axonhub 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:go install(推荐) go install github.com/looplj/axonhub@latest # 方式二:从源码编译 git clone https://github.com/looplj/axonhub cd axonhub go build -o axonhub . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/looplj/axonhub/releases
# 查看帮助 axonhub --help # 基本运行 axonhub [options] <input> # 详细使用说明请查阅文档 # https://github.com/looplj/axonhub
# axonhub 配置说明 # 查看配置选项 axonhub --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AXONHUB_CONFIG="/path/to/config.yml"
| Feature | What You Get |
|---|---|
| 🔄 [**Any SDK → Any Model**](docs/en/api-reference/openai-api.md) | Use OpenAI SDK to call Claude, or Anthropic SDK to call GPT. Zero code changes. |
| 🔍 [**Full Request Tracing**](docs/en/guides/tracing.md) | Complete request timelines with thread-aware observability. Debug faster. |
| 🔐 [**Enterprise RBAC**](docs/en/guides/permissions.md) | Fine-grained access control, usage quotas, and data isolation. |
| ⚡ [**Smart Load Balancing**](docs/en/guides/load-balance.md) | Auto failover in <100ms. Always route to the healthiest channel. |
| 💰 [**Real-time Cost Tracking**](docs/en/guides/cost-tracking.md) | Per-request cost breakdown. Input, output, cache tokens—all tracked. |
---
```
That's it! Now configure your first AI channel and start calling models through AxonHub.
Deploy AxonHub with 1-click on Render for free.
<a href="https://render.com/deploy?repo=https://github.com/looplj/axonhub"> <img src="https://render.com/images/deploy-to-render-button.svg" alt="Deploy to Render"> </a>
</div>
---
Perfect for individual developers and small teams. No complex configuration required.
# Extract the downloaded file
unzip axonhub_*.zip
cd axonhub_*
# Add execution permissions (only for Linux/macOS)
chmod +x axonhub
# Run directly - default SQLite database
# Install AxonHub to system
sudo ./install.sh
# Start AxonHub service
./start.sh
# Stop AxonHub service
./stop.sh
3. Access the application
http://localhost:8090
---
For production environments, high availability, and enterprise deployments.
AxonHub supports multiple databases to meet different scale deployment needs:
| Database | Supported Versions | Recommended Scenario | Auto Migration | Links |
|---|---|---|---|---|
| **TiDB Cloud** | Starter | Serverless, Free tier, Auto Scale | ✅ Supported | [TiDB Cloud](https://www.pingcap.com/tidb-cloud-starter/) |
| **TiDB Cloud** | Dedicated | Distributed deployment, large scale | ✅ Supported | [TiDB Cloud](https://www.pingcap.com/tidb-cloud-dedicated/) |
| **TiDB** | V8.0+ | Distributed deployment, large scale | ✅ Supported | [TiDB](https://tidb.io/) |
| **Neon DB** | - | Serverless, Free tier, Auto Scale | ✅ Supported | [Neon DB](https://neon.com/) |
| **PostgreSQL** | 15+ | Production environment, medium-large deployments | ✅ Supported | [PostgreSQL](https://www.postgresql.org/) |
| **MySQL** | 8.0+ | Production environment, medium-large deployments | ✅ Supported | [MySQL](https://www.mysql.com/) |
| **SQLite** | 3.0+ | Development environment, small deployments | ✅ Supported | [SQLite](https://www.sqlite.org/index.html) |
AxonHub uses YAML configuration files with environment variable override support:
```yaml
git clone https://github.com/looplj/axonhub.git cd axonhub helm install axonhub ./deploy/helm
helm install axonhub ./deploy/helm -f ./deploy/helm/values-production.yaml
http://localhost:8090
3. Create Users and Roles - Set up permission management - Assign appropriate access permissions
curl -sSL https://github.com/looplj/axonhub/releases/latest/download/axonhub_darwin_arm64.tar.gz | tar xz cd axonhub_*
Your existing code works without any changes. Just point your SDK to AxonHub:
```python from openai import OpenAI
client = OpenAI( base_url="http://localhost:8090/v1", # Point to AxonHub api_key="your-axonhub-api-key" # Use AxonHub API key )
For detailed SDK usage examples and code samples, please refer to the API documentation: - OpenAI API - Anthropic API - Gemini API
For detailed development instructions, architecture design, and contribution guidelines, please see docs/en/development/development.md.
---
Try AxonHub live at our demo instance!
Note:The demo instance currently configures Zhipu and OpenRouter free models.
---
Here are some screenshots of AxonHub in action:
System Dashboard |
Channel Management |
Model Price |
Models |
Trace Viewer |
Request Monitoring |
---
server: port: 8090 name: "AxonHub" debug: false
db: dialect: "tidb" dsn: "<USER>.root:<PASSWORD>@tcp(gateway01.us-west-2.prod.aws.tidbcloud.com:4000)/axonhub?tls=true&parseTime=true&multiStatements=true&charset=utf8mb4"
log: level: "info" encoding: "json"
Environment variables:
bash AXONHUB_SERVER_PORT=8090 AXONHUB_DB_DIALECT="tidb" AXONHUB_DB_DSN="<USER>.root:<PASSWORD>@tcp(gateway01.us-west-2.prod.aws.tidbcloud.com:4000)/axonhub?tls=true&parseTime=true&multiStatements=true&charset=utf8mb4" AXONHUB_LOG_LEVEL=info
For detailed configuration instructions, please refer to [configuration documentation](docs/en/deployment/configuration.md).
#### Docker Compose Deployment
bash
export AXONHUB_DB_DIALECT="tidb" export AXONHUB_DB_DSN="<USER>.root:<PASSWORD>@tcp(gateway01.us-west-2.prod.aws.tidbcloud.com:4000)/axonhub?tls=true&parseTime=true&multiStatements=true&charset=utf8mb4"
export AXONHUB_DB_DIALECT="tidb" export AXONHUB_DB_DSN="<USER>.root:<PASSWORD>@tcp(gateway01.us-west-2.prod.aws.tidbcloud.com:4000)/axonhub?tls=true&parseTime=true&multiStatements=true&charset=utf8mb4"
sudo ./install.sh
axonhub config check
Configure AI provider channels in the management interface. For detailed information on channel configuration, including model mappings, parameter overrides, and troubleshooting, see the Channel Configuration Guide.
<a href="https://trendshift.io/repositories/16225" target="_blank"><img src="https://trendshift.io/api/badge/repositories/16225" alt="looplj%2Faxonhub | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>
</div>
| API Type | Status | Description | Document |
|---|---|---|---|
| **Text Generation** | ✅ Done | Conversational interface | [OpenAI API](docs/en/api-reference/openai-api.md), [Anthropic API](docs/en/api-reference/anthropic-api.md), [Gemini API](docs/en/api-reference/gemini-api.md) |
| **Image Generation** | ✅ Done | Image generation | [Image Generation](docs/en/api-reference/image-generation.md) |
| **Rerank** | ✅ Done | Results ranking | [Rerank API](docs/en/api-reference/rerank-api.md) |
| **Embedding** | ✅ Done | Vector embedding generation | [Embedding API](docs/en/api-reference/embedding-api.md) |
| **Realtime** | 📝 Todo | Live conversation capabilities | - |
---
response = client.chat.completions.create( model="claude-3-5-sonnet", # Or gpt-4, gemini-pro, deepseek-chat... messages=[{"role": "user", "content": "Hello!"}] ) ```
Switch models by changing one line: model="gpt-4" → model="claude-3-5-sonnet". No SDK changes needed.
AxonHub provides a unified API gateway that supports both OpenAI Chat Completions and Anthropic Messages APIs. This means you can:
Create API keys to authenticate your applications with AxonHub. Each API key can be configured with multiple profiles that define:
For detailed information on API key profiles, including configuration examples, validation rules, and best practices, see the API Key Profile Guide.
See the dedicated guides for detailed setup steps, troubleshooting, and tips on combining these tools with AxonHub model profiles: - OpenCode Integration Guide - Claude Code Integration Guide - Codex Integration Guide
---
AxonHub 是一个强大的 AI 模型中转与管理平台,旨在为开发者提供统一的 AI 能力接入体验。通过 AxonHub,你可以轻松实现不同模型供应商之间的无缝切换,简化 AI 应用的开发与运维流程。
AxonHub 提供核心的 SDK 转换功能,支持使用 OpenAI SDK 调用 Claude 或使用 Anthropic SDK 调用 GPT,实现零代码变更的模型切换。同时,系统内置了完整的 Request Tracing 功能,提��具备线程感知能力的观测性,帮助开发者快速调试请求链路。此外,企业级的 RBAC 权限控制确保了多用户场景下的安全性与灵活性。
您可以根据需求选择多种部署方式。对于快速体验,推荐使用 Render 进行一键式部署;对于本地开发,可以通过下载预编译的二进制文件并运行安装脚本进行初始化。系统内置 Setup Wizard(设置向导),引导您完成首次运行时的系统初始化与 AI Channel 配置。
AxonHub 支持“零代码迁移”体验。您无需修改现有的业务逻辑代码,只需将 SDK 中的 base_url 指向 AxonHub 的 API 地址,并更换为 AxonHub 提供的 API key,即可实现从原生模型到 AxonHub 托管模型的平滑过渡。
AxonHub 通过 config.yml 文件进行系统配置,支持自定义服务器端口、数据库连接(如 TiDB)以及日志级别。同时,系统全面支持通过环境变量(Environment Variables)进行配置覆盖,方便在 Docker 或各类云原生环境中进行灵活部署与参数管理。
AxonHub 提供高度兼容的 API 接口,支持 Text Generation 等多种 API 类型。开发者可以利用现有的任何主流 SDK 访问各类模型,实现真正的“接��任何模型,无需更改代码”。
AxonHub 深度集成了多种 AI Coding Tools,包括 OpenCode、Claude Code 以及 Codex。通过专门的集成指南,您可以将 AxonHub 的模型 Profile 与这些编程工具结合,构建高效的 AI 辅助开发工作流。
高质量的开源AI工作流网关
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,Axonhub 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | axonhub |
| 原始描述 | 开源AI工作流:⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, lo。⭐4.3k · Go |
| Topics | AILLMGo工作流 |
| GitHub | https://github.com/looplj/axonhub |
| License | NOASSERTION |
| 语言 | Go |
收录时间:2026-06-19 · 更新时间:2026-06-20 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端