Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,398 pages for -c.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

claude-sonnet-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-5 …tation on their website at 'https://docs.claude.com/en/docs/build-with-claude/prompt-engineering/overview'. **Claude has settings and features the person can use to customize their experience. Claude… claude-sonnet-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-6 …continue work started with it. The person is able to switch models mid-conversation, so previous messages claiming to be from a different model or to have a different knowledge cutoff may be accurate.… claude-sonnet-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5 …51001'. Above Opus sits Anthropic's new Mythos tier. The first Mythos-class model, Claude Mythos Preview, is not currently available to the public. It is currently being used by a small number of tru… claude-sonnet-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5-5 …u-5-5'. Above Opus sits Anthropic's new Mythos tier. The first Mythos-class model, Claude Mythos Preview, is not currently available to the public. It is currently being used by a small number of tru… overview Claude Developer Platform · in the page resources/overview …file" href="https://www.anthropic.com/document/claude-haiku-5-5-system-card"> Detailed documentation of Claude Haiku 5.5. </Card> <Card title="Claude Sonnet 5.5 System Card" icon="file" href=… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …ucture questions to allow for automated grading (for example, multiple-choice, string match, code-graded, LLM-graded). 3. **Prioritize volume over quality:** More questions with slightly lower signal… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …p reasons and fallback](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons). To retry refused requests on another Claude model, see [Refusals and fallback](https://platform.cl… mitigate-jailbreaks Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks …se [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) to constrain the response to a simple classification. Claude Haiku 5.5 runs [safety classifiers](https… reduce-hallucinations Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-hallucinations …ation:** Use [thinking](https://platform.claude.com/docs/en/build-with-claude/thinking) with `display: "summarized"`, and review the summarized reasoning in the `thinking` blocks when an answer looks… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …se terms, see the [glossary](https://platform.claude.com/docs/en/about-claude/glossary). *** ## How to reduce latency ### 1. Choose the right model One of the most direct ways to reduce latency is… reduce-prompt-leak Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-prompt-leak …to use system prompts](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#give-claude-a-role). ```text System wrap You are AnalyticsBot, an… Use Claude Code with a screen reader Claude Code CLI · in the page accessibility …on [announces conversation activity to your screen reader](/docs/en/vs-code.md#use-a-screen-reader) there without any setting. ## Turn on screen reader mode Pick the method that matches how often yo… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …[seat assignment](https://support.claude.com/en/articles/11845131-use-claude-code-with-your-team-or-enterprise-plan) for those steps. | Decision | What you're choosing | Reference | | :- | :- | :- |… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …the strongest model. For those, [switch the main model](/docs/en/model-config.md#setting-your-model) instead, or see [how the advisor compares with opusplan and subagents](#compare-with-related-featur… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …DK runs the same [execution loop that powers Claude Code](/docs/en/how-claude-code-works.md#the-agentic-loop): Claude evaluates your prompt, calls tools to take action, receives the results, and repea… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …n, see [Use Claude Code features in the SDK](/docs/en/agent-sdk/claude-code-features.md). ## Choose a model Unless the `model` option, your settings, or your environment selects a model, a new sessi… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …is [data residency pricing](https://platform.claude.com/docs/en/about-claude/pricing#data-residency-pricing). When a response's `usage` reports `inference_geo: "us"`, the SDK multiplies the list pric… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …description, schema, and handler. See [Create a custom tool](#create-a-custom-tool). | | Make a parameter optional | Declare it optional in the schema and apply the default in the handler. See [Make a… Examples Claude Code CLI · in the page agent-sdk/examples …ce reference implementation](https://platform.claude.com/docs/en/about-claude/use-case-guides/commerce-agents). ## Work through a Python recipe The Claude Cookbook's Agent SDK series is a sequence o… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …andbox configuration for [Python](/docs/en/agent-sdk/python.md#sandbox-configuration) or [TypeScript](/docs/en/agent-sdk/typescript.md#sandbox-configuration). ## Available hooks The SDK provides hoo… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …fests, see the [hosting cookbook](https://github.com/anthropics/claude-cookbooks/tree/main/claude_agent_sdk/hosting). If you don't need to run the agent loop itself on your own infrastructure, consid… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …ooks are in Claude Code", options: { mcpServers: { "claude-code-docs": { type: "http", url: "https://code.claude.com/docs/mcp" } }, allowedTools: ["mcp__claud… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …| | :- | :- | :- | | **Package Name (TS/JS)** | `@anthropic-ai/claude-code` | `@anthropic-ai/claude-agent-sdk` | | **Python Package** | `claude-code-sdk` | `claude-agent-sdk` | | **Documentation Loca… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …gent with a different surface, identity, or permission model, or a non-coding agent | Custom prompt string | Only what you write. You take responsibility for replacing the tool guidance and safety ins… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …lemetry for the Claude API](https://platform.claude.com/docs/en/manage-claude/opentelemetry). ## How telemetry flows from the SDK The Agent SDK runs the Claude Code CLI as a child process and commun… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …-system-prompts.md), [Configuration loading](/docs/en/agent-sdk/claude-code-features.md) | | Plugins | Package skills, agents, hooks, and MCP servers, and load them by local path | [Plugins](/docs/en/… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …v2.1.199 or later. [claude.ai connector](/docs/en/mcp.md#organization-controls-on-connector-tools) tools your organization has set to `ask` also leave the flow at this step. Every call falls through… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …sh_commands); // Example: ["compact", "context", "my-plugin:custom-command", "my-plugin:greet"] } } ``` ```python Python theme={null} import asyncio from claude_agent_sdk import query, ClaudeAg… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …lude the original session's [file checkpoints](/docs/en/agent-sdk/file-checkpointing.md), so you can't rewind it to a checkpoint captured before the fork. `fork_session()` raises: * `ValueError`: `s… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …y is bundled. [Install Claude Code natively](/docs/en/setup.md#install-claude-code). The Python SDK finds it on your `PATH`. > * The TypeScript SDK installs its binary through npm optional dependencie… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …is; see the [model overview](https://platform.claude.com/docs/en/about-claude/models/overview) and the system card for the model you deploy for evaluation details. Defense in depth is still good prac… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …maries`, `delete`, and `listSubkeys` if you want `listSessions()`, one-call metadata reads, `deleteSession()`, and subagent resume to work against the store. Entries passed to `append` are typed as `… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …anges the agent made, use [file checkpointing](/docs/en/agent-sdk/file-checkpointing.md). This guide covers how to pick the right approach for your app, the SDK interfaces that track sessions automat… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …ctories gets a [prefixed name](/docs/en/skills.md#how-a-skill-gets-its-command-name) when its name clashes with an enterprise, personal, or project skill, or one in a directory added earlier. List it… Stream responses in real-time Claude Code CLI · in the page agent-sdk/streaming-output …t from the [Claude API](https://platform.claude.com/docs/en/build-with-claude/streaming#event-types). Common event types include: | Event Type | Description | | :- | :- | | `message_start` | Start of… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …ple of continuing a conversation](/docs/en/agent-sdk/python.md#example-continuing-a-conversation). If an image block's `source` is missing or isn't an object, the SDK doesn't report an error. Claude… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …SON Schema limitations](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#json-schema-limitations). A schema that isn't valid JSON Schema fails the run at startup with an error… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …fresh unless the subagent is a [fork](/docs/en/sub-agents.md#fork-the-current-conversation). Either way, intermediate tool calls and results stay inside the subagent; only its final message returns t… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …yments hosted on Azure](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry#hosting-options), which reject it server-side: the SDK detects the rejection and loads tool de… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …riting` | [File checkpointing troubleshooting](/docs/en/agent-sdk/file-checkpointing.md#troubleshooting) | | Hook not firing, matcher not filtering as expected, hook timeout, tool blocked unexpectedly… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …mpile your application into a single-file executable with `bun build --compile`, the SDK cannot resolve the bundled CLI binary at runtime. `require.resolve` does not work inside the compiled executabl… TypeScript SDK V2 session API (removed) Claude Code CLI · in the page agent-sdk/typescript-v2-preview …e install pin below describe the same boundary. To install the last V2-compatible release, pin the major and minor version: ```bash theme={null} npm install @anthropic-ai/[email protected] ``` >… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …hooks) that returns the [`defer` decision](/docs/en/hooks#defer-a-tool-call-for-later) instead of waiting in the callback, so the process can exit and resume later from the persisted session. This gu… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …ere parallel exploration adds real value. See [use case examples](#use-case-examples) for full scenarios. The strongest use cases are: * **Research and review**: multiple teammates can investigate di… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …ng a new task and a row of keyboard hints.](https://mintcdn.com/claude-code/HDAmBwgbrZVk0pOt/images/agent-view-light.png?fit=max\&auto=format\&n=HDAmBwgbrZVk0pOt\&q=85\&s=d6905012bee31f3e6b3920b09c05d… Run agents in parallel Claude Code CLI · in the page agents …](/docs/en/workflows.md) | A script that runs many subagents and cross-checks their results, for work too big to coordinate one turn at a time or that needs more than a single pass | A job outgrows a… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …ediately after submission. See [Submit use case details](#1-submit-use-case-details) for AWS Organizations and [IAM configuration](#iam-configuration) for the permissions your role needs. **2. Start… Track team usage with analytics Claude Code CLI · in the page analytics …- | - | | Claude for Teams / Enterprise | [claude.ai/analytics/claude-code](https://claude.ai/analytics/claude-code) | Usage metrics, contribution metrics with GitHub integration, leaderboard, data e… Share session output as artifacts Claude Code CLI · in the page artifacts …a funnel chart, and a row of metric cards.](https://mintcdn.com/claude-code/kaHIYYMIYMYPxQg9/images/artifacts-viewer.png?fit=max\&auto=format\&n=kaHIYYMIYMYPxQg9\&q=85\&s=dbfd671cdb0d15f49f808b9e89778… Authentication Claude Code CLI · in the page authentication …Claude Code After [installing Claude Code](/docs/en/setup.md#install-claude-code), run `claude` in your terminal. Claude Code opens a browser window for you to log in on first launch, except in case…
Feedback