Skip to main content

agnix

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

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

Total release size: 31.6 MB

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

Download URL agnix-0.62.0-py3-none-win_amd64.whl
Size 6.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
436eb451c6ef0713c92528a3d4062e9283d85ea542491961d5c3aa87185ad0d2
BLAKE2b-256 checksum
How to use checksums
d282023c2b42ec39842cd043b1e0849f91e6e186c9c354a839080adf395c8edd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.0-py3-none-musllinux_1_2_x86_64.whl
Size 6.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
eb90af8b1fb44774c37d5eecb870617c16960fb9e583e8c9302da13833c5455a
BLAKE2b-256 checksum
How to use checksums
d4e0fa2b2d3c939c3e0244ec965e046ad4a5a506b831b7ac30caebf41446d8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.0-py3-none-manylinux_2_18_x86_64.whl
Size 6.5 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e9df29deee960e8c0c18ea1c0fcbff5f9909c584a164a3e08088c143238fcacf
BLAKE2b-256 checksum
How to use checksums
abf1a89ae54d31967fdb269b74fa50e156acf567846f22fe8e1da0eb43340bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.0-py3-none-manylinux_2_18_aarch64.whl
Size 5.9 MB
Tags Linux glibc 2.18+ ARM64 Python 3
SHA-256 checksum
How to use checksums
eea057bb0a399c8df101d1a1869a0ae06c74087cc9988d4751bf61f544786f7e
BLAKE2b-256 checksum
How to use checksums
03cbc2eac1bdbb5d7bb591481dc915e44ddf0b3648f21403dafddeb920cb77fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL agnix-0.62.0-py3-none-macosx_11_0_arm64.whl
Size 5.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ff8c651082c65ff0d12bd7ae36c29d10e433f579b23555d737be6f0ae0d17b04
BLAKE2b-256 checksum
How to use checksums
e38a65cd206a216e0c8726c6b7ec903202a4442fa91be251dcebbc8d3bf2c1e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for agnix 0.62.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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