Streamline Bash command approvals with deterministic safety.
Project details
anumati is a unique auto-approver for AI coding agents, designed to simplify Bash command approvals. By utilizing a configuration of named matchers, it allows safe commands while ensuring risky ones prompt for confirmation. The system evolves using real usage data, ensuring a consistently secure and efficient command execution environment.
anumati is a deterministic auto-approver designed for AI coding agents, aimed at eliminating repetitive approval prompts for safe shell commands. Leveraging a simple configuration of named matchers, anumati automatically permits safe commands such as git status, npx tsc, cargo test, and more, while still prompting for genuinely risky commands. This agent-agnostic solution works seamlessly with both Claude Code using the PreToolUse hook and OpenAI Codex through its PermissionRequest hook.
When a shell command is executed, anumati evaluates it against the defined safety rules:
The command evaluation ensures that undesirable sub-commands cannot bypass checks through command chaining, maintaining a high standard of safety throughout.
To initiate, simply run:
anumati init
This command will automatically prompt for configurations, write starter rules for common commands, and scaffold an audit log for tracking approvals. Users can gradually build their command approval settings as needed, facilitating a more efficient workflow over time.
For more detailed guidance, visit the documentation:
With anumati, driver safety and streamlined command execution are at the forefront, providing peace of mind while leveraging AI coding capabilities.
Comments
0Start the conversation
Share the first comment.