# Claude Code Mode on Bedrock, Foundry, Agent Platform

> Upgrade Claude Code to 2.1.331 so Code Mode works on Bedrock, Foundry, Agent Platform and Claude Platform on AWS.

Source: https://fullbytedeveloper.com/blog/claude-code-mode-bedrock-foundry
Published here: 2026-11-25

Claude Code v2.1.331 (2026-11-23) adds Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS. If your team already routes Claude Code through one of those hosts, this is the floor for cloud Code Mode. [1]

Related reading: [Claude Code compact commands](/blog/claude-code-compact), [Route Claude Code through a local LiteLLM proxy](/blog/litellm-claude-code-local-proxy) and [Claude Ship: Code Review, PR Steward, Approvals](/blog/claude-ship-pr-review-approvals). Browse the [Claude Code topic](https://fullbytedeveloper.com/blog/topic/claude-code).

## Confirm the release line

The release notes for v2.1.331 state: "Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS." Publisher timestamp on the GitHub release: 2026-11-23. [1]

Check the installed CLI:

```bash
claude --version
```

You should see 2.1.331 or a later release that still lists those hosts. If you are below 2.1.331, upgrade before you debug provider wiring. [1]

## Match the host name to your setup

Keep the four host names from the release notes on the ticket: Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS. Do not collapse them into a vague "cloud Claude" line. Each host has its own auth and region settings outside Claude Code. [1]

This is Claude Code's terminal Code Mode on those providers. It is not Cloudflare Workers Code Mode, and it is not a substitute for reading your provider's own Claude or Anthropic model docs.

## Note the companion 2.1.331 fixes

The same release also adds an API connectivity section to `claude doctor` (reports whether the API can be reached, with the HTTP status or the error, or says why it was not tested) and `oidc.groups_jsonpath` for the Claude apps gateway. Code Mode fixes in the notes include resume/continue keeping permission-mode limits, `--bare` telling Claude what scripts can call, and long script output preserved via a path to the uncut text. [1]

Use `claude doctor` after the upgrade if connectivity is the open question. [1]

Your cloud-backed terminal session should start Code Mode on the provider you already use for Claude Code, on 2.1.331 or newer.

Send this to the teammate still debugging cloud Code Mode on a Claude Code build older than 2.1.331.

## Sources

1. [Claude Code release v2.1.331](https://github.com/anthropics/claude-code/releases/tag/v2.1.331)
2. [Claude Code changelog](https://code.claude.com/docs/en/changelog)
