Skip to main content
ClaudeWave
anthropics avatar
anthropics

claude-agent-sdk-demos

View on GitHub

Claude Code SDK Demos

Subagents2.5k stars375 forksTypeScriptUpdated 3mo ago
Editor's note

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.

ClaudeWave Trust Score
77/100
Trusted
Passed
  • Recently active
  • Healthy fork ratio
  • Trusted owner (anthropics)
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 6/11/2026
Install as a Claude Code subagent
Method: Clone
Terminal
git clone https://github.com/anthropics/claude-agent-sdk-demos && cp claude-agent-sdk-demos/*.md ~/.claude/agents/
1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
2. Start a new Claude Code session to load the agents.
3. Delegate work to them with the Task/Agent tool or by name.

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.

Install

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).

Install

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.

Install
xlsxSkill

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

Install

Perform competitive analysis on companies or products

Install
fact-checkSlash Command

Fact-check claims or verify information

Install
market-trendsSlash Command

Research current market trends in a specific industry or domain

Install
researchSlash Command

Start a focused research session on any topic

Install
summarizeSlash Command

Summarize all current research findings

Install

Transforms research findings into executive-ready briefings. Automatically activated when user mentions 'executive', 'briefing', 'C-suite', 'board', 'leadership', or 'presentation'.

Install
pdfSkill

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.

Install
docxSkill

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

Install

Subagents overview

README preview not available. Visit the repo on GitHub for full documentation.

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.

Featured on ClaudeWave: anthropics/claude-agent-sdk-demos
[![Featured on ClaudeWave](https://claudewave.com/api/badge/anthropics-claude-agent-sdk-demos)](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