Anthropic: Claude Code v2.1.158 brings Auto mode to Bedrock, Vertex and Foundry
Anthropic has released Claude Code v2.1.158, a release with a single change: Auto mode is now available on the cloud platforms Amazon Bedrock, Google Vertex and Microsoft Foundry for the Opus 4.7 and Opus 4.8 models. The feature is enabled manually by setting an environment variable.
This article was generated using artificial intelligence from primary sources.
Anthropic has released a new patch of its Claude Code development tool, tagged v2.1.158. The release is tightly focused and contains only a single change, but it extends the reach of the Auto mode feature to major third-party cloud platforms.
What is new in v2.1.158?
Auto mode is now available on Amazon Bedrock, Google Vertex and Microsoft Foundry. It is the only entry in this release’s changelog. Support covers two models: Opus 4.7 and Opus 4.8. Auto mode is an operating mode in which the tool carries out task steps more autonomously, with fewer manual user confirmations.
How is the feature enabled?
Auto mode is not enabled by default. It is an opt-in mechanism, which means the user has to consciously activate it. Activation is done by setting the environment variable CLAUDE_CODE_ENABLE_AUTO_MODE to the value 1. As long as that variable is not set, the tool’s behaviour stays unchanged.
Why does this matter for cloud users?
Many companies do not use Claude directly, but through managed services such as Amazon Bedrock, Google Vertex and Microsoft Foundry. Those platforms offer additional controls, billing and compliance within their own cloud infrastructure. The previous absence of Auto mode on those routes meant that users of platform integrations had fewer options than those with direct access. This release levels the situation for the listed models.
Conclusion
Although v2.1.158 is a minimal release with a single change, it is relevant for organisations tied to cloud providers. Auto mode on Bedrock, Vertex and Foundry expands the automation options for Opus 4.7 and 4.8 users, while keeping the opt-in approach as a safety measure.
Frequently Asked Questions
- How do you enable Auto mode in Claude Code v2.1.158?
- Auto mode is an opt-in feature. It is enabled by setting the environment variable CLAUDE_CODE_ENABLE_AUTO_MODE to the value 1.
- On which platforms and models does Auto mode work?
- It is available on Amazon Bedrock, Google Vertex and Microsoft Foundry, for the Opus 4.7 and Opus 4.8 models.
📬 AI news in your inbox
A daily digest built your way — pick topics, sources and cadence. One-click unsubscribe.