[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73877":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},73877,"claude-agent-sdk-demos","anthropics\u002Fclaude-agent-sdk-demos","anthropics","Claude Code SDK Demos","https:\u002F\u002Fdocs.claude.com\u002Fen\u002Fdocs\u002Fclaude-code\u002Fsdk\u002Fsdk-typescript",null,"TypeScript",2498,370,20,13,0,18,59,167,54,106.71,false,"main",true,[],"2026-06-12 04:01:12","# Claude Agent SDK Demos\n\n> ⚠️ **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.\n\nThis repository contains multiple demonstrations of the [Claude Agent SDK](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk\u002Foverview), showcasing different ways to build AI-powered applications with Claude.\n\n## Available Demos\n\n### 📧 [Email Agent](.\u002Femail-agent)\nAn in-development IMAP email assistant that can:\n- Display your inbox\n- Perform agentic search to find emails\n- Provide AI-powered email assistance\n\n### 📊 [Excel Demo](.\u002Fexcel-demo)\nDemonstrations of working with spreadsheets and Excel files using Claude.\n\n### 👋 [Hello World](.\u002Fhello-world)\nA simple getting-started example to help you understand the basics of the Claude Agent SDK.\n\n### 🔄 [Hello World V2](.\u002Fhello-world-v2)\nExamples for the V2 Session API (`unstable_v2_*`): separate `send()`\u002F`stream()` instead of a single `query()` generator, with multi-turn conversation and session persistence patterns.\n\n### 🔬 [Research Agent](.\u002Fresearch-agent)\nA multi-agent research system that coordinates specialized subagents to research topics and generate comprehensive reports:\n- Breaks research requests into subtopics\n- Spawns parallel researcher agents to search the web\n- Synthesizes findings into detailed reports\n- Demonstrates detailed subagent activity tracking\n\n### 🎨 [AskUserQuestion Previews](.\u002Fask-user-question-previews)\nA branding assistant that renders AskUserQuestion options as visual HTML preview cards instead of plain text labels:\n- Opts in to `previewFormat: \"html\"` so each option includes a styled HTML mockup\n- Round-trips questions from the SDK's `canUseTool` callback to a browser over WebSocket\n- Demonstrates plan mode steering Claude toward clarifying questions before acting\n\n### 💬 [Simple Chat App](.\u002Fsimple-chatapp)\nA React + Express chat UI backed by the SDK, showing a full conversation loop over WebSocket with streaming responses.\n\n### 📄 [Resume Generator](.\u002Fresume-generator)\nGenerates a one-page `.docx` resume by web-searching a person's name (LinkedIn, GitHub, news) and assembling the findings.\n\n## Quick Start\n\nEach demo has its own directory with dedicated setup instructions. Navigate to the specific demo folder and follow its README for setup and usage details.\n\n\n## Prerequisites\n\n- [Bun](https:\u002F\u002Fbun.sh) runtime (or Node.js 18+)\n- An Anthropic API key ([get one here](https:\u002F\u002Fconsole.anthropic.com))\n\n## Getting Started\n\n1. **Clone the repository**\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-agent-sdk-demos.git\ncd claude-agent-sdk-demos\n```\n\n2. **Choose a demo and navigate to its directory**\n```bash\ncd email-agent  # or excel-demo, or hello-world\n```\n\n3. **Follow the demo-specific README** for setup and usage instructions\n\n## Resources\n\n- [Claude Agent SDK Documentation](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk)\n- [API Reference](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk\u002Fapi-reference)\n- [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fclaude-agent-sdk-demos\u002Fissues)\n\n## Support\n\nThese are demo applications provided as-is. For issues related to:\n- **Claude Agent SDK**: [SDK Documentation](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk)\n- **Demo Issues**: [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fsdk-demos\u002Fissues)\n- **API Questions**: [Anthropic Support](https:\u002F\u002Fsupport.anthropic.com)\n\n## License\n\nMIT - This is sample code for demonstration purposes.\n","该项目是Claude Agent SDK的示例集合，使用TypeScript编写，旨在展示如何利用Claude构建多种AI驱动的应用程序。核心功能包括通过IMAP协议管理电子邮件、处理Excel文件、进行多轮对话和会话持久化、协调多个子代理完成研究任务等。技术特点上，项目采用最新的Session API V2版本，并支持WebSocket实现流式响应。适用于需要快速了解并上手Claude Agent SDK开发的开发者，特别适合那些希望在本地环境中探索AI助手能力如邮件助手、研究助手以及聊天应用构建的人士。请注意，这些示例仅供本地开发测试，不宜直接部署到生产环境或大规模使用。",2,"2026-06-11 03:47:46","high_star"]