Skip to main content

agnix

Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.

456 rules | Real-time validation | Auto-fix | Multi-tool support

Installation

pip install agnix

Or run it without installing:

uvx agnix .

The wheels bundle a prebuilt binary, so there is no Rust toolchain to install and nothing is downloaded after pip install. Supported platforms:

Platform Wheel
Linux x86_64 (glibc) manylinux_*_x86_64
Linux x86_64 (musl, e.g. Alpine) musllinux_1_2_x86_64
Linux aarch64 (glibc) manylinux_*_aarch64
macOS Apple silicon macosx_11_0_arm64
Windows x86_64 win_amd64

On any other platform, install from source with cargo install agnix-cli.

Usage

Command line

# Lint current directory
agnix .

# Lint specific file
agnix CLAUDE.md

# Auto-fix issues
agnix . --fix

# JSON output
agnix . --format json

# Target a specific tool
agnix . --target claude-code

python -m agnix works the same way as the agnix script.

Python API

import agnix

# Version reported by the bundled binary
print(agnix.version())

# Lint a path and get parsed diagnostics
report = agnix.lint(".", tool="claude-code")
print(report["summary"])

# Anything else: pass arguments straight through
result = agnix.run(["--fix", "CLAUDE.md"])
print(result.returncode, result.stdout)

License

MIT OR Apache-2.0

Metadata

Release files for agnix 0.54.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for agnix 0.54.0
File
agnix-0.54.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
agnix-0.54.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
agnix-0.54.0-py3-none-manylinux_2_18_x86_64.whl Python 3 none Linux glibc 2.18+ x86-64 Details
agnix-0.54.0-py3-none-manylinux_2_18_aarch64.whl Python 3 none Linux glibc 2.18+ ARM64 Details
agnix-0.54.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 17.3 MB

Release files / agnix-0.54.0-py3-none-win_amd64.whl

Download URL agnix-0.54.0-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a2fe7c23fc2bd83aa5994a3b9a88f4dcc41e46b1da324231ab2463bb60cb8c13
BLAKE2b-256 checksum
How to use checksums
0386c084274f34830ef1ed94161b567da6ec9d2a3d4fcae7dc1096ae2ae149f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / agnix-0.54.0-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.54.0-py3-none-musllinux_1_2_x86_64.whl
Size 3.7 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
785a65560348fd9731d56d2b9e75549dcc1439045a298ca6fa0180d3ac359d0c
BLAKE2b-256 checksum
How to use checksums
85df5eecf4d0453e4766113b696a9342b69076d71f9532021413889f69cf1f97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / agnix-0.54.0-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.54.0-py3-none-manylinux_2_18_x86_64.whl
Size 3.6 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
66d43e3210bace45a1d329bd5570cf6dad279f5a50e59b01cd98406d3367af62
BLAKE2b-256 checksum
How to use checksums
24ca11f26cca4d091c50834f8101fb9351028511d41bf2caf261e4892ec12081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / agnix-0.54.0-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.54.0-py3-none-manylinux_2_18_aarch64.whl
Size 3.3 MB
Tags Linux glibc 2.18+ ARM64 Python 3
SHA-256 checksum
How to use checksums
ba08a2fcf8dba16d6cb9102e1e43ac554730fc8f8aa61b093adf9dba64669df3
BLAKE2b-256 checksum
How to use checksums
5cea8f0254a698055918cbe192f545f045b2ce323ddee72864877640cb9d9b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / agnix-0.54.0-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.54.0-py3-none-macosx_11_0_arm64.whl
Size 3.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
63b012a358839daab93fba0bed6b2c965ee95b1f50696f3bdb3107adda317060
BLAKE2b-256 checksum
How to use checksums
211adfe8220ec417aa913212bb77449c18e09775b93c159a611ad9f5a578b50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.58.0

5 release files

0.56.1

5 release files

0.56.0

5 release files

0.55.0

5 release files

This release

0.54.0 This release

5 release files

0.53.0

5 release files

0.52.1

5 release files

0.52.0

5 release files

0.51.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page