Anthropic Chat Lab

0 / 0 steps

A teaching app for the Anthropic certifications: a simple TypeScript chat client over the Claude API, with a live log panel, example tools, and switchable orchestration patterns. Every file is commented with a plain-language overview of what it does.

How to use this plan. Work top to bottom. Each step is sized for under 30 minutes and ends with a done-check you can run or see. Tick the box when the check passes — your progress is saved in this browser, so open this file from the same path each time. If a step stalls, paste it back to Claude and ask for it to be split into 23a, 23b, and so on.

This plan sits in docs/ inside the project it describes. Every path in the steps below is relative to the project root — the folder above this one — and that is where you run every command.

Project root
anthropic-chat-lab\
Stack
Node + Express + vanilla TS
Model
claude-opus-5-5
Patterns
7 switchable
Tools
6 examples
Phases
10
PHASE 01

Project skeleton

Get a TypeScript project that compiles and runs before any API calls exist.

PHASE 02

First Claude call

Prove the API works from a script before wrapping it in a server.

PHASE 03

Server and static frontend

A page in the browser that can reach the server. No Claude yet.

PHASE 04

The log channel

Build logging before the features, so every feature after this is observable while you write it.

PHASE 05

Real chat, streaming

Claude's words reach the page, and the conversation survives more than one turn.

PHASE 06

Example tools

Six tools that each teach one idea. Build the registry first so adding the rest is quick.

PHASE 07

The tool-use loop

Write the loop by hand first — the certification tests whether you understand it, not whether you can call a helper.

PHASE 08

Orchestration patterns

Seven patterns behind one interface, so the dropdown can swap them at runtime.

PHASE 09

Certification topics

The remaining exam surface: server tools, caching, structured outputs, thinking.

PHASE 10

Teaching polish

Make it usable by someone who did not build it.

If a step stalls

Paste the step back and ask for a split. A step is worth splitting when any of these is true:

Steps 41, 53 and 54 are the likeliest candidates — loops and multi-call patterns have the most places to go wrong.