Skip to content
简体中文

切换主题

// 开发 agent 应用

Claude Quickstarts(Anthropic 官方快速上手项目集)

Claude Quickstarts 是 Anthropic 官方以 MIT 许可证开源的示例项目合集,用于帮助开发者基于 Claude API 快速搭建可部署的应用。仓库收录客服 agent(接入知识库)、金融数据分析(对话式数据可视化)、Computer Use 演示(容器化桌面控制,支持 computer_toolset_20260801 工具集)、原生 macOS 的 Computer Use 最佳实践参考实现、基于 Playwright 的浏览器自动化演示、Browser/Computer Toolset 最小示例(Python 与 TypeScript)、基于 Claude Agent SDK 的自主编程 agent,以及十余个 Claude Managed Agents 示例(Slack、Linear、Sentry 集成,MCP Server,定时日报,知识库 Wiki 等)。每个子项目各有 README 与安装说明,一般流程为克隆仓库、进入对应目录、安装依赖、设置 Claude API Key 环境变量后运行。适合准备用 Claude API 开发 agent、computer use 或企业集成的开发者参考。

开源 维护中 开发者

一段话结论

Claude Quickstarts(Anthropic 官方快速上手项目集) 是Claude Quickstarts 是 Anthropic 官方以 MIT 许可证开源的示例项目合集,用于帮助开发者基于 Claude API 快速搭建可部署的应用。仓库收录客服 agent(接入知识库)、金融数据分析(对话式数据可视化)、Computer Use 演示(容器化桌面控制,支持 computer_toolset_20260801 工具集)、原生 macOS 的 Computer Use 最佳实践参考实现、基于 Playwright 的浏览器自动化演示、Browser/Computer Toolset 最小示例(Python 与 TypeScript)、基于 Claude Agent SDK 的自主编程 agent,以及十余个 Claude Managed Agents 示例(Slack、Linear、Sentry 集成,MCP Server,定时日报,知识库 Wiki 等)。每个子项目各有 README 与安装说明,一般流程为克隆仓库、进入对应目录、安装依赖、设置 Claude API Key 环境变量后运行。适合准备用 Claude API 开发 agent、computer use 或企业集成的开发者参考。

适合:想开发 agent 应用的开发者和团队。

01怎么开始

  1. 1先看官方快速上手(上方按钮)。
  2. 2按官方说明安装或注册。
  3. 3先拿一个小例子跑通,再接进项目。

02README(项目原文)

以下内容来自 anthropics/claude-quickstarts 的 README,许可证 MIT,版权归原作者。 查看原文 ↗

Claude Quickstarts

Claude Quickstarts is a collection of projects designed to help developers quickly get started with building applications using the Claude API. Each quickstart provides a foundation that you can easily build upon and customize for your specific needs.

Getting Started

To use these quickstarts, you'll need an Claude API key. If you don't have one yet, you can sign up for free at console.anthropic.com.

Available Quickstarts

Customer Support Agent

A customer support agent powered by Claude. This project demonstrates how to leverage Claude's natural language understanding and generation capabilities to create an AI-assisted customer support system with access to a knowledge base.

Go to Customer Support Agent Quickstart

Financial Data Analyst

A financial data analyst powered by Claude. This project demonstrates how to leverage Claude's capabilities with interactive data visualization to analyze financial data via chat.

Go to Financial Data Analyst Quickstart

Computer Use Demo

An environment and tools that Claude can use to control a desktop computer. This project demonstrates how to leverage the computer use capabilities of Claude, including support for the latest computer_toolset_20260801 toolset shape, where each computer action is a member tool the model calls by name.

Go to Computer Use Demo Quickstart

Computer Use Best Practices

A pedagogical, native-macOS reference implementation of a computer-use agent. Unlike the containerized Computer Use Demo, this project runs directly against the macOS desktop (run it in a VM!) and demonstrates common patterns for building more reliable and cost-effective computer-use agents: explicit tool definitions, correct image sizing and pruning, prompt caching, server-side compaction, batched tool calls, a sandboxed shell, and trajectory recording. It pairs with Anthropic's computer-use best-practices guide.

Go to Computer Use Best Practices Quickstart

Browser Use Demo

A complete reference implementation for browser automation powered by Claude. This project demonstrates how to give Claude the ability to navigate websites, inspect and interact with DOM elements, extract content, and fill forms using a custom Playwright-backed browser tool.

Go to Browser Use Demo Quickstart

Browser Toolset Quickstart

The minimal CDP example of Claude's browser toolset (browser_toolset_20260801), in Python and TypeScript. It has a small driver for one Chromium tab over the Chrome DevTools Protocol, a script that runs the driver with the tool runner, and a script that exercises it without a model. It shows the interface and is not production code.

Go to Browser Toolset Quickstart

Computer Toolset Quickstart

The minimal VNC example of Claude's computer toolset (computer_toolset_20260801), in Python and TypeScript. It has a small driver for one desktop over VNC (the RFB protocol, no VNC library), a script that runs the driver with the tool runner, and a script that exercises it without a model. It shows the interface and is not production code.

Go to Computer Toolset Quickstart

Autonomous Coding Agent

An autonomous coding agent powered by the Claude Agent SDK. This project demonstrates a two-agent pattern (initializer + coding agent) that can build complete applications over multiple sessions, with progress persisted via git and a feature list that the agent works through incrementally.

