Show HN: Plan-linter – pre-flight safety checker for AI agent plans
a year ago
- #static-analysis
- #LLM
- #open-source
- plan-linter is an open-source static analysis toolkit for LLM agent plans.
- It validates machine-readable plans against schemas, policy rules, and heuristics.
- Basic usage involves running `plan-lint` on a JSON plan file.
- Advanced usage allows specifying a policy file for custom validation rules.
- Example policy rules include allowed tools, bounds on arguments, and regex-based token denials.
- Custom rules can be added by creating Python files in the `plan_lint/rules` directory.
- The tool supports CLI and JSON output formats.
- Contributions are welcome, with guidelines for issue discussion, forking, and PR submission.
- Development setup includes creating a virtual environment and installing dependencies.
- Licensed under Apache License 2.0.