Claude Code by Anthropic: Autonomy and Safety in Auto Mode
Le brief IA que les pros lisent chaque soir
Les 7 actus IA du jour, décryptées en 5 min. Gratuit.
Inclus dès l'inscription : notre sélection des meilleurs guides & comparatifs IA.
Choisis ton rythme
Gratuit · Pas de spam · Désabonnement en 1 clic
A New Balance Between Autonomy and Security with Claude Code
Claude Code, developed by Anthropic, innovates with the introduction of auto mode, a feature aimed at balancing the autonomy of artificial intelligence and the safety of operations. Until now, Claude Code required human validation for every file write and shell command. An alternative, the –dangerously-skip-permissions flag, allowed bypassing these checks, but its use was limited to isolated environments due to potential risks.
The Role of the AI Classifier
Auto mode stands out by integrating an AI classifier model that evaluates each action before execution. This classifier analyzes the ongoing conversation to determine if an action is safe. Actions deemed safe are executed automatically, while those considered risky are blocked. In some cases, Claude Code suggests alternatives for blocked actions.
By default, the classifier blocks several types of actions:
- Mass deletion of files before the start of a session,
- Sending sensitive data to external endpoints,
- Downloading and executing code from unverified sources,
- Deployments and migrations in production,
- Destructive operations on the main branch of a git repository.
In contrast, read-only operations and file modifications in the working directory are automatically approved without going through the classifier. If an action is blocked three times in a row or twenty times total during a session, Claude Code reverts to requiring manual validation.
Precautions and Recommendations
Although auto mode improves efficiency, Anthropic advises using it in isolated environments. The classifier may sometimes allow risky actions if the context is ambiguous or block safe actions.
Activating Auto Mode
Activating auto mode varies depending on the interface used:
- Command Line Interface (CLI): use the –enable-auto-mode flag and navigate between modes with Shift+Tab to select "Auto."
- In VS Code: enable the "Allow Dangerous Permission Ignorance" option in the extension settings, then choose "Auto" from the dropdown menu.
- Desktop Application: enable the option via Organization Settings under Claude Code, then select the mode in the session selector.
Administrators of Team and Enterprise plans can disable this mode for all users via the settings. Documentation on permission modes provides additional details.
Availability and Compatibility
Auto mode is available in preview for Team plans since March 24, 2026. Its deployment on Enterprise and API plans is expected in the coming days. This feature is compatible only with Claude Sonnet 4.6 and Claude Opus 4.6.
Brief IA — L'actualité IA en français
L'essentiel de l'actualité de l'intelligence artificielle, décrypté et expliqué chaque jour.