1,243 pages for model.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…architectures, so you can choose what fits your situation. ## Threat model Agents can take unintended actions due to prompt injection (instructions embedded in content they process) or model error.…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…nstall your backend's client, and adapt it. | Storage type | Storage model | Example adapter | | :- | :- | :- | | Object store | One part file per `append()`; `load()` lists the parts, sorts them, an…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…ctories, and loads the full content when Claude invokes the skill * **Model-invoked**: Claude autonomously chooses when to use them based on context * **User-invoked**: you dispatch a skill directly b…
Get structured output from agents
Claude Code CLI · in the page
agent-sdk/structured-outputs
…```python Python theme={null} import asyncio from pydantic import BaseModel from claude_agent_sdk import query, ClaudeAgentOptions, ResultMessage class Step(BaseModel): step_number: int desc…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…tools=["Read", "Grep", "Glob"], # model overrides the default model for this subagent model="sonnet", ), "test-r…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…/en/tools-reference.md#task-tool-availability) by default only on the models listed under [Model availability](#model-availability). Newer models track multi-step work without a written todo list, so…
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…itself. ## Configure tool search Tool search is on by default. For models on the SDK's unsupported-model list, the SDK loads tool definitions upfront instead, and no `ENABLE_TOOL_SEARCH` value over…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…lid API key`, `API Error`, `429`, `There's an issue with the selected model` | [Error reference](/docs/en/errors.md#find-your-error) | | `CLINotFoundError`, `CLIConnectionError`, `ProcessError`, `Clau…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…entry instead. The root entry inlines its own copies of `zod` and `@modelcontextprotocol/sdk`. The `/core` entry imports them from your `node_modules` at the ranges the Agent SDK's `peerDependencies…
TypeScript SDK V2 session API (removed)
Claude Code CLI · in the page
agent-sdk/typescript-v2-preview
…-sdk"; const result = await unstable_v2_prompt("What is 2 + 2?", { model: "claude-opus-4-7" }); if (result.subtype === "success") { console.log(result.result); } ``` <details> <summary>See the…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…s → General → Magic → Enable Python API**. ### Specify teammates and models Claude decides the number of teammates to spawn based on your task, or you can specify exactly what you want: ```text wra…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ether it's working, waiting on you, or done. The new session uses the model shown in the agent view header. [Which permission mode it starts in](#permission-mode-model-and-effort) depends on how you o…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…account with Amazon Bedrock access enabled * Access to desired Claude models (for example, Claude Sonnet 4.6) in Amazon Bedrock * AWS CLI installed and configured (optional - only needed if you don't…
Track team usage with analytics
Claude Code CLI · in the page
analytics
…h lists token usage and estimated usage-credit spend per user and per model. ### Enable contribution metrics > [!NOTE] > > Contribution metrics are in public beta and available on Claude for Teams a…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…ocs/en/llm-gateway), or cloud-provider credential cannot publish. | | Model provider | Anthropic API. Not available on [Amazon Bedrock](/docs/en/amazon-bedrock.md), [Google Cloud's Agent Platform](/do…
Authentication
Claude Code CLI · in the page
authentication
…expires. Once the stored login expires and can't be refreshed, each model request fails with [`Login expired · Please run /login`](/docs/en/errors#login-expired) until you sign in again. You can ch…
Auto mode classifier request charges
Claude Code CLI · in the page
auto-mode-classifier-billing
…eview), the server performs those checks as part of the session's own model requests, at no charge. This notice means the server's checks aren't reaching your session, so Claude Code is making its own…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
….md#eliminate-prompts-with-auto-mode), which also cover the supported models and the organization-level control on Team and Enterprise plans. By default, the classifier trusts only the working direct…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…flow](/docs/en/workflows.md) that checks its own findings has a fresh model try to refute the result, so the agent doing the work isn't the one grading it. Each step trades setup for attention. The p…
Champion kit
Claude Code CLI · in the page
champion-kit
…d it hallucinated." | This is usually a context problem rather than a model problem. @-mentioning the relevant files, running `/init`, and providing the actual error output typically resolves it. | Re…
Claude Code changelog
Claude Code CLI · in the page
changelog
…mages or PDF reads **26 bug fixes** * Fixed requests failing with a model-not-found error when `CLAUDE_CODE_DISABLE_1M_CONTEXT` is set and the model is an alias with the `[1m]` suffix, such as `opus…
Push events into a running session with channels
Claude Code CLI · in the page
channels
…e like `← fakechat · web: what's in my working directory?`, while the model receives it as a `<channel source="plugin:fakechat:fakechat">` event, using the plugin's scoped server name. Claude reads it…
Channels reference
Claude Code CLI · in the page
channels-reference
…in the research preview. ## Overview A channel is an [MCP](https://modelcontextprotocol.io) server that runs on the same machine as Claude Code. Claude Code spawns it as a subprocess and communicat…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…soft Foundry behind a self-hosted gateway with SSO sign-in, per-group model access, and OTLP telemetry. > [!NOTE] > > The Claude apps gateway is designed for organizations that must, or prefer to, ro…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…AWS, Google Cloud's Agent Platform, and Microsoft Foundry upstreams, model routing, managed policies, and telemetry. A Claude apps gateway deployment is configured by one YAML file, conventionally `…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…w the security posture](#security): what data flows where, the threat model, and compliance answers. Reference for a security review If a sign-in or boot fails along the way, go straight to [Troubles…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…mple provisions Claude apps gateway on AWS with Amazon Bedrock as the model upstream, using either [Amazon ECS](https://aws.amazon.com/ecs/) on [AWS Fargate](https://aws.amazon.com/fargate/) or [Amazo…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…pps gateway on Google Cloud with Google Cloud's Agent Platform as the model upstream, using either Cloud Run or GKE for compute. Google Workspace is the example identity provider (IdP), but any OpenID…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…e request. Requires v2.1.227 or later. 2. List price for the upstream model ID, the string the gateway sends to the provider, when the Claude Code cost table recognizes it. The table accepts Anthropic…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…or panel in the terminal behave differently in cloud sessions: * **`/model`, `/effort`, `/color`, and `/rename`**: pass the value as an argument, for example `/model sonnet`, instead of opening the t…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…cp-tool-search">tool search</A></>, description: <>Configures Model Context Protocol (MCP) servers that give Claude access to external tools: databases, APIs, browsers, and more. This file hol…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…billing. Requests reach Anthropic's API directly, so you get the same models and API features as the [Claude API](https://platform.claude.com/docs) on the same release schedule. You authenticate with…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…talled-instead-of-asking) covers where to fix that. 3. Check **Thread model** and **Thread effort** in **Project settings > General**. A new project runs every thread on Opus at high effort, which dra…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…sion. A team of Claude agents maps your architecture, builds a threat model, hunts for vulnerabilities, and independently reviews every finding before writing the report. Use the plugin to scan a whol…
claude-tag
Claude Code CLI · in the page
claude-tag
…de Tag remembers</span></div></div></a></li><li id="/claude-tag/users/models" class="relative scroll-m-4 first:scroll-m-20" data-title="Choose the model"><a class="group flex items-start pr-3 py-1.5 c…
CLI reference
Claude Code CLI · in the page
cli-reference
…includes completed background sessions). Pass `--permission-mode`, `--model`, `--effort`, or `--agent` to set [defaults for dispatched sessions](/docs/en/agent-view#permission-mode-model-and-effort).…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…ic's servers when the session starts. See [Surface coverage](/docs/en/model-config.md#surface-coverage) for how `availableModels` is enforced in cloud sessions. Settings deployed to your device throug…
Code Review
Claude Code CLI · in the page
code-review
…alling the GitHub App. It reports correctness bugs. Depending on your model and effort level, the review also covers reuse, simplification, and efficiency cleanups. `/review` is an alias of `/code-re…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…gs, and reports what it found in your conversation. Depending on your model and effort level, the review also covers reuse, simplification, and efficiency cleanups. The command works on any plan. The…
Commands
Claude Code CLI · in the page
commands
…Claude Code from inside a session. They provide a quick way to switch models, manage permissions, clear context, run a workflow, and more. Type `/` to see the commands available to you, or type `/` f…
Common workflows
Claude Code CLI · in the page
common-workflows
…tterns used here ``` ```text wrap theme={null} what are the key data models? ``` ```text wrap theme={null} how is authentication handled? ``` > [!TIP] > > Tips: > > * Start with broad questions, th…
Communications kit
Claude Code CLI · in the page
communications-kit
…rprise plan, Anthropic does not use your code or prompts to train its models. Details: https://code.claude.com/docs/en/data-usage https://code.claude.com/docs/en/security Where to go with qu…
Let Claude use your computer from the CLI
Claude Code CLI · in the page
computer-use
…lly Claude Code downscales every screenshot before sending it to the model. You don't need to lower your display resolution or resize windows on Retina or other high-resolution displays. A 16-inch Ma…
Explore the context window
Claude Code CLI · in the page
context-window
…ontent loads only when Claude actually uses one. Skills with `disable-model-invocation: true` are not in this list. They stay completely out of context until you invoke them with `/name`. After compac…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…inherited ones is not. * The per-session authentication tokens, the model and provider selection, and `CLAUDE_CODE_PROCESS_WRAPPER` itself all travel on the inherited environment, so a launcher that…
Manage costs effectively
Claude Code CLI · in the page
costs
…m spend limits, and reduce Claude Code costs with context management, model selection, extended thinking settings, and preprocessing hooks. Claude Code charges by API token consumption. For subscript…
Data usage
Claude Code CLI · in the page
data-usage
…you the choice to allow your data to be used to improve future Claude models. We will train new models using data from Free, Pro, and Max accounts when this setting is on (including when you use Claud…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…d agents * Custom output styles * Custom keybindings Authentication, model selection, built-in tools, and permissions work normally. If the problem disappears in safe mode, you've narrowed the cause…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…page you do not trust, the prompt is still inert: nothing reaches the model until you read what was filled in and press Enter. When the session opens, a warning line below the input box reads `Prompt…
Desktop application
Claude Code CLI · in the page
desktop
…message, choose the environment, project folder, permission mode, and model in the row under the prompt box: * **Environment**: use the environment selector, the first control in the row, to choose w…