Answer: For TypeScript, install the package with `npm install @anthropic-ai/claude-agent-sdk` (plus `npm install --save-dev tsx`). For Python, use `uv add claude-agent-sdk` with uv, or `pip install claude-agent-sdk` with pip. Status: Confirmed Entry: tool/claude-code/install-and-setup/install-agent-sdk Revision: 2 Digest: sha256:f83dbb5d84b7bbc0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:55Z Last changed: 2026-11-18T12:12:54Z (TypeScript dev dependency: — → npm install --save-dev tsx) Last verified: 2026-11-20T12:17:06Z Next check: 2026-11-21T12:17:06Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of TypeScript install command | npm install @anthropic-ai/claude-agent-sdk | [1] | 2026-11-20 TypeScript dev dependency | npm install --save-dev tsx | [1] | 2026-11-20 Python uv install command | uv add claude-agent-sdk | [1] | 2026-11-20 Python pip install command | pip install claude-agent-sdk | [1] | 2026-11-20 Sources: [1] Anthropic. "Quickstart". https://code.claude.com/docs/en/agent-sdk/quickstart.md Role: primary. Accessed: 2026-11-20T12:17:06Z Quote: "npm install @anthropic-ai/claude-agent-sdk" (Supports: TypeScript install command) Quote: "npm install --save-dev tsx" (Supports: TypeScript dev dependency) Quote: "uv add claude-agent-sdk" (Supports: Python uv install command) Quote: "pip install claude-agent-sdk" (Supports: Python pip install command) Published: 2026-11-20T03:54:49Z Snapshot SHA-256: 21749cf4c7bf98376902e28573ea9b220a780af8fa03ed97dd181e57c323e438 (captured 2026-11-17T12:21:13Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:21:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:17:06Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:06Z Last attempt: 2026-11-20T12:17:06Z Notes and limitations: Extracted automatically from a single official source (section "Setup"). Related: https://latestn.com/tool/claude-code/install-and-setup/install-code-intelligence-plugin How do I install a code intelligence plugin in Claude Code? https://latestn.com/tool/claude-code/install-and-setup/install-desktop-app How do I install the Claude desktop app on macOS, Windows, or Linux? https://latestn.com/tool/claude-code/install-and-setup/install-desktop-linux How do I install the Claude desktop app on Ubuntu or Debian? https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws How do I configure Claude Code to use Claude Platform on AWS? https://latestn.com/tool/claude-code/install-and-setup/enable-installed-plugin How do I enable an installed Claude Code plugin in my session? https://latestn.com/tool/claude-code/install-and-setup/google-cloud-anthropic-managed-prerequisites What are the prerequisites for using Claude Code with Claude Models on Google Cloud (Anthropic managed)? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:12:54Z | changed | TypeScript dev dependency: — → npm install --save-dev tsx | [1] 2026-11-18T12:12:54Z | changed | TypeScript tsx install: npm install --save-dev tsx → — | [1] 2026-11-13T03:02:55Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/install-agent-sdk/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-agent-sdk POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-agent-sdk with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/install-agent-sdk?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install the Claude Code Agent SDK for TypeScript or Python? Revision 2, last verified 2026-11-20T12:17:06Z. https://latestn.com/tool/claude-code/install-and-setup/install-agent-sdk (accessed 2026-11-21T09:59:16Z). @misc{LatestN_tool_claude_code_install_and_setup_install_agent_sdk_r2, title = {How do I install the Claude Code Agent SDK for TypeScript or Python?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/install-agent-sdk}}, note = {Revision 2; digest sha256:f83dbb5d84b7bbc0; last verified 2026-11-20T12:17:06Z; accessed 2026-11-21T09:59:16Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/install-and-setup/install-agent-sdk