agentleFS
loopljlooplj/axonhub/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 3 mentionsMar 2026: 5 mentionsApr 2026: 20 mentionsMay 2026: 4 mentionsJun 2026: 2 mentionsJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 5 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the looplj/axonhub repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about looplj/axonhub

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

40 more on GitHub
  • 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.

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
  1. Distinctive:

    Do NOT run lint or build commands unless explicitly requested by the user.

    line 9
  2. Distinctive:

    Do NOT restart the development server — it's already started and managed.

    line 10
  3. Very specific:

    All summary files should be stored in .agent/summary directory if available.

    line 11
  4. Very specific:

    All detailed rules are in .agent/rules/:

    line 69

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

  1. Do NOT run lint or build commands unless explicitly requested by the user.
  2. Do NOT restart the development server — it's already started and managed.
  3. All summary files should be stored in .agent/summary directory 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 point
  • internal/server/ — HTTP server and route handling with Gin
  • internal/server/biz/ — Core business logic and services
  • internal/server/api/ — REST and GraphQL API handlers
  • internal/server/gql/ — GraphQL schema and resolvers
  • internal/ent/ — Ent ORM for database operations
  • internal/ent/schema/ — Database schema definitions
  • internal/contexts/ — Context handling utilities
  • internal/pkg/ — Shared utilities (xerrors, xjson, xcache, xfile, xcontext, etc.)
  • internal/scopes/ — Permission system with role-based access control
  • llm/ — LLM utilities, transformers, and pipeline processing (separate Go module)
  • llm/pipeline/ — Pipeline processing architecture
  • conf/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 the llm/ 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 routing
  • frontend/src/gql/ — GraphQL API communication
  • frontend/src/features/ — Feature-based component organization
  • frontend/src/components/ — Reusable shared components
  • frontend/src/hooks/ — Custom shared hooks
  • frontend/src/stores/ — Zustand state management
  • frontend/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 configuration
  • frontend/src/context/ — React context providers

Rules Index

All detailed rules are in .agent/rules/:

FileScopeDescription
go-general.md**/*.goGo 通用约定、错误处理、依赖注入、开发命令约束
ent-graphql.mdinternal/ent/schema/**/*.go, internal/server/gql/**/*.go, internal/server/gql/**/*.graphql, gqlgen.ymlEnt、GraphQL、代码生成、schema 变更规则
database-indexes.mdinternal/ent/schema/**/*.go数据库索引设计、命名、跨方言兼容与迁移验证规则
biz-services.mdinternal/server/biz/**/*.goBiz service、上下文取值、事务与级联删除规则
cache-compat.md**/*.go缓存结构兼容性与升级安全规则
frontend-general.mdfrontend/**/*.ts, frontend/**/*.tsx前端通用开发约定、GraphQL 数据约束、页面作用域
frontend-i18n.mdfrontend/src/**/*.ts, frontend/src/**/*.tsx, frontend/src/locales/*.jsoni18n 与货币格式规则
frontend-ui.mdfrontend/**/*.tsx前端 UI 组件使用规则
e2e.mdfrontend/tests/**/*.tsE2E testing rules
docs.mddocs/**/*.mdDocumentation rules
workflows/add-channel.mdManualWorkflow for adding a new channel

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.