AIGX organizes repo rules for AI coding agents
AIGX is an open format for giving clear rules about a codebase. It stores the project’s product notes, rules, engineering rules, and file-specific warnings inside a `.aigx/` folder. The main piece is `files.aigx`, a per-file index that tells the agent what rules, forbidden imports, and known mistakes apply to the file it is editing.
The rules stay outside the source code, so the project’s real code does not need extra instruction text added to it. Setup starts with `npm create aigx`, and it can connect to Cursor, Claude Code, , Windsurf, Aider, and `AGENTS.md`. Tooling is available for Node, Python, and Rust; `aigx lint` checks whether the rule files are valid, and `aigx resolve <path>` shows the rules for one file.
In its own benchmark using 4.5 and Sonnet 4.6, AIGX ranked highest on average score, first-try pass rate, and hidden-test pass rate, but the project also says the top formats were statistically close rather than a clear blowout.
Key points
- AIGX keeps in a central `.aigx/` folder.
- `files.aigx` maps each file to the rules and warnings the agent needs for that file.
- The format avoids adding instruction blocks inside the source code.
- It supports common coding-agent tools, including Cursor, Claude Code, Copilot, Windsurf, Aider, and `AGENTS.md`.
- Its benchmark shows consistent results, but the lead over other formats is modest.