claude-agent-sdk-demos
Claude Code SDK Demos
- 2.8k stars
- 438 forks
- 35 open issues
- Language: TypeScript
- License: no standard licence
- updated
Install
git clone https://github.com/anthropics/claude-agent-sdk-demos && cp claude-agent-sdk-demos/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
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.
12 items in this repository
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).
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
Transforms research findings into executive-ready briefings. Automatically activated when user mentions 'executive', 'briefing', 'C-suite', 'board', 'leadership', or 'presentation'.
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 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 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 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
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.8k GitHub stars and its last recorded update is dated 2026-08-27.
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 74/100 (tier: OK). 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 dated 2026-08-27, with 35 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.