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.3

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

Download URL agnix-0.56.3-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
522bdebc460d88040ae668933250565203ac5827320b39f722578787ae2cbbbe
BLAKE2b-256 checksum
How to use checksums
6923ac4ed24870238889021a88302d2922f9fa8b08713ce559616ee8353f25c6
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.3-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.56.3-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
5e6ae24e0fbf72efd49fbdf3bedf7e41a3c43b4e58ccb0aec1aa531e502326a6
BLAKE2b-256 checksum
How to use checksums
c113b83fbc68a9aeccbc7f41750257b741814bcde9abfc03242b3dffd2d88748
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.3-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.56.3-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
1d7e128bbc5eb1821905458f4f76bd7ae12422a9a97349bb0270f93cf3ed433e
BLAKE2b-256 checksum
How to use checksums
700c4a902b71cfc57fab4af4405122d4d7aab989f5985671a3a27170ea0a28cb
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.3-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.56.3-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
4b26cef80b7edfd05126a46f00c018ced4947869a2eb40f2d2a76e756baec048
BLAKE2b-256 checksum
How to use checksums
9eca0de8807db5887b3e4555114f565d5478c08ee3e4c7dbca3016ce9b9b82ed
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.3-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.56.3-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
6a8ad48b7755a60e1a9e563a6f3d26ae3e3ebcf194e49855c344eab1541f0724
BLAKE2b-256 checksum
How to use checksums
cef1f84615193fd24ceee2487c6342d5e0bedf1ba94fedf949501befeccc39b1
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.3 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