v2.1.158
read at source ↗ github.com
v2.1.158
Source: Anthropic Claude Code Date: 2026-05-30 URL: https://github.com/anthropics/claude-code/releases/tag/v2.1.158
Summary
Claude Code v2.1.158 extends Auto mode availability to Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8. Auto mode had previously been limited to direct Anthropic API access; this release gates it behind an opt-in environment variable (CLAUDE_CODE_ENABLE_AUTO_MODE=1) and opens it to enterprise customers running through the major cloud provider integrations.
Implications
This signal feeds the coding-agent landscape and agentic engineering patterns threads. Auto mode — where the agent decides its own level of autonomy and action scope — is the capability enterprise customers have been waiting for, and gating it behind an env var on Bedrock/Vertex/Foundry is the standard pattern for controlled enterprise rollout. Specific implications:
- Bedrock and Vertex are the integration paths for enterprise security and compliance postures (AWS and GCP respectively); unlocking Auto mode there signals Anthropic is comfortable with the mode’s stability and safety profile at scale.
- Foundry (Microsoft Azure AI) being included in the same release puts Claude Code on parity with GitHub Copilot’s home platform — a notable competitive moment.
- The opt-in env var pattern suggests Anthropic is watching adoption and failure modes carefully before making Auto mode the default for cloud deployments. Watch for the flag disappearing in a future release as the signal that the mode has cleared internal reliability thresholds.