Everything you need to integrate Claude into your applications. From first API call to production.
import anthropic
client = anthropic.Anthropic()
message = client.messages.create(
model="claude-opus-5",
max_tokens=1024,
messages=[{
"role": "user",
"content": "Hello, Claude"
}]
)
for block in message.content:
if block.type == "text":
print(block.text)Pick the developer surface that matches your approach, and the infrastructure that fits your stack.
Direct model access. You construct every turn, manage conversation state, and write your own tool loop.
Fully managed agent infrastructure. Deploy and manage autonomous agents in stateful sessions with persistent event history.
Claude is also available on these cloud platforms:
Follow the lifecycle or jump to what you need.
Choose the right model for your use case.
Highest capability for the most demanding reasoning and long-horizon agentic work.
Interactive courses to master Claude.
Code samples and patterns.
Deployable starter apps.
Latest features and updates.
An agentic coding assistant in your terminal.