axonhub
AGENTS.md5.3k starsChanged 7 months agoApache-2.0View on GitHub
Detailed rules are split into focused files under .agent/rules/. See Rules Index below. AxonHub is an all-in-one AI development platform that serves as a unified API gateway for multiple AI providers. It provides OpenAI and Anthropic-compatible API interfaces with automatic request transformation, enabling seamless communication between clients and various AI providers through a sophisticated bidirectional data transformation pipeline. All detailed rules are in .agent/rules/:
Trending
Less talk lately.about the whole repository
Who's talking about looplj/axonhub
- @golangoss.bsky.social“axonhub (⭐️ 5214) ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, load …”Bluesky · Sep 13, 2026 · 4 likes
- mylxsw/llm-gateway“客户端使用Responses,上游Chat协议。客户端收到空白内容”GitHub · Aug 24, 2026 · 2 reactions
- @genzj.info“多谢~我开发环境也是用免费,只是好奇生产部署还有没有更便宜的供应商…… 多项目聚合的话,你有试过类似 github.com/looplj/axonhub 么?我觉得这个方便些”Bluesky · Mar 6, 2026 · 2 likes
- looplj/homebrew-axonhub“feat: add axonhub Homebrew formula”GitHub · Mar 17, 2026 · 1 reactions
- qixing-jk/all-api-hub“[Feature]: 支持管理自建的 Axonhub”GitHub · Feb 14, 2026 · 1 reactions
The biggest 5 of 47 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 47
Talked about on GitHub and Bluesky (47 times).
On GitHub · 45
- Aug 24, 2026客户端使用Responses,上游Chat协议。客户端收到空白内容 — mylxsw/llm-gateway2 reactions · 1 comment
- Mar 17, 2026feat: add axonhub Homebrew formula — looplj/homebrew-axonhub1 reaction · 1 comment
- Feb 14, 2026[Feature]: 支持管理自建的 Axonhub — qixing-jk/all-api-hub1 reaction
- Oct 5, 2026feat(import): 完整导入 AxonHub 备份 — DeliciousBuding/metapi-go0 reactions · 1 comment
- Sep 8, 2026Preserve usage from terminal non-success inference responses — dominicnunez/agentos0 reactions
40 more on GitHub
- Sep 6, 2026Update looplj/axonhub Docker tag to v1.0.0-beta10 — Elykia093/appstore0 reactions
- Sep 3, 2026Update looplj/axonhub Docker tag to v1.0.0-beta9 — Elykia093/appstore0 reactions
- Sep 2, 2026Update looplj/axonhub Docker tag to v1.0.0-beta8 — Elykia093/appstore0 reactions
- Aug 11, 2026Update looplj/axonhub Docker tag to v1.0.0-beta7 — Elykia093/appstore0 reactions
- Jul 28, 2026Update looplj/axonhub Docker tag to v1.0.0-beta6 — Elykia093/appstore0 reactions
- Jul 15, 2026Discussion: replace builtin protocol transforms with AxonHub llm transformers? — caidaoli/ccLoad0 reactions · 1 comment
- Jul 14, 2026Update looplj/axonhub Docker tag to v1.0.0-beta5-arm64 — Elykia093/appstore0 reactions
- Jun 18, 2026请求添加白名单:looplj/axonhub — DaoCloud/public-image-mirror0 reactions · 1 comment
- Jun 16, 2026Partner activation: looplj/axonhub — EvoLinkAI/EvoLinkAI.github.io0 reactions · 3 comments
- May 23, 2026Update looplj/axonhub Docker tag to v0.9.43 — willow-god/appstore0 reactions
- May 23, 2026chore(deps): update looplj/axonhub docker tag to v0.9.43 (localApps) — pooneyy/1Panel-Appstore0 reactions
- May 8, 2026chore(deps): update looplj/axonhub docker tag to v0.9.42 (localApps) - autoclosed — pooneyy/1Panel-Appstore0 reactions
- May 8, 2026Update looplj/axonhub Docker tag to v0.9.42 — willow-god/appstore0 reactions
- Apr 27, 2026feat(managed-site): add AxonHub managed-site support — qixing-jk/all-api-hub0 reactions · 4 comments
- Apr 25, 2026Project renaming — Diogenesoftoronto/axon0 reactions · 4 comments
- Apr 25, 2026chore(deps): update looplj/axonhub docker tag to v0.9.37 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 23, 2026chore(deps): update looplj/axonhub docker tag to v0.9.36 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 23, 2026Update looplj/axonhub Docker tag to v0.9.36 — willow-god/appstore0 reactions
- Apr 21, 2026Update looplj/axonhub Docker tag to v0.9.35 — willow-god/appstore0 reactions
- Apr 21, 2026chore(deps): update looplj/axonhub docker tag to v0.9.35 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 17, 2026chore(deps): update looplj/axonhub docker tag to v0.9.34 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 17, 2026Update looplj/axonhub Docker tag to v0.9.34 — willow-god/appstore0 reactions
- Apr 16, 2026chore(deps): update looplj/axonhub docker tag to v0.9.33 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 7, 2026chore(deps): update looplj/axonhub docker tag to v0.9.31 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 7, 2026chore(deps): update looplj/axonhub docker tag to v0.9.31 — willow-god/appstore0 reactions
- Apr 6, 2026chore(deps): update looplj/axonhub docker tag to v0.9.29 — willow-god/appstore0 reactions
- Apr 6, 2026chore(deps): update looplj/axonhub docker tag to v0.9.29 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 5, 2026chore(deps): update looplj/axonhub docker tag to v0.9.28 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Apr 5, 2026chore(deps): update looplj/axonhub docker tag to v0.9.28 — willow-god/appstore0 reactions
- Apr 3, 2026chore(deps): update looplj/axonhub docker tag to v0.9.27 (localApps) - autoclosed — pooneyy/1Panel-Appstore0 reactions
- Apr 3, 2026chore(deps): update looplj/axonhub docker tag to v0.9.27 — willow-god/appstore0 reactions
- Apr 2, 2026chore(deps): update looplj/axonhub docker tag to v0.9.25 — willow-god/appstore0 reactions
- Apr 2, 2026chore(deps): update looplj/axonhub docker tag to v0.9.25 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Mar 24, 2026chore(deps): update looplj/axonhub docker tag to v0.9.22 (localApps) — pooneyy/1Panel-Appstore0 reactions
- Mar 24, 2026chore(deps): update looplj/axonhub docker tag to v0.9.22 — willow-god/appstore0 reactions
- Mar 21, 2026chore(deps): update looplj/axonhub docker tag to v0.9.20 — willow-god/appstore0 reactions
- Feb 16, 2026FEATURE: perf the tracing header of opencode. — looplj/opencode-axonhub-tracing0 reactions
- Feb 8, 2026最新版本 type 字段都没了 — ThinkInAIXYZ/PublicProviderConf0 reactions · 1 comment
- Oct 12, 2025【开源自荐】AxonHub — 多功能 AI 代理网关 — GitHubDaily/GitHubDaily0 reactions
- Sep 26, 2025【开源自荐】AxonHub — 多功能 AI 代理网关 — ruanyf/weekly0 reactions
On Bluesky · 2
- Sep 13, 2026axonhub (⭐️ 5214) ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, load balancing, cost control & end-to-end… — @golangoss.bsky.social4 likes and reposts
- Mar 6, 2026多谢~我开发环境也是用免费,只是好奇生产部署还有没有更便宜的供应商…… 多项目聚合的话,你有试过类似 github.com/looplj/axonhub 么?我觉得这个方便些 — @genzj.info2 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Do NOT run lint or build commands unless explicitly requested by the user.
- Distinctive: line 10
Do NOT restart the development server — it's already started and managed.
- Very specific: line 11
All summary files should be stored in .agent/summary directory if available.
- Very specific: line 69
All detailed rules are in .agent/rules/:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to AI coding assistants when working with code in this repository.
Detailed rules are split into focused files under
.agent/rules/. See Rules Index below.
Global Rules
- Do NOT run lint or build commands unless explicitly requested by the user.
- Do NOT restart the development server — it's already started and managed.
- All summary files should be stored in
.agent/summarydirectory if available.
Configuration
- Backend API: port 8090, Frontend dev server: port 5173 (proxies to backend).
- Configuration:
conf/conf.go(YAML + env var), SQLite by default.
Project Overview
AxonHub is an all-in-one AI development platform that serves as a unified API gateway for multiple AI providers. It provides OpenAI and Anthropic-compatible API interfaces with automatic request transformation, enabling seamless communication between clients and various AI providers through a sophisticated bidirectional data transformation pipeline.
Technology Stack
- Backend: Go 1.26.0+ with Gin, Ent ORM, gqlgen, FX
- Frontend: React 19 + TypeScript, TanStack Router/Query, Zustand, Tailwind CSS
Backend Structure
cmd/axonhub/main.go— Application entry pointinternal/server/— HTTP server and route handling with Gininternal/server/biz/— Core business logic and servicesinternal/server/api/— REST and GraphQL API handlersinternal/server/gql/— GraphQL schema and resolversinternal/ent/— Ent ORM for database operationsinternal/ent/schema/— Database schema definitionsinternal/contexts/— Context handling utilitiesinternal/pkg/— Shared utilities (xerrors, xjson, xcache, xfile, xcontext, etc.)internal/scopes/— Permission system with role-based access controlllm/— LLM utilities, transformers, and pipeline processing (separate Go module)llm/pipeline/— Pipeline processing architectureconf/conf.go— Configuration loading and validation
Go Modules
- The repository root (
/) is the main Go module:github.com/looplj/axonhub. llm/is a separate Go module:github.com/looplj/axonhub/llm.
llm/ Module Notes
llm/is an independent module. Always run Go commands from thellm/directory (e.g.,cd llm && go test ./...).- Running
go test ./llm/...from repo root will fail with module boundary errors.
Frontend Structure
frontend/src/routes/— TanStack Router file-based routingfrontend/src/gql/— GraphQL API communicationfrontend/src/features/— Feature-based component organizationfrontend/src/components/— Reusable shared componentsfrontend/src/hooks/— Custom shared hooksfrontend/src/stores/— Zustand state managementfrontend/src/locales/— i18n support (en.json, zh.json)frontend/src/lib/— Core utilities (API client, i18n, permissions, utils)frontend/src/utils/— Domain-specific utilities (date, format, error handling)frontend/src/config/— App configurationfrontend/src/context/— React context providers
Rules Index
All detailed rules are in .agent/rules/:
| File | Scope | Description |
| go-general.md | **/*.go | Go 通用约定、错误处理、依赖注入、开发命令约束 |
| ent-graphql.md | internal/ent/schema/**/*.go, internal/server/gql/**/*.go, internal/server/gql/**/*.graphql, gqlgen.yml | Ent、GraphQL、代码生成、schema 变更规则 |
| database-indexes.md | internal/ent/schema/**/*.go | 数据库索引设计、命名、跨方言兼容与迁移验证规则 |
| biz-services.md | internal/server/biz/**/*.go | Biz service、上下文取值、事务与级联删除规则 |
| cache-compat.md | **/*.go | 缓存结构兼容性与升级安全规则 |
| frontend-general.md | frontend/**/*.ts, frontend/**/*.tsx | 前端通用开发约定、GraphQL 数据约束、页面作用域 |
| frontend-i18n.md | frontend/src/**/*.ts, frontend/src/**/*.tsx, frontend/src/locales/*.json | i18n 与货币格式规则 |
| frontend-ui.md | frontend/**/*.tsx | 前端 UI 组件使用规则 |
| e2e.md | frontend/tests/**/*.ts | E2E testing rules |
| docs.md | docs/**/*.md | Documentation rules |
| workflows/add-channel.md | Manual | Workflow for adding a new channel |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

