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

983 pages for bash.

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

wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …one, and switch the CLI back with `ant profile activate default`: ```bash CLI ant auth login --profile admin --scope "org:admin" export ANTHROPIC_AUTH_TOKEN=$(ant auth print-credentials --profile adm… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …und web identity federation**. To enable it programmatically: ```bash python3 -c "import boto3; boto3.client('iam').enable_outbound_web_identity_federation()" ``` If this is not enab… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …dentity endpoints, `AADSTS500011` from the Entra token endpoint). ```bash # Create the app registration that represents the Claude API audience. APP_ID=$(az ad app create --display-name claude-api-fe… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …tach a dedicated service account to your service or instance: ```bash CLI gcloud run deploy my-service \ --service-account [email protected] ```… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …pip install anthropic python your_script.py ``` ```bash cURL JWT=$(cat /tmp/gha-jwt) ACCESS_TOKEN=$(curl -sS https://api.anthropic.com/v1/oauth/token \ -H "content-type: ap… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …find your cluster's issuer URL by reading its discovery document: ```bash cURL kubectl get --raw /.well-known/openid-configuration | jq -r .issuer ``` <Note> The mechanism on this page (projected… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …hat JWT to the Anthropic SDK as the identity token. <CodeGroup> ```bash cURL # 1. Request an access token from Okta (client_credentials with private_key_jwt). OKTA_JWT=$(curl -sS "https://acme.… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …ctors are typically the namespace and Kubernetes service account: ```bash CLI # Replace NODE_UID with the node's UID: # kubectl get node <node-name> -o jsonpath='{.metadata.uid}' spire-server entry… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …ompare each claim against your issuer and rule configuration: ```bash cURL jq -rR 'split(".")[1] | gsub("-";"+") | gsub("_";"/") | @base64d | fromjson' <<< "$JWT" ``` </Step> <Step t… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …NTHROPIC_IDENTITY_TOKEN_FILE` for each environment. <CodeGroup> ```bash cURL # 1. Acquire your IdP's JWT (platform-specific; see the per-provider guides). JWT=$(cat /var/run/secrets/anthropic.c… workspaces Claude Developer Platform · in the page manage-claude/workspaces …curl examples return one page. Create a workspace: <CodeGroup> ```bash cURL curl -X POST "https://api.anthropic.com/v1/organizations/workspaces" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H… agent-setup Claude Developer Platform · in the page managed-agents/agent-setup …nstallation and client setup. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2… budgets Claude Developer Platform · in the page managed-agents/budgets …p, go: `Budget`) field when you create the session: <CodeGroup> ```bash cURL curl -sS --fail-with-body https://api.anthropic.com/v1/sessions \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "ant… choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …ext. A program that you run, called a worker, carries out the agent's bash and file tool calls on your machines and sends each result back. It can also serve custom tools. The agent definition is the… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …it through the Files API for reuse across sessions. <CodeGroup> ```bash cURL curl -fsSL https://api.anthropic.com/v1/files \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 20… dreams Claude Developer Platform · in the page managed-agents/dreams …` (csharp, go: `Outputs`) array. ## Create a dream <CodeGroup> ```bash cURL curl -s https://api.anthropic.com/v1/dreams \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023… environments Claude Developer Platform · in the page managed-agents/environments …t). ## Create an environment <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/environments \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-versi… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …ne accumulator instance for each stream connection. <CodeGroup> ```bash cURL # The thread stream takes the same event_deltas[] parameter as the session stream. # Percent-encode the brackets (%5… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …m before you send events to avoid a race condition. <CodeGroup> ```bash cURL # Open the stream before you send the first event: only later events are delivered. curl --fail-with-body -sS -N \… files Claude Developer Platform · in the page managed-agents/files …atform.claude.com/docs/en/build-with-claude/files): <CodeGroup> ```bash cURL curl --fail-with-body -sS https://api.anthropic.com/v1/files \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthro… github Claude Developer Platform · in the page managed-agents/github …but no authentication token: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 20… mcp-connector Claude Developer Platform · in the page managed-agents/mcp-connector …`name` (csharp, go: `Name`). <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -sS --fail-with-body https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthr… memory Claude Developer Platform · in the page managed-agents/memory …g it what the store contains. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -s https://api.anthropic.com/v1/memory_stores \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-versio… migration Claude Developer Platform · in the page managed-agents/migration …| The session sandbox handles code execution, file operations, and bash. | | You decide when the loop is done.… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …ents that it can delegate to: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 20… onboarding Claude Developer Platform · in the page managed-agents/onboarding …atform.claude.com/docs/en/managed-agents/sessions): <CodeGroup> ```bash cURL curl -fsSL https://api.anthropic.com/v1/sessions \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version:… overview Claude Developer Platform · in the page managed-agents/overview …e Managed Agents gives Claude access to a set of built-in tools: * **Bash:** Run shell commands in the sandbox * **File operations:** Read, write, edit, glob, and grep files in the sandbox * **Web se… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …ultConfig.PermissionPolicy`): <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2… quickstart Claude Developer Platform · in the page managed-agents/quickstart …e ## Install the CLI <Tabs> <Tab title="Homebrew (macOS)"> ```bash brew install anthropics/tap/ant ``` </Tab> <Tab title="curl (Linux/WSL)"> For Linux environments, download t… reference Claude Developer Platform · in the page managed-agents/reference …agent.tool_use` | Agent calls a pre-built agent tool (bash, file operations, and so on). Carries `evaluated_permission` (java, php: `evaluatedPermission`; csharp, go: `EvaluatedPermiss… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …rants `iam:PassRole`. </Note> <CodeGroup defaultLanguage="CLI"> ```bash cURL curl --fail-with-body -sS "https://api.anthropic.com/v1/deployments?beta=true" \ -H "x-api-key: $ANTHROPIC_API_KEY… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …n each tool | `auto` on `bash`, `write`, `edit`, `web_fetch`, and MCP tools that only read data. `always_ask` instead on a tool if you cannot undo its chan… secure-deployment-risks Claude Developer Platform · in the page managed-agents/secure-deployment-risks …| | An open network lets data out | A bash command posts a file to an outside host | [… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …uickstart) first and note its agent ID. * **A Linux host** with `/bin/bash` at that exact path. The worker's bash tool invokes it directly, without consulting `PATH`. The TypeScript SDK additionally r… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …yphens, 1–128 characters. Cannot match a built-in agent tool such as `bash` or `read`, or use the reserved `mcp__` prefix or `ant__` prefix.… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …nt directory and make it writable by the user the worker runs as: ```bash sudo mkdir -p /mnt/memory && sudo chown "$USER" /mnt/memory ``` Do not create the per-store directories yourself. The worker… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …| <CodeGroup> ```bash cURL curl -sS "https://api.anthropic.com/v1/environments/$ANTHROPIC_ENVIRONMENT_ID/work/stats" \ -H "x-api-key: $ANTHRO… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …-------------------- | | All workers | A Linux host with `/bin/bash` at that exact path. The worker's bash tool invokes it directly, without consulting `PATH`. | | TypeScript SDK | `unzip`… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …can still change the local copy: commands the agent runs through the `bash` tool, and [custom tools](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-custom-tools) or MCP serve… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …tart: <CodeGroup exclude="shell:cURL, csharp, java, php, ruby"> ```bash CLI ant beta:worker poll --workdir /workspace ``` ```python Python import asyncio import contextlib import os… session-operations Claude Developer Platform · in the page managed-agents/session-operations …with-runs-open), or wait until every run has ended. <CodeGroup> ```bash cURL curl -sS --fail-with-body "https://api.anthropic.com/v1/sessions/$SESSION_ID" \ -H "x-api-key: $ANTHROPIC_API_KEY"… session-threads Claude Developer Platform · in the page managed-agents/session-threads …t all threads associated with a session as follows: <CodeGroup> ```bash cURL curl -fsS "https://api.anthropic.com/v1/sessions/$SESSION_ID/threads" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -… sessions Claude Developer Platform · in the page managed-agents/sessions …creates the session with the latest agent version. <CodeGroup> ```bash cURL curl -fsSL https://api.anthropic.com/v1/sessions \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version:… skills Claude Developer Platform · in the page managed-agents/skills …unique within your workspace. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -X POST "https://api.anthropic.com/v1/skills" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-versio… tools Claude Developer Platform · in the page managed-agents/tools …-------- | ------------------------------------------------------ | | Bash | `bash` | Run bash commands in a shell session | | Read | `read` | Read a file fro… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …csharp, go: `Configs`) array. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2… vaults Claude Developer Platform · in the page managed-agents/vaults …`) so you can map it back to your own user records. <CodeGroup> ```bash cURL curl --fail-with-body -sS https://api.anthropic.com/v1/vaults \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthr… Or, for Claude Mythos 5.1, which offers the same capabilities to verified organizations: Claude Developer Platform · in the page models/fable-5-1/migration-guide …nting) endpoint. Before (Claude Fable 5): <CodeGroup> ```bash cURL curl -sS https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key:… whats-new-fable-5-1 Claude Developer Platform · in the page models/fable-5-1/whats-new-fable-5-1 …th-claude/effort#changing-effort-mid-conversation). <CodeGroup> ```bash cURL # Effort-only system message: the new level takes effect from the next user turn. curl https://api.anthropic.com/v1/… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …by its type, because `thinking` blocks come first. <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-…
Feedback