Claude Code SDK Demos
This official Anthropic repository collects eight TypeScript demo applications built on the Claude Agent SDK, intended strictly for local development and experimentation. The demos cover a range of patterns: a Hello World V2 example demonstrates the V2 Session API's separate `send()` and `stream()` calls with multi-turn session persistence; a Research Agent spawns parallel subagents to break a topic into subtopics, search the web, and synthesize findings into a report; an IMAP Email Agent handles inbox display and agentic search; a Resume Generator web-searches a person across LinkedIn, GitHub, and news sources to produce a `.docx` file; and an AskUserQuestion Previews demo renders Claude's clarifying-question options as styled HTML cards delivered to a browser over WebSocket. A Simple Chat App provides a React and Express frontend with streaming responses over WebSocket. All examples connect to Claude through the Agent SDK using an Anthropic API key and run on Bun or Node.js 18+, making the collection most useful to developers learning SDK integration patterns before building their own agents.
- ✓Recently active
- ✓Healthy fork ratio
- ✓Trusted owner (anthropics)
- ✓Documented (README)
- !No standard license detected
git clone https://github.com/anthropics/claude-agent-sdk-demos && cp claude-agent-sdk-demos/*.md ~/.claude/agents/12 items in this repository
Email inbox search specialist, takes in appropriate context for the email and a goal of what to search for. Return the answer to the question.
Creates user-specific one-click action templates that execute email operations when clicked in the chat interface. Use when user wants reusable actions for their specific workflows (send payment reminder to ACME Corp, forward bugs to engineering, archive old newsletters from specific sources).
Creates event-driven email listeners that monitor for specific conditions (like urgent emails from boss, newsletters to archive, package tracking) and execute custom actions. Use when user wants to be notified about emails, automatically handle certain emails, or set up email automation workflows.
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Transforms research findings into executive-ready briefings. Automatically activated when user mentions 'executive', 'briefing', 'C-suite', 'board', 'leadership', or 'presentation'.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
Subagents overview
What people ask about claude-agent-sdk-demos
What is anthropics/claude-agent-sdk-demos?
+
anthropics/claude-agent-sdk-demos is subagents for the Claude AI ecosystem. Claude Code SDK Demos It has 2.5k GitHub stars and was last updated 3mo ago.
How do I install claude-agent-sdk-demos?
+
You can install claude-agent-sdk-demos by cloning the repository (https://github.com/anthropics/claude-agent-sdk-demos) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is anthropics/claude-agent-sdk-demos safe to use?
+
Our security agent has analyzed anthropics/claude-agent-sdk-demos and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains anthropics/claude-agent-sdk-demos?
+
anthropics/claude-agent-sdk-demos is maintained by anthropics. The last recorded GitHub activity is from 3mo ago, with 33 open issues.
Are there alternatives to claude-agent-sdk-demos?
+
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Deploy claude-agent-sdk-demos to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/anthropics-claude-agent-sdk-demos)<a href="https://claudewave.com/repo/anthropics-claude-agent-sdk-demos"><img src="https://claudewave.com/api/badge/anthropics-claude-agent-sdk-demos" alt="Featured on ClaudeWave: anthropics/claude-agent-sdk-demos" width="320" height="64" /></a>More Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Production-ready platform for agentic workflow development.
The agent engineering platform.
🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.