American artificial intelligence corporation

Anthropic PBC is an American artificial intelligence (AI) company founded in 2021. It has developed a family of large language models (LLMs) named Claude. The company researches and develops AI to "study … Wikipedia
Factsheet
Company type Private
Founded 2021; 4 years ago (2021)
Factsheet
Company type Private
Founded 2021; 4 years ago (2021)
🌐
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
import os from anthropic import Anthropic client = Anthropic( api_key=os.environ.get("ANTHROPIC_API_KEY"), # This is the default and can be omitted ) message = client.messages.create( max_tokens=1024, messages=[ { "role": "user", "content": "Hello, Claude", } ], model="claude-sonnet-4-5-20250929", ) print(message.content) While you can provide an api_key keyword argument, we recommend using python-dotenv to add ANTHROPIC_API_KEY="my-anthropic-api-key" to your .env file so that your API Key is not stored in source control.
Starred by 2.5K users
Forked by 410 users
Languages   Python
🌐
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
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; if you are using Microsoft Foundry, see this guide. Python library GitHub repo Requirements: Python 3.8+ Installation:
🌐
Anthropic
docs.anthropic.com › en › docs › quickstart
Quickstart
An Anthropic Console account · An API key · cURL · cURL · Python · Python · TypeScript · TypeScript · Java · Java · Now that you have made your first Claude API request, it's time to explore what else is possible: Working with Messages · Learn common patterns for the Messages API.
🌐
PyPI
pypi.org › project › anthropic › 0.3.9
Anthropic Python API Library
The Anthropic Python library provides convenient access to the Anthropic REST API from any Python 3.7+ application.
      » pip install anthropic
    
Published   Aug 12, 2023
Version   0.3.9
🌐
GitHub
github.com › anthropics
Anthropic · GitHub
November 17, 2025 - Python 12.8k 2.1k · Showing 10 of 59 repositories · anthropic-sdk-go Public · Access to Anthropic's safety-first language model APIs via Go · anthropics/anthropic-sdk-go’s past year of commit activity · Go 661 MIT 83 25 11 Updated · Dec 23, 2025 · anthropic-sdk-php Public ·
🌐
PyPI
pypi.org › project › anthropic › 0.2.8
Anthropic Python SDK
Anthropic, PBC. ... This python repo provides access to Anthropic's safety-first language model APIs.
      » pip install anthropic
    
Published   May 08, 2023
Version   0.2.8
Find elsewhere
🌐
YouTube
youtube.com › watch
Anthropic Claude 3 API with Python - YouTube
In this video, I'll demonstrate how to set up the Anthropic API, generate text using text prompts, and explore the vision capabilities of Anthropic's Claude ...
Published   April 10, 2024
🌐
Anthropic
docs.anthropic.com › claude › reference › client-sdks
Client SDKs - Claude - Anthropic
Requirements: Python 3.8+ Installation: pip install anthropic · TypeScript library GitHub repo · While this library is in TypeScript, it can also be used in JavaScript libraries. Installation: npm install @anthropic-ai/sdk · Java library GitHub repo · Requirements: Java 8 or later ·
🌐
Pipedream
pipedream.com › apps › python › integrations › anthropic
Integrate the Python API with the Anthropic (Claude) API - Pipedream
Below is an example of using Python ... ... The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support...
🌐
LinkedIn
linkedin.com › posts › zhenwang_anthropic-claude-tokenizer-activity-7067072872019619840-hZ-7
Zhen Wang on LinkedIn: #anthropic #claude #tokenizer #llm
May 24, 2023 - Anthropic's tokenizer for Claude There's surprisingly little documentation online about the tokenizer of Claude, Anthropic's flagship large language model. Without such information and API support, it's quite hard to count tokens and calculate API cost. So I delved into one of Anthropic's code repositories (anthropic-sdk-python) and figured out how the tokenizer works.
🌐
Medium
tmmtt.medium.com › prompt-engineering-with-anthropic-api-361852b30eac
Prompt engineering with Anthropic API | Teemu Maatta | Medium
April 5, 2023 - I will help to get started with the Anthropic API, models available, getting started with the API and few prompt engineering examples.
🌐
DataCamp
datacamp.com › tutorial › getting-started-with-the-claude-2-and-the-claude-2-api
Getting Started with the Claude 2 and Anthropic API | DataCamp
December 11, 2023 - The Python SDK provides convenient access to Anthropic's powerful conversational AI assistant Claude 2, enabling developers to easily integrate its advanced natural language capabilities into a wide range of applications.