Skip to main content
Version: 0.8.1

API Reference

CLI

Primary commands:

agnix [OPTIONS] [PATH]
agnix schema [--output <FILE>]
agnix watch [PATH]
agnix telemetry <status|enable|disable>

Output formats:

  • Human text (default)
  • JSON (--format json)
  • SARIF (--format sarif)

MCP server

Install and run:

cargo install agnix-mcp
agnix-mcp

Available tools include:

  • validate_file
  • validate_project
  • get_rules
  • get_rule_docs

Specification references: