Using the API
Client SDKs
We provide libraries in Python and TypeScript that make it easier to work with the Anthropic API.
Additional configuration is needed to use Anthropic’s Client SDKs through a partner platform. If you are using Amazon Bedrock, see this guide; if you are using Google Cloud Vertex AI, see this guide.
Python
Example:
Python
TypeScript
TypeScript library GitHub repo
While this library is in TypeScript, it can also be used in JavaScript libraries.
Example:
TypeScript