Go to Autonomous Coding Agent Quickstart

Managed Agents: Chat SDK

A browser chat app powered by Claude Managed Agents and Vercel's Chat SDK. This project demonstrates how to pair a persistent Managed Agents session per conversation with a chat surface: a research analyst researches with web search and streams its brief token by token while a live feed shows the tool calls. The same handler runs on Slack, Teams, Discord, Telegram, or WhatsApp by swapping the Chat SDK adapter.

Go to Managed Agents Chat SDK Quickstart

Managed Agents with CopilotKit and AG-UI

A personal finance assistant chat app built on a Claude Managed Agent and rendered with CopilotKit. This project demonstrates how to bridge a managed-agent session to the AG-UI protocol, stream replies token by token with event deltas, and render agent tool calls as interactive generative UI components in the chat.

Go to Managed Agents with CopilotKit Quickstart

Managed Agents: Daily Brief

A scheduled agent that reads your Slack channels and GitHub pull requests each weekday and posts one short brief to Slack, built on Claude Managed Agents. This project demonstrates a deployment defined entirely as files applied with ant apply (agent, environment, two memory stores, vault, cron deployment), a read-only preferences store next to a read-write state store, and run steps designed to fail well unattended: per-source bookmarks, a ledger against repeats, and a source that could not be read reported as unreadable rather than as a quiet day.

Go to Managed Agents Daily Brief Quickstart

Managed Agents: Knowledge Wiki

A deal-room knowledge wiki built with Claude Managed Agents. This project demonstrates how to distill a document corpus once into a versioned memory-store knowledge wiki — using one dynamic workflow run that extracts, resolves, and consolidates — then answer repeated analyst questions from the wiki with provenance on every fact and a lower per-question cost than raw-document search. The worked example is a real M&A data room fetched from public SEC EDGAR filings.

Go to Managed Agents Knowledge Wiki Quickstart

Managed Agents: Linear

An agent you can @mention or assign in Linear, backed by a Claude Managed Agent. This project demonstrates a stateless webhook bridge on Linear's Agent Platform: an AgentSessionEvent creates a Managed Agents session with the Linear session and organization IDs stored in session metadata, and the session.status_idled webhook reads that metadata back to post the reply as a comment. It installs through Linear OAuth with actor=app.

Go to Managed Agents Linear Quickstart

Managed Agents: MCP Server (TypeScript)

An MCP server that exposes the Claude Managed Agents Sessions API as nine tools. This project demonstrates how to let Claude Desktop, Claude Code, or claude.ai drive the agents already in your workspace: list them, start a session, send a message, and wait for the reply, over stdio or Streamable HTTP. One tool, wait_for_idle, turns the session's event stream into a single request/response call, and an agent allowlist limits what a bearer-token holder can reach.

Go to Managed Agents MCP Server (TypeScript) Quickstart

Managed Agents: Road Trip Planner

A national-park road trip planner built directly on a Claude Managed Agents session, in Next.js with no chat framework and no database. This project demonstrates four API features on one screen: token-by-token streaming with event_deltas on the session event stream, vault credentials injected at a specific request location (injection_location), a per-session model override with agent_with_overrides, and a multiagent coordinator that hands its draft to a reviewer agent in a session thread.

Go to Managed Agents Road Trip Planner Quickstart

Managed Agents: Sentry

A scheduled Sentry triage agent built on Claude Managed Agents. This project demonstrates a deployment that starts a session on a cron schedule with no host process, Sentry's Agent Plugin for guided setup, and a refreshable MCP OAuth credential persisted in a vault for issue triage and Seer root-cause analysis.

Go to Managed Agents Sentry Quickstart

Managed Agents: Sentry Autofix

A production error fixed by pull request, with Claude Managed Agents and the Sentry MCP server. This project demonstrates a webhook-driven session per Sentry issue: the agent reads the stack trace and Seer's root cause analysis, reproduces the bug with a failing test in a mounted GitHub repository, and pushes a branch, and the host opens the pull request through a custom tool so a person reviews every fix. Setup runs in Claude Code with Sentry's Agent Plugin. Credentials stay in a vault outside the sandbox, the sandbox has no route to the open internet, and each session has a hard spend cap.

Go to Managed Agents Sentry Autofix Quickstart

Managed Agents: Slack

A Slack bot backed by a Claude Managed Agent. This project demonstrates a stateless webhook bridge: an @mention creates a Managed Agents session with the channel and thread stored in session metadata, and the session.status_idled webhook reads that metadata back to post the reply in-thread. There is no database and no long-lived connection.

Go to Managed Agents Slack Quickstart

General Usage

Each quickstart project comes with its own README and setup instructions. Generally, you'll follow these steps:

  1. Clone this repository
  2. Navigate to the specific quickstart directory
  3. Install the required dependencies
  4. Set up your Claude API key as an environment variable
  5. Run the quickstart application

Explore Further

To deepen your understanding of working with Claude and the Claude API, check out these resources:

Contributing

We welcome contributions to the Claude Quickstarts repository! If you have ideas for new quickstart projects or improvements to existing ones, please open an issue or submit a pull request.

Community and Support

License

This project is licensed under the MIT License - see the LICENSE file for details.

03替代品与对比

并排对比 →
版本历史 · 收录依据 · 给 AI 读

给 AI 读

数据更新于:AI 软件库与热度 · 软件档案 / 需求 · 软件官方下载(北京时间)