Skip to main content

agnix

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

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

Total release size: 30.1 MB

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

Download URL agnix-0.60.3-py3-none-win_amd64.whl
Size 6.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
cf85dd4813609902de8c03a6e9f52d49cff99dd91e5e0a31216109621d60ced4
BLAKE2b-256 checksum
How to use checksums
fbb77f1c0ef7f203efe35ca0f3b501c375870b96aa65910df265d164c2245a8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

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

Download URL agnix-0.60.3-py3-none-musllinux_1_2_x86_64.whl
Size 6.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6586a9007b7b45273a03bc5ade73be2e8c7cb0aafd364acdeb906f02d4375792
BLAKE2b-256 checksum
How to use checksums
2d40f898b3e236ee92185c93abb47a75cd19727fba40b0f37fcb9a89eda156e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

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

Download URL agnix-0.60.3-py3-none-manylinux_2_18_x86_64.whl
Size 6.3 MB
Tags Linux glibc 2.18+ x86-64 Python 3
SHA-256 checksum
How to use checksums
937349caf120f793615ecde3c4976c86f0410469debd7462756ba6165404a0d7
BLAKE2b-256 checksum
How to use checksums
8d18b31656213536b15771eae002c75fa4753011f46d141854711417c5cfccf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

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

Download URL agnix-0.60.3-py3-none-manylinux_2_18_aarch64.whl
Size 5.6 MB
Tags Linux glibc 2.18+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fab8803a584514a0b2da275039fd098bc92c05c54038171b0a73d9dd23db10a9
BLAKE2b-256 checksum
How to use checksums
91e287e092294266e8f8c386dcab44c0c7f3fc0d8c949743d8a627a4b60d7235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.1

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

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

Security for agnix 0.60.3

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