MCPcopy Index your code
hub / github.com/anthropics/cwc-workshops

github.com/anthropics/cwc-workshops @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
860 symbols 2,367 edges 230 files 106 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cwc-workshops

Workshop materials. Not maintained and not accepting contributions.

Materials from Anthropic-run Code with Claude workshops.

Workshops

  • rightmodel/Picking the Right Model: use a Claude Code SKILL to audit an LLM eval suite and sweep it across models and inference parameters (extended thinking, effort) to find the best quality-per-dollar and quality-per-second configuration.
  • agent-decomposition/Compose Multi-Agent Systems with Skills and MCP: decompose a 400-line-prompt inventory agent into skills + code execution + callable_agents on Claude Managed Agents, with evals to verify each step.
  • how-we-claude-code/How We Claude Code: a three-phase walkthrough of an AI-assisted product workflow — interview to spec, four divergent design explorations as static HTML, and a Vite + React app whose components emit a machine-readable DOM contract so an agent (or CI) can verify them at runtime.
  • ship-your-first-managed-agent/Ship Your First Managed Agent: a Streamlit incident dashboard with an offline SRE Agent chat panel. You bring it online by implementing seven small functions in agent.py, each a single Claude Managed Agents API call — until it can grep a 70k-line log in its sandbox, call your local tools, and name the bad commit.
  • agent-battle/Agent Battle: a 45-minute competition to configure a Claude Managed Agent — system prompt, skills, MCP servers, model — that drives a local game bot over MCP. Most diamonds wins, fewest tokens breaks ties; a fast --eval decision-probe loop lets you test config changes in ~30s before committing to a 5-minute run.
  • agents-that-remember/Agents That Remember: start with a Managed Agent that's visibly amnesiac across sessions, then layer in memory primitives one at a time — a memory store for cross-session persistence, then the Dreaming Service to consolidate past transcripts — going "goldfish to colleague" in 45 minutes.
  • eval-driven-agent-development/Eval-Driven Agent Development: iterate a PPTX-generating Managed Agent through six variants (naive → visual → typography → palette → density → QA-loop), scoring each against a 10-task suite with a two-layer grader (programmatic .pptx XML metrics + LLM-as-judge on rendered slides) so every prompt change is measured, not vibed.
  • production-ready-agent/Deal Desk: a chat-first UI over a multi-agent M&A research team on Claude Managed Agents — a coordinator delegates to four parallel research sub-agents, reads prior-deal lessons from a memory store, reaches Linear via MCP, and emits a graded investment thesis while the UI streams every event and gated tool call.
  • research-desk/The Research Desk: build an SEC-filings research desk on Claude Managed Agents behind a self-hosted Next.js console — say hello to a bare agent you wire up yourself, then promote that same agent (versioned update) into a head of research that dispatches one analyst session per ticker through a custom tool your server fulfils, with sub-agent specialists, an edgartools Skill, outcome-graded scorecards, a shared memory store, and a weekly memo deployment.

License

Apache License 2.0. See LICENSE.

Extension points exported contracts — how you extend this code

TaskResult (Interface)
One row of the scorecard — a task id and its value for every grader.
eval-driven-agent-development/src/eval-runner.ts
Props (Interface)
(no doc)
production-ready-agent/solution/components/ChatPanel.tsx
Props (Interface)
(no doc)
production-ready-agent/starter/components/ChatPanel.tsx
DispatchState (Interface)
(no doc)
research-desk/solutions/src/lib/orchestrator.ts
MemoryEntry (Interface)
(no doc)
research-desk/src/components/MemoryPanel.tsx
RunOptions (Interface)
(no doc)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts
Task (Interface)
(no doc)
eval-driven-agent-development/src/lib.ts
Thread (Interface)
(no doc)
production-ready-agent/solution/components/ChatPanel.tsx

Core symbols most depended-on inside this repo

check
called by 53
agent-battle/event/test/smoke.mjs
has
called by 33
agent-battle/harness/client.py
logEvent
called by 30
research-desk/src/lib/logger.ts
cn
called by 28
production-ready-agent/solution/lib/utils.ts
cn
called by 28
production-ready-agent/starter/lib/utils.ts
close
called by 26
agent-battle/harness/logging_.py
open
called by 23
research-desk/src/components/MemoryPanel.tsx
status
called by 21
agent-battle/event/lib/relay.mjs

Shape

Function 687
Interface 76
Method 74
Class 23

Languages

TypeScript69%
Python31%

Modules by API surface

agent-battle/bot/bot.js31 symbols
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx23 symbols
agent-decomposition/agents/cma.py23 symbols
agent-battle/my_agent.py20 symbols
agent-battle/event/lib/board.mjs20 symbols
agent-decomposition/agents/sandbox_tools.py18 symbols
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts17 symbols
agent-decomposition/agents/before/tools.py17 symbols
agent-battle/harness/client.py17 symbols
agent-decomposition/evals/graders.py16 symbols
production-ready-agent/starter/components/ChatPanel.tsx15 symbols
production-ready-agent/solution/components/ChatPanel.tsx15 symbols

For agents

$ claude mcp add cwc-workshops \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact