1,334 pages for file.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…ing, and Claude Cowork, a desktop tool for non-developers to automate file and task management. Claude is also accessible via Claude in Chrome (a browsing agent), Claude in Excel (a spreadsheet agent)…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…on or under "settings": web search, deep research, Code Execution and File Creation, Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or featur…
claude-sonnet-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5-5
…on or under "settings": web search, deep research, Code Execution and File Creation, Artifacts, Search and reference past chats, generate memory from chat history. Personal tone, formatting, or featur…
overview
Claude Developer Platform · in the page
release-notes/system-prompts/overview
…ols={3}> <Card id="claude-fable-5-2" title="Claude Fable 5.2" icon="file" href="https://platform.claude.com/docs/en/release-notes/system-prompts/claude-fable-5-2" /> <Card id="claude-haiku-5-5" t…
overview
Claude Developer Platform · in the page
resources/overview
…3}> <Card title="Claude Fable 5.2 and Mythos 5.2 System Card" icon="file" href="https://www.anthropic.com/document/claude-fable-5-2-mythos-5-2-system-card"> Detailed documentation of Claude Fabl…
develop-tests
Claude Developer Platform · in the page
test-and-evaluate/develop-tests
…nloadOptions := hugot.NewDownloadOptions() downloadOptions.OnnxFilePath = "onnx/model.onnx" modelPath, err := hugot.DownloadModel(ctx, "sentence-transformers/all-MiniLM-L6-v2", "./models…
mitigate-jailbreaks
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks
…y of an inbound email, a fetched webpage, OCR output from an uploaded file, or the result of a tool call. An attacker who can influence that content might embed instructions that try to redirect Claud…
Use Claude Code with a screen reader
Claude Code CLI · in the page
accessibility
…`$env:CLAUDE_AX_SCREEN_READER = "1"`. Add that line to your shell profile to keep it for future shells. * For every session on the machine: add `"axScreenReader": true` to your user [settings file](h…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…laude admin console, your mobile device management (MDM) system, or a file on disk. The settings control which tools, commands, servers, and network destinations Claude can reach. This page walks thr…
Escalate hard decisions with the advisor tool
Claude Code CLI · in the page
advisor
…sorModel` setting**: configure a persistent default in your [settings file](https://code.claude.com/docs/en/settings.md) * **`--advisor` flag**: set the advisor for a single session at launch Each of…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…t, token usage, cost, and session ID. A quick question such as "what files are here?" might take two or three [turns](#turns-and-messages): one or two calling `Glob`, then one responding with the res…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…n as Claude Code, which means your SDK agents have access to the same filesystem-based features: project instructions (`CLAUDE.md` and rules), skills, hooks, and more. When you omit `settingSources`,…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…ption's page. An Agent SDK session reads configuration from settings files, environment variables, and the `options` object you pass when you start it. This page shows how to compose the `options` ob…
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…iple query() calls let totalSpend = 0; const prompts = [ "Read the files in src/ and summarize the architecture", "List all exported functions in src/auth.ts" ]; for (const prompt of prompts) {…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…exception. See [Handle errors](#handle-errors). | | Return images or files | Use `image` or `resource` blocks in the content array. See [Return images and resources](#return-images-and-resources). |…
Examples
Claude Code CLI · in the page
agent-sdk/examples
…with setup steps included. The agent finds and fixes bugs in a sample file. * [Hello World](https://github.com/anthropics/claude-agent-sdk-demos/tree/main/hello-world): a minimal TypeScript project t…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…before they execute, like destructive shell commands or unauthorized file access * **Log and audit** tool calls for compliance, debugging, or analytics * **Transform inputs and outputs** to inject cr…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…e` CLI subprocess that owns a shell, a working directory, and session files on disk. Hosting it is not like hosting a stateless API wrapper. Every running agent is a long-lived process tied to local s…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…igure MCP servers in code when calling `query()`, or in a `.mcp.json` file loaded via [`settingSources`](#from-a-config-file). ### Add a server in code Pass MCP servers directly in the `mcpServers`…
Migrate to Claude Agent SDK
Claude Code CLI · in the page
agent-sdk/migration-guide
…ources default This default was briefly changed in v0.1.0 to load no filesystem settings and then reverted, so no migration action is needed. **Current behavior:** Omitting `settingSources` on `quer…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…the system prompt and are covered on their own pages. ### CLAUDE.md files for project-level instructions CLAUDE.md files give Claude persistent project context and instructions. The SDK injects the…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…nv=OTEL_ENV) async for message in query( prompt="List the files in this directory", options=options ): print(message) asyncio.run(main()) ``` ```typescript TypeScript theme=…
Agent SDK overview
Claude Code CLI · in the page
agent-sdk/overview
…ompletes a task by planning its own steps and calling tools that read files, run commands, or edit code. The Agent SDK gives you the same tools, [agent loop](https://code.claude.com/docs/en/agent-sdk/…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…y rules** If a deny rule from `disallowed_tools` or from a [settings file the SDK loads](#rules-in-settings-files) matches, the call is denied and [`canUseTool`](https://code.claude.com/docs/en/agent…
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…rview.md). ## Loading plugins Load plugins by providing their local file system paths in your options configuration. The `type` field must be `"local"`, the only value the SDK accepts. The SDK suppo…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ol's text result inline in the conversation instead of saving it to a file, up to 500,000. Results that contain images aren't affected. A Claude Code setting rather than an MCP hint: the SDK sends it…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…What you'll do:** 1. Set up a project with the Agent SDK 2. Create a file with some buggy code 3. Run an agent that finds and fixes the bugs automatically ## Prerequisites * **Node.js 18.14+** or *…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…work controls Claude Code and the Agent SDK can execute code, access files, and interact with external services on your behalf. Unlike traditional software that follows predetermined code paths, the…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…ur sessions. By default, the SDK writes session transcripts to JSONL files under `~/.claude/projects/` on the local filesystem. A `SessionStore` adapter lets you mirror those transcripts to your own…
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
…Returning to a session means the agent has full context from before: files it already read, analysis it already performed, decisions it already made. You can ask a follow-up question, recover from an…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…that Claude invokes when relevant. Skills are packaged as `SKILL.md` files containing instructions, descriptions, and optional supporting resources. This page also covers [commands in Agent SDK sessi…
Stream responses in real-time
Claude Code CLI · in the page
agent-sdk/streaming-output
…ash", "Read"], ) async for message in query(prompt="List the files in my project", options=options): if isinstance(message, StreamEvent): event = message.event…
Send messages to a running agent
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…orking directory: ```typescript TypeScript theme={null} import { readFile } from "node:fs/promises"; import { query, type SDKUserMessage } from "@anthropic-ai/claude-agent-sdk"; let firstResponseDon…
Get structured output from agents
Claude Code CLI · in the page
agent-sdk/structured-outputs
…nd `date`) since git blame information might not be available for all files. The agent fills in what it can find and omits the rest. ```typescript TypeScript theme={null} import { query } from "@anth…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…laude.com/docs/en/agent-sdk/python.md#agentdefinition) references * **Filesystem-based**: define agents as markdown files in `.claude/agents/` directories. See [defining subagents as files](https://co…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…ript) or `permission_mode="acceptEdits"` (Python) to auto-approve the file edits that work produces. See [Permission modes](https://code.claude.com/docs/en/agent-sdk/permissions.md#permission-modes) f…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…k/plugins.md#troubleshooting) | | Claude not delegating to subagents, filesystem-based agents not loading | [Subagents troubleshooting](https://code.claude.com/docs/en/agent-sdk/subagents.md#troublesh…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…a single executable When you compile 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 w…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…eeds to check in with users. It might need permission before deleting files, or need to ask which database to use for a new project. Your application needs to surface these requests to users so Claude…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…when teammates can operate independently. For sequential tasks, same-file edits, or work with many dependencies, a single session or [subagents](https://code.claude.com/docs/en/sub-agents.md) are mor…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ctory. It still lists a session that has [moved into a worktree](#how-file-edits-are-isolated) under `~/projects/my-app/.claude/worktrees/`. Interactive sessions you have open in other terminals don'…
Run agents in parallel
Claude Code CLI · in the page
agents
…task would flood your main conversation with search results, logs, or file contents you won't reference again | | [Agent view](https://code.claude.com/docs/en/agent-view.md) | One screen to dispatch a…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…w the wizard prompts** Choose how you authenticate to AWS: an AWS profile detected from your `~/.aws` directory, an Amazon Bedrock API key, an access key and secret, or credentials already in your en…
Track team usage with analytics
Claude Code CLI · in the page
analytics
…users** to download complete contribution data for all users as a CSV file. The export includes all users, not just the top 10 displayed. ### PR attribution When contribution metrics are enabled, Cl…
Claude Approvals
Claude Code CLI · in the page
approvals
…GitHub repository needs, and where Claude may approve, with a policy file and a pull request check Claude Approvals is a check on GitHub pull requests that reports who still has to approve. It follo…
Claude Approvals classifiers
Claude Code CLI · in the page
approvals-classifiers
…de who has to approve a pull request by writing rules in your [policy file](https://code.claude.com/docs/en/approvals-policy.md). A classifier answers a question about the change, such as whether Code…
Claude Approvals and your GitHub rules
Claude Code CLI · in the page
approvals-github-rules
…ng a [policy](https://code.claude.com/docs/en/approvals-policy.md), a file in your repository. The check blocks a merge only where you make it a required check in GitHub, and your branch rules decide…
Work with Claude Approvals on a pull request
Claude Code CLI · in the page
approvals-pull-requests
…eports who still has to approve the pull request, following a [policy file](https://code.claude.com/docs/en/approvals-policy.md) in the repository. Where your repository requires the check, GitHub can…
Set up Claude Approvals
Claude Code CLI · in the page
approvals-setup
…still has to approve. To turn it on in a repository, commit a [policy file](https://code.claude.com/docs/en/approvals-policy.md) at `.claude/approvals.yml` in the repository's root, on its default bra…
Troubleshoot Claude Approvals
Claude Code CLI · in the page
approvals-troubleshooting
…a Claude Approvals check that didn't appear or doesn't pass, a policy file that Approvals refuses, and a classifier that gives no answer [Claude Approvals](https://code.claude.com/docs/en/approvals.m…