🧩claude-agent-sdk Package
Also known as @anthropic-ai/claude-agent-sdk, pip install claude-agent-sdk, Claude Agent SDK claude-agent-sdk Package
The package you install to get the kit, from npm or PyPI.
Think of it like
It is like the box a toy comes in. You open the box to get the toy.
Example
Leo starts a new Python project for his agent. He runs pip install claude-agent-sdk and sets his API key.
Why it matters
The right name gets you the current SDK. An old name gets a package that no longer moves.
Definition
Example code
console
npm install @anthropic-ai/claude-agent-sdk
pip install claude-agent-sdkCommon mistake
Key takeaways
- 1npm for TypeScript. @anthropic-ai/claude-agent-sdk.
- 2PyPI for Python. claude-agent-sdk.
- 3Old names are gone. From before the rename.