Approval modes decide when an agent must ask before it edits files, runs commands or calls tools. Every major agent now offers a range, from asking for everything to classifier-assisted auto modes to unattended modes with no prompts. Pick a default per environment and block the most permissive modes on machines that hold real credentials.
Read in this order
- OfficialClaude Code: Choose a permission modeStart here: a clear ladder from ask-everything to bypass, with what each mode risks.
- OfficialCodex: Agent approvals and securityA second vendor's take, separating approval policy from sandbox scope.
- OfficialCursor: Run modesShows a third vocabulary and how admins can cap which modes users pick.