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_filevalidate_projectget_rulesget_rule_docs
Specification references: