Skip to main content

agnix

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

455 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)

Links

License

MIT OR Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agnix-0.52.2-py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 3Windows x86-64

agnix-0.52.2-py3-none-musllinux_1_2_x86_64.whl (3.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

agnix-0.52.2-py3-none-manylinux_2_18_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.18+ x86-64

agnix-0.52.2-py3-none-manylinux_2_18_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.18+ ARM64

agnix-0.52.2-py3-none-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file agnix-0.52.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: agnix-0.52.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for agnix-0.52.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 660e8dcc0da34f1f4cddb3992ea1cbc7330081693610475697f55be540702b45
MD5 46cdfddf2eb1d2cc0221262fe012b29f
BLAKE2b-256 d36d52aea257a6a53b100f989ccef1c58e74dd154b5a655224d0c81a78ccf96b

See more details on using hashes here.

File details

Details for the file agnix-0.52.2-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for agnix-0.52.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1922a95753fc919a3baabf99bdaf38bbd7c439cbf07a47c898199873b84ca2f2
MD5 4558e49c0a2b8434260dc97b970fcb8b
BLAKE2b-256 72bb0a58fe68dc994d2b2c5898cad8e612ba23f58b3c51e3eb3dd73b04e397b7

See more details on using hashes here.

File details

Details for the file agnix-0.52.2-py3-none-manylinux_2_18_x86_64.whl.

File metadata

File hashes

Hashes for agnix-0.52.2-py3-none-manylinux_2_18_x86_64.whl
Algorithm Hash digest
SHA256 5ff29e16e1b6e4fc6a80c85a9982de27dedcf34f30a02a827c7ab7d171ed0f52
MD5 7f4391e2e60d06f69b668bb972702f2b
BLAKE2b-256 a5850efb65594adfd24c1dc8959211f8460fee48c194c4b17c079dc9e5d27352

See more details on using hashes here.

File details

Details for the file agnix-0.52.2-py3-none-manylinux_2_18_aarch64.whl.

File metadata

File hashes

Hashes for agnix-0.52.2-py3-none-manylinux_2_18_aarch64.whl
Algorithm Hash digest
SHA256 1ddc39313cb22cfff7181ed1bf2d54667d74497eff60aa4a8d01cda31bfd237d
MD5 ab054ac67c1fa16d450d12e68d589c49
BLAKE2b-256 426eabc6b296b4fba159f7617d9c64d12bff548bd9aaf0c43776abe1e4499c65

See more details on using hashes here.

File details

Details for the file agnix-0.52.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agnix-0.52.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f71773686f3927f9c045ca1e33719e01f7cf436ea420be4b36e18fc2da25c7f
MD5 abf12765bff1647a7a517e79b09391b4
BLAKE2b-256 684fa58a9ac880954101f752b08e4bba5cf4f34d829f387cabbaa86ce0f9f48b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.52.2 This release

5 files

0.52.1

5 files

0.52.0

5 files

0.51.0

5 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