Claude Platform Docs
Claude Platform

开始 使用 Claude 构建

将 Claude 集成到您的应用程序中所需的一切。从第一次 API 调用到生产环境。

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)
平台

选择您的构建方式

选择与您的方法相匹配的开发者界面,以及适合您技术栈的基础设施。

Messages

直接访问模型。您构建每一轮对话、管理对话状态,并编写自己的工具循环。

Managed Agents

完全托管的智能体基础设施。在具有持久事件历史的有状态会话中部署和管理自主智能体。

Claude 也可在以下云平台上使用:

开发者旅程

从想法到生产

按照生命周期逐步进行,或直接跳转到您需要的内容。

模型

Claude 模型家族

为您的用例选择合适的模型。

Most capableResearchMulti-day tasks

For demanding reasoning and long-horizon agentic work

Complex projectsAgentsCoding

For complex agentic coding and enterprise work

Everyday tasksWritingCost-efficient

The best combination of speed and intelligence

FastestLowest costHigh volume

The fastest model with near-frontier intelligence

资源

继续学习

掌握 Claude 的互动课程。

代码示例与模式。

可部署的入门应用。

最新功能与更新。

您终端中的智能体编码助手。