Claude API
What official Anthropic SDKs are available?
QUICK ANSWER
Anthropic officially maintains two developer libraries: the Python SDK (package: 'anthropic') and the TypeScript/JavaScript SDK (package: '@anthropic-ai/sdk').
Official Libraries
- Python Library: Install via
pip install anthropic. - TypeScript/JavaScript Library: Install via
npm install @anthropic-ai/sdk.
Both packages support auto-generated TypeScript definition types, synchronous and asynchronous execution, streaming, tool call parsers, and prompt caching.
Verified against: Anthropic SDK Release Registry