claude-quickstarts / chat-sdk
CLAUDE.md18k starsChanged 2 months agoMITView on GitHub
Long-running Node server (Hono): browser chat with a sessions sidebar (useChat → /api/chat) → Chat SDK web adapter onDirectMessage → one Managed Agents session per conversation, where the conversation ID is the session ID (no mapping, no database; the sidebar is sessions.list, transcript replay is sessions.events.list) → a held session event stream (opened with event_deltas token previews, always on) feeds each fragment back onto the same HTTP response while /api/activity streams the tool calls and thinking the page shows as…
Trending
More talk lately.about the whole repository
Who's talking about anthropics/claude-quickstarts
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A …”Bluesky · Oct 18, 2026 · 2 likes
- phananhtuan09/ai-agent-workflow“[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md”GitHub · Nov 2, 2026
- MoradDev/skills-unified“Upstream updates to review”GitHub · Nov 1, 2026
- melodic-software/claude-code-plugins“docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts”GitHub · Oct 31, 2026
- totalolage/deskohub-site“Run agent task evals against previews”GitHub · Oct 17, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub and Bluesky (23 times).
On GitHub · 22
- Nov 2, 2026[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md — phananhtuan09/ai-agent-workflow0 reactions
- Nov 1, 2026Upstream updates to review — MoradDev/skills-unified0 reactions
- Oct 31, 2026docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts — melodic-software/claude-code-plugins0 reactions · 4 comments
- Oct 17, 2026Run agent task evals against previews — totalolage/deskohub-site0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.anthropics.claude-quickstarts: init at 0-unstable-2026-08-21 — sudosubin/agents.nix0 reactions
17 more on GitHub
- Sep 23, 2026docs(managed_agents): move the self-hosted sandbox variants to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 21, 2026docs(managed_agents): move the Linear, road trip planner, and MCP server apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 15, 2026Factory.ai 深度调研报告 — Pines-Cheng/blog0 reactions
- Sep 13, 2026/automations: real product widgets + trademark disclaimer — clancybooher/peak-view-windows0 reactions · 1 comment
- Aug 2, 2026goal-maker/bhag: adopt Anthropic's long-run harness (immutable feature_list.json + append-only progress file + fixed bootstrap drill) — jackneil/claude-jacked0 reactions
- Feb 17, 2026Closing the loop - Infrastructure for Agentic Engineering — schemalabz/opencouncil0 reactions
- Feb 3, 2026[Feature] Add Session Persistence, Security Model, and Progress Tracking (v2.2.0) — jnPiyush/AgentX0 reactions · 4 comments
- Jan 13, 2026feat: Add support for ANTHROPIC_API_KEY authentication — nirmalarya/claude-harness0 reactions
- Jan 2, 2026Meta-Library Architecture: Transform Any AI Workflow Knowledge into Executable FSMs — JulesGosnell/claij0 reactions
- Jan 2, 2026Learn from Anthropic's Long-Running Harness Pattern — JulesGosnell/claij0 reactions
- Jan 1, 2026Does this work with Anthropics new Harness for long running agent strategy? — rubycatco/claude-agent-sdk-ruby0 reactions · 2 comments
- Dec 23, 2025Add a think tool — byronxlg/polyagent0 reactions
- Dec 11, 2025feat: Add Autonomous Claude Code Builder system — krzemienski/shannon-framework0 reactions · 2 comments
- Dec 6, 2025Clone Anthropic computer-use-demo into repository — matheus-rech/comp-use0 reactions · 2 comments
- Nov 10, 2025File Editor Tool — strands-agents/sdk-typescript0 reactions · 7 comments
On Bluesky · 1
- Oct 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A collection of projects designed to… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- managed-agents/assistant-ui/CLAUDE.mdCLAUDE.md
- managed-agents/copilot-kit-ag-ui/CLAUDE.mdCLAUDE.md
- managed-agents/daily-brief/CLAUDE.mdCLAUDE.md
- managed-agents/knowledge-wiki/CLAUDE.mdCLAUDE.md
- managed-agents/linear/CLAUDE.mdCLAUDE.md
- managed-agents/mcp-server-typescript/CLAUDE.mdCLAUDE.md
- managed-agents/roadtrip-planner/CLAUDE.mdCLAUDE.md
- managed-agents/self-hosted-sandboxes/CLAUDE.mdCLAUDE.md
- managed-agents/sentry/CLAUDE.mdCLAUDE.md
- managed-agents/slack/CLAUDE.mdCLAUDE.md
- first-runSkill
- verifySkill
- assistant-uiSkill
- chat-sdkSkill
- verifySkill
- knowledge-wikiSkill
- linearSkill
- mcp-server-typescriptSkill
- roadtrip-plannerSkill
- sentrySkill
- slackSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
After the base bot works, offer extensions: Ask the user which (if any) they want, then edit setup/agent-config.ts, setup/create-agent.ts, …
- Very specific: line 32
Re-enable bash: only with an approval surface.
- Very specific: line 36
Run the server with npm run dev and open http://localhost:3000.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chat SDK × Claude Managed Agents analyst
Long-running Node server (Hono): browser chat with a sessions sidebar (useChat → /api/chat) → Chat SDK web adapter onDirectMessage → one Managed Agents session per conversation, where the conversation ID is the session ID (no mapping, no database; the sidebar is sessions.list, transcript replay is sessions.events.list) → a held session event stream (opened with event_deltas token previews, always on) feeds each fragment back onto the same HTTP response while /api/activity streams the tool calls and thinking the page shows as a live feed. Each research turn closes with a kept tool-call trace (a fenced ```tools message the page renders as a collapsible list, re-derived from the event log on replay -- toolsFence in src/brief.ts) and a Chat SDK JSX card ("Brief ready", src/card.tsx) whose web fallback the page renders as a styled card.
sidebar ──▶ GET/POST /api/sessions ─────▶ /v1/sessions (list, create)
──▶ GET /api/history ───────────▶ /v1/sessions/{id}/events (replay)
browser (useChat) ──▶ POST /api/chat ──▶ onDirectMessage
│ conversation ID
│ = session ID ┌───────────────────┐
held HTTP response ◀── thread.post() ◀─────┴──▶ session ──────────▶│ analyst (opus) │
(the reply types itself out, │ │ web search, fetch │
then the "brief ready" card) │ └───────────────────┘
/api/activity (SSE) ◀── TurnHooks.activity ┘ event_start / event_delta,
(web_search: ..., thinking) agent.message, tool_useNeeds @anthropic-ai/sdk ≥ 0.109.0 (the first release with event_deltas and accumulateManagedAgentsEvent); streaming is gated per org while the 2026-07-01 update rolls out (skill.md, "Token previews are gated per org").
When the user asks to set this up, get it working, or debug it
- Invoke
/claude-apifirst. That skill loads the full Managed Agents API reference (agents, sessions, environments, events, webhooks, outcomes, multiagent, vaults, memory stores). Use it as the source of truth for any SDK call you write or edit. Don't guess field names. - Read
./skill.mdand walk the user through it step by step. It has the ordered checklist, every gotcha (the awaited handler and why fire-and-forget breaks here, preview reconciliation, sessions-as-state and theownedSessioncheck on browser-supplied conversation IDs,getUseras the single auth boundary for all four API routes, the never-stored card and its strict client-side validation, the streaming org gate, proxies reaping the held response), and the debugging table. After the base bot works, offer extensions. Ask the user which (if any) they want, then edit
setup/agent-config.ts,setup/create-agent.ts, and/orsrc/managed-agents.tsaccordingly:- Multiagent red-team pass: a second toolless reviewer agent on the analyst's roster (
multiagent: {type: "coordinator", agents: [...]}) that critiques every draft brief in a session thread; the handoff events (session.thread_created,agent.thread_message_sent/received) arrive on the same stream the bridge already reads, so they can feed the activity feed - Memory store: the analyst remembers the user's interests and past briefs across sessions (
resources: [{type: "memory_store", ...}]onsessions.create) - Outcomes: rubric-grade each brief before it sends (
user.define_outcomeevent instead ofuser.message) - GitHub repo mount: research an open-source repo from the inside (
resources: [{type: "github_repository", ...}]) - MCP tools: wire an external data MCP server (
mcp_servers+mcp_toolseton the agent, credentials via a vault,vault_idson the session) - Another surface: add the Slack, Teams, Discord, Telegram, or WhatsApp adapter next to the web one in
src/bot.ts. The bridge doesn't change (the JSX card starts rendering natively, though the fenced tool-call trace stays raw text -- filter or restyle it per surface), but those are webhook surfaces: the handler must ack in seconds and post later, so dispatch their turns fire-and-forget instead of awaiting, and the handler must create a session per new platform thread and keep the mapping -- the web shortcut of conversation-ID-as-session-ID doesn't travel (seeskill.md, "Two held streams") - Re-enable bash: only with an approval surface. It's disabled because the agent reads untrusted web pages (see
skill.md, "Why bash is off")
Pull exact shapes from the
/claude-apiskill'sshared/managed-agents-*.mddocs.- Multiagent red-team pass: a second toolless reviewer agent on the analyst's roster (
Run the server with npm run dev and open http://localhost:3000. One-time agent provisioning is npm run setup.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

