Legal and compliance
Show diff (118 lines)
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -1,33 +1,17 @@
-##
+## Legal agreements
-
-
-Legal agreements
-
-###
-
-
-
-License
+### License
Your use of Claude Code is subject to:
* [Commercial Terms of Service](<https://www.anthropic.com/legal/commercial-terms>) \- for Team, Enterprise, and Claude API users
* [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>) \- for Free, Pro, Max, and Ultra users
-###
-
-
-
-Commercial agreements
+### Commercial agreements
Whether you’re using the Claude API directly (1P) or accessing it through Amazon Bedrock or Google Cloud’s Agent Platform (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
-###
-
-
-
-Can customers offer Claude Code in their products?
+### Can customers offer Claude Code in their products?
Unless we’ve mutually agreed otherwise, preinstalling or running Claude Code in your products or services (e.g. in hosted sandboxes or other agent infrastructure) requires agreeing to our [Commercial Terms of Service](<https://www.anthropic.com/legal/commercial-terms>) and complying with the conditions below:
@@ -36,17 +20,9 @@
**Using the Claude Code name and logo.** You can accurately say, in plain text, that your product has Claude Code preinstalled or that it runs Claude Code. But you can’t use the Claude Code or Anthropic names or logos as part of your own product, feature, or company name, in your own logo, or in a way that suggests Anthropic built, endorses, or is partnered with your product. Any other use of Anthropic’s names or logos is governed by our [Trademark Guidelines](<https://www.anthropic.com/legal/trademark-guidelines>) and requires our written permission. Claude Code remains governed by Anthropic’s standard terms (see the License and Commercial agreements sections above) regardless of the platform through which it is accessed.
-##
+## Compliance
-
-
-Compliance
-
-###
-
-
-
-Healthcare compliance (BAA)
+### Healthcare compliance (BAA)
If a customer has executed a Business Associate Agreement (BAA) with Anthropic, that BAA extends to Claude Code in two configurations, depending on what is available for your organization:
@@ -55,25 +31,13 @@
Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the Claude mobile app, and Claude Code routed through a third-party cloud provider or a gateway aren’t covered. Review the [Implementation Guide](<https://trust.anthropic.com/resources?s=l1wrssd9hsbi4gak0tp5a6&name=%5Banthropic%5D-hipaa-ready-offering-implementation-guide>) for a full list of Eligible Services.
-##
+## Usage policy
-
-
-Usage policy
-
-###
-
-
-
-Acceptable use
+### Acceptable use
Claude Code usage is subject to the [Anthropic Usage Policy](<https://www.anthropic.com/legal/aup>). Advertised usage limits for Pro, Max, and Ultra plans assume ordinary, individual usage of Claude Code and the Agent SDK.
-###
-
-
-
-Authentication and credential use
+### Authentication and credential use
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
@@ -82,25 +46,13 @@
This does not restrict how customers provision and manage their own API keys or third-party inference provider credentials — for example, configuring an API key in a development environment, secrets manager, or machine image for use by the customer’s own authorized users — provided the resulting usage is billed to the key owner under their agreement with Anthropic (or the applicable provider) and is not resold or intermediated as described above. Nor does it prevent an end user from signing in to the unmodified Claude Code binary with their own Claude subscription, including where a platform hosts Claude Code as described under _Can customers offer Claude Code in their products?_ above. Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
-##
+## Security and trust
-
-
-Security and trust
-
-###
-
-
-
-Trust and safety
+### Trust and safety
You can find more information in the [Anthropic Trust Center](<https://trust.anthropic.com>) and [Transparency Hub](<https://www.anthropic.com/transparency>).
-###
-
-
-
-Security vulnerability reporting
+### Security vulnerability reporting
Anthropic manages our security program through HackerOne. [Use this form to report vulnerabilities](<https://hackerone.com/4f1f16ba-10d3-4d09-9ecc-c721aad90f24/embedded_submissions/new>).
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -13,7 +13,7 @@
Your use of Claude Code is subject to:
* [Commercial Terms of Service](<https://www.anthropic.com/legal/commercial-terms>) \- for Team, Enterprise, and Claude API users
- * [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>) \- for Free, Pro, and Max users
+ * [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>) \- for Free, Pro, Max, and Ultra users
###
@@ -67,7 +67,7 @@
Acceptable use
-Claude Code usage is subject to the [Anthropic Usage Policy](<https://www.anthropic.com/legal/aup>). Advertised usage limits for Pro and Max plans assume ordinary, individual usage of Claude Code and the Agent SDK.
+Claude Code usage is subject to the [Anthropic Usage Policy](<https://www.anthropic.com/legal/aup>). Advertised usage limits for Pro, Max, and Ultra plans assume ordinary, individual usage of Claude Code and the Agent SDK.
###
@@ -77,8 +77,8 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
- * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. For the sign-in steps, see [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>); for how Claude Code performs OAuth authentication, see [Authentication](</docs/en/authentication>).
- * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, or Max plan credentials on behalf of their users. Moreover, developers may not collect, store, or intermediate Claude.ai credentials or session tokens — sign-in to a Claude account must complete through Anthropic’s own flow.
+ * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Ultra, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. For the sign-in steps, see [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>); for how Claude Code performs OAuth authentication, see [Authentication](</docs/en/authentication>).
+ * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, Max, or Ultra plan credentials on behalf of their users. Moreover, developers may not collect, store, or intermediate Claude.ai credentials or session tokens — sign-in to a Claude account must complete through Anthropic’s own flow.
This does not restrict how customers provision and manage their own API keys or third-party inference provider credentials — for example, configuring an API key in a development environment, secrets manager, or machine image for use by the customer’s own authorized users — provided the resulting usage is billed to the key owner under their agreement with Anthropic (or the applicable provider) and is not resold or intermediated as described above. Nor does it prevent an end user from signing in to the unmodified Claude Code binary with their own Claude subscription, including where a platform hosts Claude Code as described under _Can customers offer Claude Code in their products?_ above. Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -53,7 +53,7 @@
* **HIPAA configuration** : the Claude Code CLI or the Code tab in Claude Desktop, used with a Claude for Enterprise account. The organization must have HIPAA enabled and the HIPAA configuration applied to Claude Code (local mode) and Cowork (local mode). See [Set up Claude Code (local mode) for a HIPAA-ready organization](</docs/en/hipaa-setup>).
* **Zero Data Retention** : Claude Code with [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization. ZDR isn’t available for all organizations.
-Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the Claude mobile app, and Claude Code routed through a third-party cloud provider or a gateway aren’t covered. Review the [Implementation Guide](<https://trust.anthropic.com/resources?s=rgirr4qe8u7ek8c2igx3&name=claude-for-enterprise-hipaa-ready-offering-implementation-guide>) for a full list of Eligible Services.
+Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the Claude mobile app, and Claude Code routed through a third-party cloud provider or a gateway aren’t covered. Review the [Implementation Guide](<https://trust.anthropic.com/resources?s=l1wrssd9hsbi4gak0tp5a6&name=%5Banthropic%5D-hipaa-ready-offering-implementation-guide>) for a full list of Eligible Services.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -48,7 +48,12 @@
Healthcare compliance (BAA)
-If a customer has executed a Business Associate Agreement (BAA) with Anthropic and has [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization, that BAA extends to the customer’s API traffic through Claude Code.
+If a customer has executed a Business Associate Agreement (BAA) with Anthropic, that BAA extends to Claude Code in two configurations, depending on what is available for your organization:
+
+ * **HIPAA configuration** : the Claude Code CLI or the Code tab in Claude Desktop, used with a Claude for Enterprise account. The organization must have HIPAA enabled and the HIPAA configuration applied to Claude Code (local mode) and Cowork (local mode). See [Set up Claude Code (local mode) for a HIPAA-ready organization](</docs/en/hipaa-setup>).
+ * **Zero Data Retention** : Claude Code with [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization. ZDR isn’t available for all organizations.
+
+Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the Claude mobile app, and Claude Code routed through a third-party cloud provider or a gateway aren’t covered. Review the [Implementation Guide](<https://trust.anthropic.com/resources?s=rgirr4qe8u7ek8c2igx3&name=claude-for-enterprise-hipaa-ready-offering-implementation-guide>) for a full list of Eligible Services.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -12,7 +12,7 @@
Your use of Claude Code is subject to:
- * [Commercial Terms](<https://www.anthropic.com/legal/commercial-terms>) \- for Team, Enterprise, and Claude API users
+ * [Commercial Terms of Service](<https://www.anthropic.com/legal/commercial-terms>) \- for Team, Enterprise, and Claude API users
* [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>) \- for Free, Pro, and Max users
###
@@ -22,6 +22,19 @@
Commercial agreements
Whether you’re using the Claude API directly (1P) or accessing it through Amazon Bedrock or Google Cloud’s Agent Platform (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
+
+###
+
+
+
+Can customers offer Claude Code in their products?
+
+Unless we’ve mutually agreed otherwise, preinstalling or running Claude Code in your products or services (e.g. in hosted sandboxes or other agent infrastructure) requires agreeing to our [Commercial Terms of Service](<https://www.anthropic.com/legal/commercial-terms>) and complying with the conditions below:
+
+ * **The Claude Code binary must not be modified.** Claude Code must be installed and run as published by Anthropic, and customers may not remove, disable, or restrict any authentication method built into it (including methods that permit signing in with a Claude account or the user’s own API key).
+ * **Customers may not pay for, resell, or intermediate Claude usage on their end users’ behalf.** Each end user must authenticate with their own Anthropic API key, Claude subscription plan credentials, or 3P inference provider credential (Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry). That usage is billed directly to the end user under their own agreement with Anthropic or, for third-party inference providers, with the applicable provider.
+
+**Using the Claude Code name and logo.** You can accurately say, in plain text, that your product has Claude Code preinstalled or that it runs Claude Code. But you can’t use the Claude Code or Anthropic names or logos as part of your own product, feature, or company name, in your own logo, or in a way that suggests Anthropic built, endorses, or is partnered with your product. Any other use of Anthropic’s names or logos is governed by our [Trademark Guidelines](<https://www.anthropic.com/legal/trademark-guidelines>) and requires our written permission. Claude Code remains governed by Anthropic’s standard terms (see the License and Commercial agreements sections above) regardless of the platform through which it is accessed.
##
@@ -35,7 +48,7 @@
Healthcare compliance (BAA)
-If a customer has a Business Associate Agreement (BAA) with us, and wants to use Claude Code, the BAA will automatically extend to cover Claude Code if the customer has executed a BAA and has [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) activated. The BAA will be applicable to that customer’s API traffic flowing through Claude Code. ZDR is enabled on a per-organization basis, so each organization must have ZDR enabled separately to be covered under the BAA.
+If a customer has executed a Business Associate Agreement (BAA) with Anthropic and has [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization, that BAA extends to the customer’s API traffic through Claude Code.
##
@@ -60,9 +73,9 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
* **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. For the sign-in steps, see [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>); for how Claude Code performs OAuth authentication, see [Authentication](</docs/en/authentication>).
- * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
+ * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, or Max plan credentials on behalf of their users. Moreover, developers may not collect, store, or intermediate Claude.ai credentials or session tokens — sign-in to a Claude account must complete through Anthropic’s own flow.
-Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
+This does not restrict how customers provision and manage their own API keys or third-party inference provider credentials — for example, configuring an API key in a development environment, secrets manager, or machine image for use by the customer’s own authorized users — provided the resulting usage is billed to the key owner under their agreement with Anthropic (or the applicable provider) and is not resold or intermediated as described above. Nor does it prevent an end user from signing in to the unmodified Claude Code binary with their own Claude subscription, including where a platform hosts Claude Code as described under _Can customers offer Claude Code in their products?_ above. Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -59,7 +59,7 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
- * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. More information about how users can authenticate with OAuth tokens can be found in [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>).
+ * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. For the sign-in steps, see [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>); for how Claude Code performs OAuth authentication, see [Authentication](</docs/en/authentication>).
* **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -21,7 +21,7 @@
Commercial agreements
-Whether you’re using the Claude API directly (1P) or accessing it through Amazon Bedrock or Google Vertex (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
+Whether you’re using the Claude API directly (1P) or accessing it through Amazon Bedrock or Google Cloud’s Agent Platform (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -1,5 +1,3 @@
-Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
-
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -1,9 +1,3 @@
-> ## Documentation Index
->
-> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
->
-> Use this file to discover all available pages before exploring further.
-
Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -3,6 +3,8 @@
> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
>
> Use this file to discover all available pages before exploring further.
+
+Starting June 15, 2026, Agent SDK and `claude -p` usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits. See [Use the Claude Agent SDK with your Claude plan](<https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan>) for details.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -27,7 +27,7 @@
Commercial agreements
-Whether you’re using the Claude API directly (1P) or accessing it through AWS Bedrock or Google Vertex (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
+Whether you’re using the Claude API directly (1P) or accessing it through Amazon Bedrock or Google Vertex (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -1,3 +1,9 @@
+> ## Documentation Index
+>
+> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
+>
+> Use this file to discover all available pages before exploring further.
+
##
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -84,7 +84,7 @@
Security vulnerability reporting
-Anthropic manages our security program through HackerOne. [Use this form to report vulnerabilities](<https://hackerone.com/anthropic-vdp/reports/new?type=team&report_type=vulnerability>).
+Anthropic manages our security program through HackerOne. [Use this form to report vulnerabilities](<https://hackerone.com/4f1f16ba-10d3-4d09-9ecc-c721aad90f24/embedded_submissions/new>).
* * *
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -60,7 +60,7 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
* **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. More information about how users can authenticate with OAuth tokens can be found in [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>).
- * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
+ * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](</docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -59,7 +59,7 @@
Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
- * **OAuth authentication** (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service — including the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>) — is not permitted and constitutes a violation of the [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>).
+ * **OAuth authentication** is intended exclusively for purchasers of Claude Free, Pro, Max, Team, and Enterprise subscription plans and is designed to support ordinary use of Claude Code and other native Anthropic applications. More information about how users can authenticate with OAuth tokens can be found in [Logging in to your Claude account](<https://support.claude.com/en/articles/13189465-logging-in-to-your-claude-account>).
* **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -0,0 +1,91 @@
+##
+
+
+
+Legal agreements
+
+###
+
+
+
+License
+
+Your use of Claude Code is subject to:
+
+ * [Commercial Terms](<https://www.anthropic.com/legal/commercial-terms>) \- for Team, Enterprise, and Claude API users
+ * [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>) \- for Free, Pro, and Max users
+
+###
+
+
+
+Commercial agreements
+
+Whether you’re using the Claude API directly (1P) or accessing it through AWS Bedrock or Google Vertex (3P), your existing commercial agreement will apply to Claude Code usage, unless we’ve mutually agreed otherwise.
+
+##
+
+
+
+Compliance
+
+###
+
+
+
+Healthcare compliance (BAA)
+
+If a customer has a Business Associate Agreement (BAA) with us, and wants to use Claude Code, the BAA will automatically extend to cover Claude Code if the customer has executed a BAA and has [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) activated. The BAA will be applicable to that customer’s API traffic flowing through Claude Code. ZDR is enabled on a per-organization basis, so each organization must have ZDR enabled separately to be covered under the BAA.
+
+##
+
+
+
+Usage policy
+
+###
+
+
+
+Acceptable use
+
+Claude Code usage is subject to the [Anthropic Usage Policy](<https://www.anthropic.com/legal/aup>). Advertised usage limits for Pro and Max plans assume ordinary, individual usage of Claude Code and the Agent SDK.
+
+###
+
+
+
+Authentication and credential use
+
+Claude Code authenticates with Anthropic’s servers using OAuth tokens or API keys. These authentication methods serve different purposes:
+
+ * **OAuth authentication** (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service — including the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>) — is not permitted and constitutes a violation of the [Consumer Terms of Service](<https://www.anthropic.com/legal/consumer-terms>).
+ * **Developers** building products or services that interact with Claude’s capabilities, including those using the [Agent SDK](<https://platform.claude.com/docs/en/agent-sdk/overview>), should use API key authentication through [Claude Console](<https://platform.claude.com/>) or a supported cloud provider. Anthropic does not permit third-party developers to offer Claude.ai login or to route requests through Free, Pro, or Max plan credentials on behalf of their users.
+
+Anthropic reserves the right to take measures to enforce these restrictions and may do so without prior notice. For questions about permitted authentication methods for your use case, please [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=legal_compliance_contact_sales>).
+
+##
+
+
+
+Security and trust
+
+###
+
+
+
+Trust and safety
+
+You can find more information in the [Anthropic Trust Center](<https://trust.anthropic.com>) and [Transparency Hub](<https://www.anthropic.com/transparency>).
+
+###
+
+
+
+Security vulnerability reporting
+
+Anthropic manages our security program through HackerOne. [Use this form to report vulnerabilities](<https://hackerone.com/anthropic-vdp/reports/new?type=team&report_type=vulnerability>).
+
+* * *
+
+© Anthropic PBC. All rights reserved. Use is subject to applicable Anthropic Terms of Service.