mauhpr/agentlint
213 stars · Last commit 2026-11-07
Local guardrails for AI coding agents. Check proposed file changes and shell commands, block risky patterns, and return actionable feedback. Works with Claude Code, Codex, Cursor, Gemini CLI, and more
README preview
# AgentLint **Catch risky actions while your coding agent works.** AgentLint checks proposed file changes and shell commands locally. It blocks detected secret writes and plain force-pushes to `main` or `master`, warns about risky operations, and gives your agent feedback it can act on. [](https://pypi.org/project/agentlint/) [](https://github.com/mauhpr/agentlint/actions/workflows/ci.yml) [](https://codecov.io/gh/mauhpr/agentlint) [](https://pepy.tech/projects/agentlint) [](https://github.com/mauhpr/agentlint/stargazers) [](https://pypi.org/project/agentlint/) [](https://opensource.org/licenses/MIT) [Quickstart](https://mauhpr.github.io/agentlint/quickstart/) · [Documentation](https://mauhpr.github.io/agentlint/) · [Integration coverage](https://mauhpr.github.io/agentlint/coverage/) · [Rules](https://mauhpr.github.io/agentlint/rules/)  *Illustration with a supported pre-tool hook and standard policy. AgentLint evaluates the revised proposal again; it does not rewrite your code itself.*