Skip to main content

agnix

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

451 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.51.0-py3-none-win_amd64.whl (3.6 MB view details)

Uploaded Python 3Windows x86-64

agnix-0.51.0-py3-none-musllinux_1_2_x86_64.whl (3.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3manylinux: glibc 2.18+ x86-64

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

Uploaded Python 3manylinux: glibc 2.18+ ARM64

agnix-0.51.0-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.51.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: agnix-0.51.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.6 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.51.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3de0a9926bbbf787deaa44948bcba9faa30ce0c32e9333effa067808c5ee51e3
MD5 dd3cda05a665a1f0840961dff9232055
BLAKE2b-256 40e62bf01ebfd804465a00bc46c5fd024240437d94d9fff728e68bfd27c53510

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agnix-0.51.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eb9ad5c7673f45d74846d256a05641378dd8f9df233ec69a10333f1bafcabf40
MD5 7784d2bc6c5041184c45fb33d5569712
BLAKE2b-256 c04a38bda73804565300f0ed3018bcbcca5a2f4c4a89423f752cfb2729928278

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agnix-0.51.0-py3-none-manylinux_2_18_x86_64.whl
Algorithm Hash digest
SHA256 57fd391e48524850d3a3ec6ffd720a39d611337c7d3ece4ab1d233ff010ceb75
MD5 feda129c8d6a6de0a178b8b759feeaca
BLAKE2b-256 2e1989de4012df1b3230186ba4bc0362bacac2019e5ba28a58d1f74f138b9fe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agnix-0.51.0-py3-none-manylinux_2_18_aarch64.whl
Algorithm Hash digest
SHA256 e3c2ddba69ac1643850fcc9339c6d956eb63274846d7bc6fa77fcb30b8216c2c
MD5 d485c6118cde21360622e073ea378e01
BLAKE2b-256 4df20555dedcff2f28c5de4e334a010f1bb5354efdb4f0f4295a0ca63e407607

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agnix-0.51.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 900d4ebca42e909271a89fc66b05e88d8fcfff04257ae6c3caca46ce1da4db45
MD5 f3bb3fdb429d279b63300166c425653f
BLAKE2b-256 300112fdc7374f0603a39021fbb81af314df96f6468ac55947ae6d81b6d8794a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.52.1

5 files

0.52.0

5 files

This release

0.51.0 This release

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