# Claude Agent SDK Demos — 8 Official Example Projects > Official demo collection by Anthropic showcasing the Claude Agent SDK: email agent, research agent, resume generator, chat app, Excel processing, and more. MIT license, 2,100+ stars. ## Install Save as a script file and run: ## Quick Use ```bash git clone https://github.com/anthropics/claude-agent-sdk-demos.git cd claude-agent-sdk-demos # Pick a demo and follow its README: cd demos/hello-world npm install npm start ``` Requires: Node.js 18+ (or Bun), Anthropic API key. --- ## Intro Claude Agent SDK Demos is Anthropic's official collection of 8 demonstration projects showing how to build AI-powered applications with the Claude Agent SDK. With 2,100+ GitHub stars and MIT license, it includes practical examples like an email assistant (IMAP integration), multi-agent research system, resume generator from web searches, React chat app, and Excel file processor. Each demo is self-contained and designed for learning — copy the patterns into your own projects. Best for: developers learning the Claude Agent SDK who want working code examples to study and adapt. Works with: Claude Agent SDK, Node.js 18+, Bun, React. Setup time: under 5 minutes per demo. --- ## Claude Agent SDK Demos — Project Guide ### Demo Projects | Demo | What It Shows | Tech Stack | |------|--------------|------------| | **Hello World** | Basic SDK setup and agent invocation | TypeScript | | **Hello World V2** | V2 Session API, multi-turn conversations, session persistence | TypeScript | | **Email Agent** | IMAP inbox display, agentic email search, AI-powered email assistance | TypeScript, IMAP | | **Research Agent** | Multi-agent coordination, parallel agent spawning, report synthesis | TypeScript | | **Resume Generator** | Web searching, `.docx` document generation from search results | TypeScript | | **Excel Demo** | Spreadsheet file handling and analysis with Claude | TypeScript | | **Simple Chat App** | Full conversation loop, streaming responses over WebSocket | React, Express | | **AskUserQuestion Previews** | HTML rendering of options, WebSocket communication, plan mode steering | TypeScript | ### Featured: Research Agent The Research Agent demo showcases multi-agent orchestration: 1. **Coordinator Agent** receives a research topic 2. Spawns **3-5 specialized research sub-agents** in parallel 3. Each sub-agent searches different sources and angles 4. **Synthesis agent** combines findings into a structured report 5. Activity tracking shows real-time agent progress ### Featured: Email Agent A fully functional email assistant: - Connects to any IMAP email server - Displays inbox with AI-generated summaries - Searches emails using natural language queries - Drafts responses with context awareness ### Featured: Simple Chat App A complete full-stack chat application: - **Frontend**: React with real-time streaming UI - **Backend**: Express + WebSocket for streaming responses - **Features**: Conversation history, streaming tokens, tool use visualization ### How to Use These Demos 1. Clone the repository 2. Navigate to any demo directory 3. Copy `.env.example` to `.env` and add your Anthropic API key 4. Install dependencies and run 5. Study the code patterns and adapt for your projects ### FAQ **Q: What are Claude Agent SDK Demos?** A: 8 official demo projects by Anthropic showing how to build AI applications with the Claude Agent SDK — from basic setup to multi-agent research systems and full-stack chat apps. **Q: Are these production-ready?** A: No, these are designed for learning and prototyping. Study the patterns and adapt them for production with proper error handling and security. **Q: Is it free?** A: Yes, MIT license. You pay for Anthropic API usage. --- ## Source & Thanks > Created by [Anthropic](https://github.com/anthropics). Licensed under MIT. > > [claude-agent-sdk-demos](https://github.com/anthropics/claude-agent-sdk-demos) — ⭐ 2,100+ Thank you to Anthropic for providing these comprehensive SDK demonstrations. --- ## 快速使用 ```bash git clone https://github.com/anthropics/claude-agent-sdk-demos.git cd claude-agent-sdk-demos/demos/hello-world npm install && npm start ``` --- ## 简介 Claude Agent SDK Demos 是 Anthropic 官方的 8 个示例项目集合,展示如何使用 Claude Agent SDK 构建 AI 应用。拥有 2,100+ GitHub Star 和 MIT 许可证,包括邮件助手、多 Agent 研究系统、简历生成器、React 聊天应用和 Excel 处理器。 适合人群:学习 Claude Agent SDK 的开发者。 --- ## 示例项目 | 示例 | 展示内容 | |------|---------| | Hello World | 基础 SDK 设置 | | Email Agent | IMAP 邮件助手 | | Research Agent | 多 Agent 协调和并行研究 | | Resume Generator | 网页搜索 + .docx 生成 | | Simple Chat App | React + Express 聊天应用 | | Excel Demo | 电子表格处理 | ### FAQ **Q: 这是什么?** A: Anthropic 官方 8 个 Claude Agent SDK 示例项目。 **Q: 免费吗?** A: MIT 开源,按 API 用量付费。 --- ## 来源与感谢 > Created by [Anthropic](https://github.com/anthropics). Licensed under MIT. > > [claude-agent-sdk-demos](https://github.com/anthropics/claude-agent-sdk-demos) — ⭐ 2,100+ --- Source: https://tokrepo.com/en/workflows/5e902544-bf5c-4d78-85e9-85f4c2fe281e Author: Script Depot