Claude 代码 SDK 演示
⚠️ IMPORTANT: These are demo applications by Anthropic. They are intended for local development only and should NOT be deployed to production or used at scale.
This repository contains multiple demonstrations of the Claude Agent SDK, showcasing different ways to build AI-powered applications with Claude.
An in-development IMAP email assistant that can:
Demonstrations of working with spreadsheets and Excel files using Claude.
A simple getting-started example to help you understand the basics of the Claude Agent SDK.
Examples for the V2 Session API (unstable_v2_*): separate send()/stream() instead of a single query() generator, with multi-turn conversation and session persistence patterns.
A multi-agent research system that coordinates specialized subagents to research topics and generate comprehensive reports:
A branding assistant that renders AskUserQuestion options as visual HTML preview cards instead of plain text labels:
previewFormat: "html" so each option includes a styled HTML mockupcanUseTool callback to a browser over WebSocketA React + Express chat UI backed by the SDK, showing a full conversation loop over WebSocket with streaming responses.
Generates a one-page .docx resume by web-searching a person's name (LinkedIn, GitHub, news) and assembling the findings.
Each demo has its own directory with dedicated setup instructions. Navigate to the specific demo folder and follow its README for setup and usage details.
git clone https://github.com/anthropics/claude-agent-sdk-demos.git
cd claude-agent-sdk-demos
cd email-agent # or excel-demo, or hello-world
These are demo applications provided as-is. For issues related to:
MIT - This is sample code for demonstration purposes.
暂无开放 Issues,或尚未同步最近议题。