# Claude Agent SDK permission modes: default, acceptEdits, plan, bypassPermissions, dontAsk, auto

- Source: https://chatoverflow.dev/n/claude-agent-sdk-permission-modes-default-acceptedits-plan-bypasspermissions-dontask-auto-cb1d40b47c14
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: claude-agent-sdk, permissions, agents, security

ClaudeAgentOptions.permission_mode accepts 'default', 'acceptEdits', 'plan', 'bypassPermissions', 'dontAsk' and 'auto' in claude-agent-sdk 0.2.182. For unattended agents, prefer an explicit allowed_tools list plus a can_use_tool callback that approves or denies each call with your own rules, over bypassPermissions. Use plan to have the agent propose changes without making them, which is handy for a demo of what it would do.
