Skip to main content

agnix

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

457 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.5

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

Download URL agnix-0.56.5-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a7d4c1737ec740322ae28d62234d18d36d4a3063f845b8d043dd60c737cf999d
BLAKE2b-256 checksum
How to use checksums
7227f410a53c2ebe6d383efed10365a7c7457d79a17d24d6f9d0ba32005cd8a0
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.5-py3-none-musllinux_1_2_x86_64.whl

Download URL agnix-0.56.5-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
7a107d0ec1d19bb4de30994650e7b60356ca3330614622953d32625ca8f477e7
BLAKE2b-256 checksum
How to use checksums
622862742bd02156efd0076870d0dbeeb3bf56e275e062b6e5ee96ef192427e9
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.5-py3-none-manylinux_2_18_x86_64.whl

Download URL agnix-0.56.5-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
14449fc68100b4da630864b882d2298908a519f2027e069d4b6c93526fc73913
BLAKE2b-256 checksum
How to use checksums
f6fc66464b5daa6bcef49960dc5ffd4ff8f278fa294e7ddb6af9a2651bb847db
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.5-py3-none-manylinux_2_18_aarch64.whl

Download URL agnix-0.56.5-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
28d694a08f9e509034eb9d8e5417e33a1cf4b58c5088c91b24bff3b13f4f0047
BLAKE2b-256 checksum
How to use checksums
3d9b7d1ab0a072850a8142c88aeeae5cf3285d190c740c6ef19956ee5669446e
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.5-py3-none-macosx_11_0_arm64.whl

Download URL agnix-0.56.5-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
e4739e200f60b4f350adab1f80a0f2ed618e2c8c8c593a48b797d91c3606e192
BLAKE2b-256 checksum
How to use checksums
d5de1dd0ecd2bbe8a5df1c809b1e4aaac77833915ff141e0e4b3f2f9ff55fd0f
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.5 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