Skip to main content

agnix

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

458 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.56.4

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.56.4
File
agnix-0.56.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
agnix-0.56.4-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
agnix-0.56.4-py3-none-manylinux_2_18_x86_64.whl Python 3 none Linux glibc 2.18+ x86-64 Details
agnix-0.56.4-py3-none-manylinux_2_18_aarch64.whl Python 3 none Linux glibc 2.18+ ARM64 Details
agnix-0.56.4-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 17.6 MB

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

Download URL agnix-0.56.4-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
283e3f96b2722b2bd2f1d4eaf58a309e1241e57234dddd8ac5efba45a1ad28c9
BLAKE2b-256 checksum
How to use checksums
2ef28919f4cf1b2b5177d214080800dabee6d84e57feffafd61ec269944a6291
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.56.4-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.56.4-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
11e85e601ddf4a6ed06650b9f960fa03e787a7b16a2af213ebc41a753cd7d126
BLAKE2b-256 checksum
How to use checksums
d8d72801ce069756035b5eaa62fd506b4eb9938a8d2931e475b66c27b969ed41
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.56.4-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.56.4-py3-none-manylinux_2_18_x86_64.whl
Size 3.7 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
668a4217690da82a358c181b4de34bd810e205e8f6bbd2138cca257a0fceabb9
BLAKE2b-256 checksum
How to use checksums
a62f5f176db698027fe217d4b59df1d810dbe96b731ad9c8cd8a0a4dca0db585
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.56.4-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.56.4-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
284a70f2aff7f6f8d5f5fc9a4b8c0a09fa4a31f33de68142110cda90c6720c84
BLAKE2b-256 checksum
How to use checksums
a37643b5fa3156fe24a7708f0b36fd4b70107b5ba846cb54c51ecffff02adf01
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.56.4-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.56.4-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
0356cee6b32c997a27292eaddefda64c03b66aca1e69810ab0db1033f7e94bba
BLAKE2b-256 checksum
How to use checksums
21e4d5e025eea423b5a78ce53119e80e0b14dde038acd27ed15fc50834ffd73c
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

This release

0.56.4 This release

5 release files

0.56.1

5 release files

0.56.0

5 release files

0.55.0

5 release files

0.54.0

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