claude-quickstarts / assistant-ui
CLAUDE.md18k starsChanged 2 months agoMITView on GitHub
A Next.js chat app. assistant-ui renders everything; one Managed Agents session per conversation runs the analyst, and lib/managed-agents/reducer.ts folds each session's event log into the messages assistant-ui renders. The sidebar is the session list. There is no database. Needs Node 22+, @anthropic-ai/sdk 0.109.0 or later (event_deltas + session event helpers), and @assistant-ui/react 0.14.27 or later (the defineToolkit/Tools API and approvals on useExternalStoreRuntime). Pull exact shapes from the /claude-api skill's shared/managed-agents-*.md docs.
- Reads credentials
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/chat-sdk/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
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
After the base app works, offer extensions: Ask which (if any) they want, then edit agents/spreadsheet-analyst.md and run a bare ant apply …
- Very specific: line 10
Multiagent red-team pass: add a multiagent: { type: "coordinator", agents: [...] } roster so the analyst hands its numbers to a toolless …
- Very specific: line 12
MCP connector: add an mcp_servers entry plus an mcp_toolset.
- Distinctive: line 28
Never use the "CMA" acronym.
- Very specific: line 29
Every route under app/api/sessions/[id]/ must pass the id through ownedSession() (lib/owned-session.ts) before touching the API.
- Very specific: line 30
Keep lib/managed-agents/reducer.ts pure: no fetch, no React, no clocks.
≈ “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
assistant-ui × Claude Managed Agents
A Next.js chat app. assistant-ui renders everything; one Managed Agents session per conversation runs the analyst, and lib/managed-agents/reducer.ts folds each session's event log into the messages assistant-ui renders. The sidebar is the session list. There is no database. Needs Node 22+, @anthropic-ai/sdk 0.109.0 or later (event_deltas + session event helpers), and @assistant-ui/react 0.14.27 or later (the defineToolkit/Tools API and approvals on useExternalStoreRuntime).
When the user asks to set this up, get it working, or debug it
- Invoke
/claude-apifirst. It is the source of truth for every SDK call inapp/api/and every field inagents/andenvironments/(agents, environments, sessions, events, files, resources). Don't guess field names; the beta surface moves. - Read
./skill.mdand walk the user through its Setup checklist step by step, then use its Gotchas and debugging table when something is off. It's written for exactly this. After the base app works, offer extensions. Ask which (if any) they want, then edit
agents/spreadsheet-analyst.mdand run a bareant apply --yes, which publishes the edit as a new version the next session picks up:- Multiagent red-team pass: add a
multiagent: { type: "coordinator", agents: [...] }roster so the analyst hands its numbers to a toolless reviewer. The handoff events (session.thread_created,agent.thread_message_sent/received) already arrive on the stream; the reducer currently ignores them, so this needs a rendering branch too. - Memory store: attach
resources: [{ type: "memory_store", ... }]at session create so the analyst remembers per-dataset conventions across chats. - MCP connector: add an
mcp_serversentry plus anmcp_toolset. MCP tools default toalways_ask, so they light up the same approval gate for free. ask_userhuman tool: a custom tool whose card renders buttons and answersuser.custom_tool_resultfrom the click (assistant-uiaddResult), instead of auto-answering likeshow_chart.
Pull exact shapes from the
/claude-apiskill'sshared/managed-agents-*.mddocs.- Multiagent red-team pass: add a
Commands
npm run dev— the app on http://localhost:3000 (binds localhost only)ant apply --yes agents environments— one-time provisioning of the agent + environment intoclaude-lock.json(ant 1.30 or later;--yesbecause you have no terminal for its prompt; it needsant auth loginor an exportedANTHROPIC_API_KEYand does not read.env)npm run typecheck—tsc --noEmitnpm run lint— eslint (the copy-incomponents/are ignored on purpose)npm test— the reducer's golden-turn test; run it whenever the event mapping changes
Conventions
- Name the Anthropic SDK client
client(const client = new Anthropic()), in code and in docs. - Never use the "CMA" acronym. Write "Managed Agents" or "Claude Managed Agents", and spell it out in identifiers and file names.
- Every route under
app/api/sessions/[id]/must pass the id throughownedSession()(lib/owned-session.ts) before touching the API. File downloads additionally check the file belongs to that session. Don't add a session-less file route. - Keep
lib/managed-agents/reducer.tspure: no fetch, no React, no clocks. That's what keeps it testable and keeps replay identical to live. components/assistant-ui/,components/ui/,hooks/, andlib/utils.tsare assistant-ui copy-in components (npx assistant-ui add ...). Regenerate them rather than hand-editing; put quickstart UI incomponents/tool-uis/andapp/.
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.

