8 8
9本页面为您提供完整的、可运行的 Agent SDK 项目和指导性的 Claude Cookbook 食谱。这些应用程序位于 [`claude-agent-sdk-demos`](https://github.com/anthropics/claude-agent-sdk-demos) 仓库中,Python 食谱位于 [Claude Cookbook](https://platform.claude.com/cookbook) 中。9本页面为您提供完整的、可运行的 Agent SDK 项目和指导性的 Claude Cookbook 食谱。这些应用程序位于 [`claude-agent-sdk-demos`](https://github.com/anthropics/claude-agent-sdk-demos) 仓库中,Python 食谱位于 [Claude Cookbook](https://platform.claude.com/cookbook) 中。
10 10
11<h2 id="run-a-minimal-agent-first">11## 首先运行一个最小化的 agent
12 首先运行一个最小化的 agent
13</h2>
14 12
15如果您还没有使用 SDK 构建过任何东西,请在完整应用程序之前从以下其中一个开始:13如果您还没有使用 SDK 构建过任何东西,请在完整应用程序之前从以下其中一个开始:
16 14
18 16
19* [Hello World](https://github.com/anthropics/claude-agent-sdk-demos/tree/main/hello-world):当您想从仓库代码开始时要克隆的最小 TypeScript 项目17* [Hello World](https://github.com/anthropics/claude-agent-sdk-demos/tree/main/hello-world):当您想从仓库代码开始时要克隆的最小 TypeScript 项目
20 18
21<h2 id="explore-a-demo-application">19## 探索演示应用程序
22 探索演示应用程序
23</h2>
24 20
25[`claude-agent-sdk-demos`](https://github.com/anthropics/claude-agent-sdk-demos) 中的应用程序是本地开发的演示,从电子邮件客户端到多 agent 研究系统。克隆其形状与您正在构建的内容相匹配的演示。21[`claude-agent-sdk-demos`](https://github.com/anthropics/claude-agent-sdk-demos) 中的应用程序是本地开发的演示,从电子邮件客户端到多 agent 研究系统。克隆其形状与您正在构建的内容相匹配的演示。
26 22
27<h2 id="work-through-a-python-recipe">23## 完成 Python 食谱
28 完成 Python 食谱
29</h2>
30 24
31Claude Cookbook 的 Agent SDK 系列是一系列食谱,每个都是一个 Python 笔记本,从简单的研究 agent 逐步发展到复杂的多 agent 系统。每个笔记本都建立在前一个的基础上,引入新的概念和功能。从[单行研究 agent](https://platform.claude.com/cookbook/claude-agent-sdk-00-the-one-liner-research-agent) 开始并向前进行。25Claude Cookbook 的 Agent SDK 系列是一系列食谱,每个都是一个 Python 笔记本,从简单的研究 agent 逐步发展到复杂的多 agent 系统。每个笔记本都建立在前一个的基础上,引入新的概念和功能。从[单行研究 agent](https://platform.claude.com/cookbook/claude-agent-sdk-00-the-one-liner-research-agent) 开始并向前进行。
32 26