Answer: Code Mode requires Claude Code v2.1.323 or later on either release channel, a Claude subscription or Console account, an organization without HIPAA configuration or zero data retention, a supported model (Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2), an interactive terminal session, the native build, and Git for Windows on Windows; it doesn't work with -p, the Agent SDK, the VS Code panel, the Desktop app, or cloud sessions, and can't be used through gateways, Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, Microsoft Foundry, or Claude Models on Google Cloud (Anthropic managed). Status: Confirmed Entry: tool/claude-code/features/code-mode-requirements-limits Revision: 2 Digest: sha256:805aa9306363428b (changes whenever the content changes) Timeline: Created: 2026-11-14T12:14:58Z Last changed: 2026-11-17T12:23:59Z (Installation: — → native build) Last verified: 2026-11-20T12:19:15Z Next check: 2026-11-21T12:19:15Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Minimum version | v2.1.323 | [1] | 2026-11-20 Supported models | Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2 | [1] | 2026-11-20 Agent teams minimum version | v2.1.326 | [1] | 2026-11-20 Unsupported surfaces | -p | [1] | 2026-11-20 Unsupported account routes | gateway | [1] | 2026-11-20 Organization restriction | HIPAA configuration | [1] | 2026-11-20 Installation | native build | [1] | 2026-11-20 Windows requirement | Git for Windows | [1] | 2026-11-20 Sources: [1] Anthropic. "Run tool calls from code with Code Mode". https://code.claude.com/docs/en/code-mode.md Role: primary. Accessed: 2026-11-20T12:19:15Z Quote: "Claude Code v2.1.323 or later" (Supports: Minimum version) Quote: "Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2" (Supports: Supported models) Quote: "you need v2.1.326 or later" (Supports: Agent teams minimum version) Quote: "Code Mode doesn't work with `-p`, the Agent SDK, the VS Code panel, the Desktop app, or cloud sessions" (Supports: Unsupported surfaces) Quote: "You can't use Code Mode through a gateway, Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, Microsoft Foundry" (Supports: Unsupported account routes) Quote: "your organization doesn't use the [HIPAA configuration](https://code.claude.com/docs/en/hipaa-setup.md) or [zero data retention](https://code.claude.com/docs/en/zero-data-retention.md)" (Supports: Organization restriction) Quote: "the [native build](https://code.claude.com/docs/en/setup.md) of Claude Code" (Supports: Installation) Quote: "[Git for Windows](https://git-scm.com/downloads/win) is installed" (Supports: Windows requirement) Published: 2026-11-20T10:27:04Z Snapshot SHA-256: 4da2373f8efd0add442cbcbf7b2a507d0175df8c1f68be8cc3a782a5f7e030bf (captured 2026-11-20T12:19:14Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:19:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:19:15Z Last attempt: 2026-11-20T12:19:15Z Notes and limitations: Extracted automatically from a single official source (section "Requirements"). Related: https://latestn.com/tool/claude-code/features/code-review-levels What review levels does Claude Code Code Review offer? https://latestn.com/tool/claude-code/features/confirm-resolved-version How do I confirm which plugin dependency version Claude Code resolved? https://latestn.com/tool/claude-code/features/convert-claude-setup-to-plugin How do I convert an existing .claude/ setup into a Claude Code plugin? https://latestn.com/tool/claude-code/features/choose-extension-by-goal Which Claude Code extension should I use for a given goal, such as adding persistent context, connecting external services, or automating workflows? https://latestn.com/tool/claude-code/features/choose-scan-effort How do I choose the scan effort level for a Claude Security scan in Claude Code? https://latestn.com/tool/claude-code/features/clean-up-worktrees How do I clean up worktrees that Claude Code created? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:23:59Z | changed | Installation: — → native build | [1] 2026-11-17T12:23:59Z | changed | Organization restriction: — → HIPAA configuration | [1] 2026-11-17T12:23:59Z | changed | Unsupported account routes: — → gateway | [1] 2026-11-17T12:23:59Z | changed | Unsupported surfaces: — → -p | [1] 2026-11-17T12:23:59Z | changed | Agent teams minimum version: — → v2.1.326 | [1] 2026-11-17T12:23:59Z | changed | Unsupported settings: an API key helper, agent teams, OpenTelemetry export, or `DISABLE_TELEMETRY` → — | [1] 2026-11-17T12:23:59Z | changed | Windows requirement: [Git for Windows](https://git-scm.com/downloads/win) is installed → Git for Windows | [1] 2026-11-17T12:23:59Z | changed | Installation requirement: the [native build](https://code.claude.com/docs/en/setup.md) of Claude Code → — | [1] 2026-11-17T12:23:59Z | changed | Surface requirement: an interactive `claude` session in a terminal → — | [1] 2026-11-17T12:23:59Z | changed | Account requirement: a Claude subscription or Console account → — | [1] 2026-11-17T12:23:59Z | changed | Minimum version: v2.1.323 or later → v2.1.323 | [1] 2026-11-14T12:14:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/features/code-mode-requirements-limits/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/features/code-mode-requirements-limits POST: https://latestn.com/dispute/tool/claude-code/features/code-mode-requirements-limits with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/features/code-mode-requirements-limits?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What are the requirements and limitations of Code Mode in Claude Code? Revision 2, last verified 2026-11-20T12:19:15Z. https://latestn.com/tool/claude-code/features/code-mode-requirements-limits (accessed 2026-11-21T09:52:48Z). @misc{LatestN_tool_claude_code_features_code_mode_requirements_limits_r2, title = {What are the requirements and limitations of Code Mode in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/features/code-mode-requirements-limits}}, note = {Revision 2; digest sha256:805aa9306363428b; last verified 2026-11-20T12:19:15Z; accessed 2026-11-21T09:52:48Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/features/code-mode-requirements-limits