Vibeleaderboard
Index / agent
Visit docs.claude.com
Category
AI Agents
Rank
Pricing
Open Source
Type
AGENT
Builder
anthropics
Date

About

Anthropic's collection of demos for the Claude Agent SDK — reference implementations of agents, tools, and workflows.

What it does

A hands-on sampler for learning how Claude-driven applications behave beyond a basic prompt. Its examples span streaming chat, persistent conversations, tool permissions, browser-mediated questions, parallel research, email interaction, spreadsheet work, and document generation.

Why it's ranked here

The breadth makes this a useful orientation kit, especially because it shows both tiny scripts and complete browser flows. The strongest examples expose practical control points such as tool restrictions, pre-use hooks, streamed events, session resumption, and user approval. Its explicit local-only warning sharply limits its value as production guidance.

What's good

The examples teach through concrete contrasts. One shows the simplest streamed query, while another separates sending from streaming and preserves context across sessions. Browser demos connect model events to visible status updates over WebSockets. Tool controls include allowlists, denial paths, plan mode, and a hook that blocks script writes outside a designated directory.

Tradeoffs

Anthropic labels every application as demo code for local development, not production or scale. The email assistant is still in development, and the session-based examples use an unstable interface. Setup is fragmented across demo-specific instructions. Several examples grant powerful capabilities such as shell access, file writes, web search, or broad tool lists.

How to use it well

Use it when prototyping an SDK integration or comparing conversation, tool, session, and browser interaction patterns. Start with the small streaming and session examples, then borrow one complete flow matching your product. Treat permissions and error paths as teaching material. It does not cover production hardening, deployment, scaling, or operational support.

Technical notes+

hello-world/hello-world.ts calls query with maxTurns: 100, an allowedTools list, and a PreToolUse hook that blocks JavaScript or TypeScript writes outside agent/custom_scripts. hello-world-v2/v2-examples.ts demonstrates unstable_v2_createSession, unstable_v2_resumeSession, and unstable_v2_prompt, including multi-turn streaming and cost output. ask-user-question-previews/server.ts uses an HTTP server plus WebSocketServer, keeps pending browser answers in a request-keyed Map, restricts tools to AskUserQuestion, and enables HTML previews. resume-generator/resume-generator.ts permits web, shell, and file tools, loads project settings, and checks for a generated DOCX. simple-chatapp/vite.config.ts proxies API and WebSocket traffic to port 3001.

Observed

License
MIT sample code for demonstration purposes.
Primary language
TypeScript, with React TSX and JavaScript configuration files also shown.
Runtime prerequisites
Bun or Node.js 18+, plus Anthropic authentication.
Install surface
Clone the repository, choose a demo directory, then follow its dedicated setup instructions.
Interfaces
Command-line examples and browser applications using HTTP and WebSockets.
Support status
Provided as-is for local development only, not production deployment or operation at scale.
Application scope
Includes email, spreadsheets, introductory prompts, session flows, research, visual questions, chat, and DOCX resume generation.

Read from README.md, hello-world/hello-world.ts, excel-demo/postcss.config.js, excel-demo/tailwind.config.js, hello-world-v2/v2-examples.ts, simple-chatapp/vite.config.ts, email-agent/tailwind.config.js, simple-chatapp/postcss.config.js, simple-chatapp/tailwind.config.js, ask-user-question-previews/server.ts, resume-generator/resume-generator.ts, ask-user-question-previews/vite.config.ts, email-agent/client/App.tsx, email-agent/ccsdk/types.ts, email-agent/server/index.ts.

What it can do

  • Demonstrate agent implementation patterns

    Developer requirements and use casesReference code implementations of AI agents

  • Showcase tool integration workflows

    External APIs and services specificationsWorking examples of tool-enabled agents

  • Provide SDK usage examples

    Claude Agent SDK installationFunctional code samples and tutorials

  • Execute multi-step automated workflows

    Task definitions and parametersCompleted workflow results and logs

  • Generate custom agent templates

    Agent specifications and requirementsBoilerplate agent code structure

Tags

claudesdkanthropicdemosagents

Tech Stack

CSSEJSHTMLJavaScriptPythonTypeScript

Media

Claude Agent SDK Demos

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.